a, i, x, dh, j, k, l, f, F, t, T, , ,;, $, gg, G:wq, ZZ, ZXapt install vim-fugitive
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
execute pathogen#infect()
:<domaine>s/texte_à_remplacer/texte_de_remplacement/options
., % <,>} et options є { g, c}Ctrl-P, Ctrl-NCtrl-X, Ctrl-Ofiletype on
filetype plugin on
filetype plugin indent on
:set cindent shiftwidth=4
==dictionnaires (e.g. pour latex)
:setlocal spell spelllang=fr_FR
]s,s] z=zg, zG correction à la volée :
]], [[gd* #/<expr>q/grep externe avec résultat dans la fenêtre de localisation:lgrep -R <expr> path/to/project
:lop
Ctrl-R, " tags)¶$ cd /path/to/sources
$ ctags -R --sort=yes --kinds-Fortran=+istmp --exclude=@.ctagsignore .
$ cd /path/to/sources
$ gtags
:tj nom_de_fonction ⇒ liste de choixg Ctrl-] ⇒ liste de choixCtrl-T:tn, :tp pour suivre les différentes étiquettesnew ou vnewCtrl W + cbuffers)¶<num>: b <num><num> : bd <num><leader>bed:! <commande>
:r! <commande>
:lmake <command>
:set makeprg=pdflatex\ %
Ctrl-N bouger et - pour selectionner)cc : ecrire un message de commit + sauvegarde (:w)