~tardypad/dotfiles

219417e828feddd6f0eb4b059b337afec57954ee — Damien Tardy-Panis 1 year, 1 month ago 977d1c3
Add vim FR and EN command aliases to switch language
1 files changed, 4 insertions(+), 0 deletions(-)

M files/configs/vim/config.d/general.vim
M files/configs/vim/config.d/general.vim => files/configs/vim/config.d/general.vim +4 -0
@@ 125,3 125,7 @@ let g:netrw_fastbrowse = 0 " don't reuse directory listing

" alias to change current working directory to the current file one
command Cdf cd %:p:h

" aliases to type in French and revert to English if needed
command FR set spelllang=fr | set digraph
command EN set spelllang=en | set nodigraph