a
, i
, x
, d
h
, j
, k
, l
, f
, F
, t
, T
, ,
,;
, $
, gg
, G
:wq
, ZZ
, ZX
apt 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-N
Ctrl-X, Ctrl-O
filetype 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 vnew
Ctrl W + c
buffers
)¶<num>: b <num>
<num> : bd <num>
<leader>be
d
:! <commande>
:r! <commande>
:lmake <command>
:set makeprg=pdflatex\ %
Ctrl-N
bouger et -
pour selectionner)cc
: ecrire un message de commit + sauvegarde (:w
)