Premier commit
This commit is contained in:
commit
2990a71cd8
1
vim-conf/bundle/Vundle.vim
Submodule
1
vim-conf/bundle/Vundle.vim
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit b255382d6242d7ea3877bf059d2934125e0c4d95
|
1
vim-conf/bundle/clang_complete
Submodule
1
vim-conf/bundle/clang_complete
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit d866f31a6b1cfc725dd015293e0a275a6ae9beb0
|
1
vim-conf/bundle/fzf.vim
Submodule
1
vim-conf/bundle/fzf.vim
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit dc71692255b62d1f67dc55c8e51ab1aa467b1d46
|
1
vim-conf/bundle/nerdtree
Submodule
1
vim-conf/bundle/nerdtree
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit fc85a6f07c2cd694be93496ffad75be126240068
|
1
vim-conf/bundle/onedark.vim
Submodule
1
vim-conf/bundle/onedark.vim
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit b6b5ffe31a195a3077338d7a506b905e4a51590f
|
1
vim-conf/bundle/supertab
Submodule
1
vim-conf/bundle/supertab
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit f0093ae12a9115498f887199809a6114659fc858
|
1
vim-conf/bundle/undotree
Submodule
1
vim-conf/bundle/undotree
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 485f01efde4e22cb1ce547b9e8c9238f36566f21
|
1
vim-conf/bundle/vim-colorschemes
Submodule
1
vim-conf/bundle/vim-colorschemes
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit fd8f122cef604330c96a6a6e434682dbdfb878c9
|
1
vim-conf/bundle/vim-devnotes
Submodule
1
vim-conf/bundle/vim-devnotes
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 09f1bd0e468584e7770986a1a089e1a9b6bf3235
|
1
vim-conf/bundle/vim-numbertoggle
Submodule
1
vim-conf/bundle/vim-numbertoggle
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 075b7478777e694fbac330ee34a74590dad0fee1
|
1
vim-conf/bundle/vim-polyglot
Submodule
1
vim-conf/bundle/vim-polyglot
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit bc8a81d3592dab86334f27d1d43c080ebf680d42
|
3
vim-conf/help/aide-arduino
Normal file
3
vim-conf/help/aide-arduino
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Aide pour arduino :
|
||||||
|
|
||||||
|
|
3
vim-conf/help/aide-esp32
Normal file
3
vim-conf/help/aide-esp32
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Aide pour ESP32 :
|
||||||
|
|
||||||
|
|
9
vim-conf/vimscode.sh
Executable file
9
vim-conf/vimscode.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ "$1" = '-a' ] || [ "$1" = '-arduino' ] ; then
|
||||||
|
vim -p $2 ~/.vim/help/aide-arduino
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$1" = '-e' ] || [ "$1" = '-esp' ] ; then
|
||||||
|
vim -p $2 ~/.vim/help/aide-esp32
|
||||||
|
fi
|
72
vimrc-conf
Normal file
72
vimrc-conf
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
set nocompatible " be iMproved, required
|
||||||
|
filetype off " required
|
||||||
|
|
||||||
|
set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
|
call vundle#begin()
|
||||||
|
Plugin 'VundleVim/Vundle.vim'
|
||||||
|
|
||||||
|
"Plugins installés depuis Vim Awesome
|
||||||
|
Plugin 'preservim/nerdtree'
|
||||||
|
Plugin 'junegunn/fzf.vim'
|
||||||
|
Plugin 'jeffkreeftmeijer/vim-numbertoggle'
|
||||||
|
Plugin 'sheerun/vim-polyglot'
|
||||||
|
Plugin 'rip-rip/clang_complete'
|
||||||
|
Plugin 'jodosha/vim-devnotes'
|
||||||
|
Plugin 'joshdick/onedark.vim'
|
||||||
|
Plugin 'mbbill/undotree'
|
||||||
|
Plugin 'flazz/vim-colorschemes'
|
||||||
|
Plugin 'ervandew/supertab'
|
||||||
|
|
||||||
|
call vundle#end() " required
|
||||||
|
filetype plugin indent on " required
|
||||||
|
|
||||||
|
"Parametre de vim
|
||||||
|
syntax on
|
||||||
|
set smartindent
|
||||||
|
set shiftround
|
||||||
|
set wildmenu
|
||||||
|
set cursorline
|
||||||
|
set hlsearch
|
||||||
|
set mouse=a
|
||||||
|
set termwinsize=10x150
|
||||||
|
|
||||||
|
"Numérotation avec numbertoggle
|
||||||
|
set number relativenumber
|
||||||
|
|
||||||
|
"Theme vim
|
||||||
|
"colorscheme onedark "autre theme vim
|
||||||
|
colorscheme space-vim-dark
|
||||||
|
|
||||||
|
"Language vim
|
||||||
|
let g:polyglot_enabled = ['sh', 'git', 'blade','scss','html5']
|
||||||
|
|
||||||
|
"Raccourcis Note
|
||||||
|
nmap <F4> :call DevNotes()<CR>
|
||||||
|
|
||||||
|
"Raccourcis NerdTree
|
||||||
|
nnoremap <F3> :NERDTreeFocus<CR>
|
||||||
|
nnoremap <F3> :NERDTreeToggle<CR>
|
||||||
|
|
||||||
|
"Raccourcis historique
|
||||||
|
nnoremap <F5> :UndotreeToggle<CR>
|
||||||
|
|
||||||
|
"Raccourcis terminale
|
||||||
|
nmap <F6> :bot term<CR>
|
||||||
|
|
||||||
|
"Raccourci vers une recherche duckduckgo
|
||||||
|
vmap g :<C-U> !firefox "https://duckduckgo.com/?q=<cword>&t=newext&atb=v372-6&ia=web" >& /dev/null <CR><CR>
|
||||||
|
|
||||||
|
"Raccourci vers aide vim
|
||||||
|
nmap <F9> :!elinks https://agreugr.eu<CR>
|
||||||
|
|
||||||
|
"Raccourci onglet
|
||||||
|
nmap <F7> :tabnew<CR>
|
||||||
|
nmap <F8> :tabnext<CR>
|
||||||
|
|
||||||
|
"Raccourci plugin installer
|
||||||
|
nmap œ :PluginList<CR>
|
||||||
|
|
||||||
|
"Raccourci au lancement de vim
|
||||||
|
|
||||||
|
au VimEnter *.cpp :NERDTreeFocus
|
||||||
|
au VimEnter *.cpp :bot term
|
Loading…
Reference in a new issue