30f254f6c3
+ update LICENSE declaration in .config/nvim/after/ftplugin + remove vim.vim filetype settings + change mapping for buffer switch in neovim
28 lines
606 B
VimL
28 lines
606 B
VimL
" tex filetype config
|
|
" Licence GPL3
|
|
|
|
" spellcheck enabled
|
|
setlocal spell spelllang=fr
|
|
|
|
" Unbreakable space before 'etc'
|
|
inoremap <buffer> <Space>etc \,etc.
|
|
" Unbreakable space before ':'
|
|
inoremap <buffer> <Space>: \,:
|
|
" Centered point
|
|
inoremap <buffer> .. \textperiodcentered
|
|
" But don't overreact
|
|
inoremap <buffer> ... ...
|
|
" Italics
|
|
inoremap <buffer> II \textit{}<Esc>i
|
|
" Bold
|
|
inoremap <buffer> BB \textbf{}<Esc>i
|
|
" Bold + Italics
|
|
inoremap <buffer> BI \textit{\textbf{}}<Esc>hi
|
|
" Smallcaps
|
|
inoremap <buffer> SC \fsc{}<Esc>i
|
|
|
|
" Caps
|
|
inoremap <buffer> AA À
|
|
inoremap <buffer> CC Ç
|
|
inoremap <buffer> EE É
|