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:56] – créée admin | informatique:linux:vimrc_ide [2024/06/24 08:02] (Version actuelle) – admin | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | <text> | + | " ------------------------------------------------------------ |
| - | </text> | + | " Load plugins |
| + | " ------------------------------------------------------------ | ||
| + | |||
| + | set nocompatible | ||
| + | filetype off | ||
| + | |||
| + | " Set the runtime path to include Vundle and initialize | ||
| + | set rtp+=~/ | ||
| + | |||
| + | " Plugins will be downloaded under the specified directory. | ||
| + | call vundle# | ||
| + | |||
| + | " Let Vundle manage Vundle, required | ||
| + | Plugin ' | ||
| + | |||
| + | " Colorschemes | ||
| + | Plugin ' | ||
| + | Plugin ' | ||
| + | Plugin ' | ||
| + | Plugin ' | ||
| + | Plugin ' | ||
| + | Plugin ' | ||
| + | Plugin ' | ||
| + | |||
| + | " PloyGlot | ||
| + | Plugin ' | ||
| + | |||
| + | " Auto Pairs | ||
| + | Plugin ' | ||
| + | |||
| + | " NERDTree | ||
| + | Plugin ' | ||
| + | |||
| + | " Tagbar | ||
| + | Plugin ' | ||
| + | |||
| + | " ctrlsf.vim | ||
| + | Plugin' | ||
| + | |||
| + | " vim-fswitch | ||
| + | Plugin ' | ||
| + | |||
| + | " vim-protodef | ||
| + | Plugin ' | ||
| + | |||
| + | " List ends here. Plugins become visible to Vim after this call. | ||
| + | call vundle# | ||
| + | filetype plugin indent on | ||
| + | |||
| + | |||
| + | " ------------------------------------------------------------ | ||
| + | " auto-pairs configuration | ||
| + | " ------------------------------------------------------------ | ||
| + | |||
| + | let g: | ||
| + | |||
| + | |||
| + | " ------------------------------------------------------------ | ||
| + | " NERDTree configuration | ||
| + | " ------------------------------------------------------------ | ||
| + | |||
| + | let NERDTreeShowBookmarks = 1 | ||
| + | let NERDTreeShowHidden = 1 | ||
| + | let NERDTreeShowLineNumbers = 0 | ||
| + | let NERDTreeMinimalMenu = 1 | ||
| + | let NERDTreeWinPos = " | ||
| + | let NERDTreeWinSize = 31 | ||
| + | |||
| + | |||
| + | " ------------------------------------------------------------ | ||
| + | " tagbar configuration | ||
| + | " ------------------------------------------------------------ | ||
| + | |||
| + | let g: | ||
| + | let g: | ||
| + | let g: | ||
| + | |||
| + | |||
| + | " ------------------------------------------------------------ | ||
| + | " ctrlsf configuration | ||
| + | " ------------------------------------------------------------ | ||
| + | |||
| + | let g: | ||
| + | let g: | ||
| + | let g: | ||
| + | let g: | ||
| + | let g: | ||
| + | let g: | ||
| + | let g: | ||
| + | let g: | ||
| + | let g: | ||
| + | let g: | ||
| + | |||
| + | |||
| + | " ------------------------------------------------------------ | ||
| + | " fswitch configuration | ||
| + | " ------------------------------------------------------------ | ||
| + | " | ||
| + | " Set fswichdst and fswitchloc variables when BufEnter event takes place | ||
| + | " on a file whose name matches {*.cpp}. | ||
| + | |||
| + | au! BufEnter *.cpp let b: | ||
| + | au! BufEnter *.h let b: | ||
| + | |||
| + | " fswitchdst | ||
| + | " | ||
| + | " | ||
| + | " fswitchlocs - Contains a set of directories that indicate directory names | ||
| + | " | ||
| + | " | ||
| + | |||
| + | " ------------------------------------------------------------ | ||
| + | " vim-protodef configuration | ||
| + | " ------------------------------------------------------------ | ||
| + | |||
| + | nmap <buffer> < | ||
| + | nmap < | ||
| + | |||
| + | " NOTE: This doesn' | ||
| + | let g: | ||
| + | |||
| + | |||
| + | " ------------------------------------------------------------ | ||
| + | " Vim configuration | ||
| + | " ------------------------------------------------------------ | ||
| + | |||
| + | "set nu " Enable line numbers | ||
| + | syntax on " | ||
| + | set incsearch | ||
| + | set hlsearch | ||
| + | set splitbelow | ||
| + | set mouse=a | ||
| + | set tabstop=4 | ||
| + | set shiftwidth=4 | ||
| + | set expandtab | ||
| + | |||
| + | if !has(' | ||
| + | set termwinsize=12x0 | ||
| + | endif | ||
| + | |||
| + | set background=dark | ||
| + | " | ||
| + | |||
| + | |||
| + | " ------------------------------------------------------------ | ||
| + | " Key mappings | ||
| + | " ------------------------------------------------------------ | ||
| + | |||
| + | " General | ||
| + | nmap < | ||
| + | nmap < | ||
| + | |||
| + | " NERDTree | ||
| + | nmap < | ||
| + | |||
| + | " tagbar | ||
| + | nmap < | ||
| + | |||
| + | " ctrlds | ||
| + | nmap < | ||
| + | xmap < | ||
| + | xmap < | ||
| + | nmap < | ||
| + | nmap < | ||
| + | nnoremap | ||
| + | nnoremap | ||
| + | inoremap | ||
| + | |||
| + | " fswitch | ||
| + | nmap < | ||
| + | |||
| + | set mouse=r | ||
informatique/linux/vimrc_ide.1719215805.txt.gz · Dernière modification : de admin
