This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.config/.old/nvim_0.4.4/after/ftplugin/tex.vim

29 lines
684 B
VimL
Raw Normal View History

2020-09-03 14:28:52 +02:00
" Author : swytch
" Created : 06/05/2020
" License : GPLv3
2020-09-03 14:28:52 +02:00
" Description : tex filetype config
2020-05-06 03:20:19 +02:00
" spellcheck enabled
setlocal spell spelllang=fr
2020-09-03 14:28:52 +02:00
" Caps
inoremap <buffer> AA À
inoremap <buffer> CC Ç
inoremap <buffer> EE É
2020-05-06 03:20:19 +02:00
" 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