informatique:linux:vimrc_ide
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| informatique:linux:vimrc_ide [2024/06/24 07:59] – admin | informatique:linux:vimrc_ide [2024/06/24 08:02] (Version actuelle) – admin | ||
|---|---|---|---|
| Ligne 2: | Ligne 2: | ||
| " Load plugins | " Load plugins | ||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| + | | ||
| set nocompatible | set nocompatible | ||
| filetype off | filetype off | ||
| + | | ||
| " Set the runtime path to include Vundle and initialize | " Set the runtime path to include Vundle and initialize | ||
| set rtp+=~/ | set rtp+=~/ | ||
| + | | ||
| " Plugins will be downloaded under the specified directory. | " Plugins will be downloaded under the specified directory. | ||
| call vundle# | call vundle# | ||
| + | | ||
| " Let Vundle manage Vundle, required | " Let Vundle manage Vundle, required | ||
| Plugin ' | Plugin ' | ||
| + | | ||
| " Colorschemes | " Colorschemes | ||
| Plugin ' | Plugin ' | ||
| Ligne 23: | Ligne 23: | ||
| Plugin ' | Plugin ' | ||
| Plugin ' | Plugin ' | ||
| + | | ||
| " PloyGlot | " PloyGlot | ||
| Plugin ' | Plugin ' | ||
| + | | ||
| " Auto Pairs | " Auto Pairs | ||
| Plugin ' | Plugin ' | ||
| + | | ||
| " NERDTree | " NERDTree | ||
| Plugin ' | Plugin ' | ||
| + | | ||
| " Tagbar | " Tagbar | ||
| Plugin ' | Plugin ' | ||
| + | | ||
| " ctrlsf.vim | " ctrlsf.vim | ||
| Plugin' | Plugin' | ||
| + | | ||
| " vim-fswitch | " vim-fswitch | ||
| Plugin ' | Plugin ' | ||
| + | | ||
| " vim-protodef | " vim-protodef | ||
| Plugin ' | Plugin ' | ||
| + | | ||
| " List ends here. Plugins become visible to Vim after this call. | " List ends here. Plugins become visible to Vim after this call. | ||
| call vundle# | call vundle# | ||
| filetype plugin indent on | filetype plugin indent on | ||
| - | + | | |
| + | |||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| " auto-pairs configuration | " auto-pairs configuration | ||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| + | | ||
| let g: | let g: | ||
| - | + | | |
| + | |||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| " NERDTree configuration | " NERDTree configuration | ||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| + | | ||
| let NERDTreeShowBookmarks = 1 | let NERDTreeShowBookmarks = 1 | ||
| let NERDTreeShowHidden = 1 | let NERDTreeShowHidden = 1 | ||
| Ligne 67: | Ligne 67: | ||
| let NERDTreeWinPos = " | let NERDTreeWinPos = " | ||
| let NERDTreeWinSize = 31 | let NERDTreeWinSize = 31 | ||
| - | + | | |
| + | |||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| " tagbar configuration | " tagbar configuration | ||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| + | | ||
| let g: | let g: | ||
| let g: | let g: | ||
| let g: | let g: | ||
| - | + | | |
| + | |||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| " ctrlsf configuration | " ctrlsf configuration | ||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| + | | ||
| let g: | let g: | ||
| let g: | let g: | ||
| Ligne 92: | Ligne 92: | ||
| let g: | let g: | ||
| let g: | let g: | ||
| - | + | | |
| + | |||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| " fswitch configuration | " fswitch configuration | ||
| Ligne 100: | Ligne 100: | ||
| " Set fswichdst and fswitchloc variables when BufEnter event takes place | " Set fswichdst and fswitchloc variables when BufEnter event takes place | ||
| " on a file whose name matches {*.cpp}. | " on a file whose name matches {*.cpp}. | ||
| + | | ||
| au! BufEnter *.cpp let b: | au! BufEnter *.cpp let b: | ||
| au! BufEnter *.h let b: | au! BufEnter *.h let b: | ||
| + | | ||
| " fswitchdst | " fswitchdst | ||
| " | " | ||
| Ligne 110: | Ligne 110: | ||
| " | " | ||
| " | " | ||
| + | | ||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| " vim-protodef configuration | " vim-protodef configuration | ||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| + | | ||
| nmap < | nmap < | ||
| nmap < | nmap < | ||
| + | | ||
| " NOTE: This doesn' | " NOTE: This doesn' | ||
| let g: | let g: | ||
| - | + | | |
| + | |||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| " Vim configuration | " Vim configuration | ||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| + | | ||
| "set nu " Enable line numbers | "set nu " Enable line numbers | ||
| syntax on " | syntax on " | ||
| Ligne 135: | Ligne 135: | ||
| set shiftwidth=4 | set shiftwidth=4 | ||
| set expandtab | set expandtab | ||
| + | | ||
| if !has(' | if !has(' | ||
| set termwinsize=12x0 | set termwinsize=12x0 | ||
| endif | endif | ||
| + | | ||
| set background=dark | set background=dark | ||
| " | " | ||
| - | + | | |
| + | |||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| " Key mappings | " Key mappings | ||
| " ------------------------------------------------------------ | " ------------------------------------------------------------ | ||
| + | | ||
| " General | " General | ||
| nmap < | nmap < | ||
| nmap < | nmap < | ||
| + | | ||
| " NERDTree | " NERDTree | ||
| nmap < | nmap < | ||
| + | | ||
| " tagbar | " tagbar | ||
| nmap < | nmap < | ||
| + | | ||
| " ctrlds | " ctrlds | ||
| nmap < | nmap < | ||
| Ligne 167: | Ligne 167: | ||
| nnoremap | nnoremap | ||
| inoremap | inoremap | ||
| + | | ||
| " fswitch | " fswitch | ||
| nmap < | nmap < | ||
| + | |||
| + | set mouse=r | ||
informatique/linux/vimrc_ide.1719215981.txt.gz · Dernière modification : de admin
