diff options
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/after/ftplugin/c.vim | 3 | ||||
-rw-r--r-- | .config/nvim/after/ftplugin/tex.vim | 9 | ||||
-rwxr-xr-x | .config/nvim/init.vim | 2 |
3 files changed, 14 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/c.vim b/.config/nvim/after/ftplugin/c.vim new file mode 100644 index 0000000..73fdd4b --- /dev/null +++ b/.config/nvim/after/ftplugin/c.vim | |||
@@ -0,0 +1,3 @@ | |||
1 | setlocal shiftwidth=8 | ||
2 | setlocal tabstop=8 | ||
3 | setlocal expandtab | ||
diff --git a/.config/nvim/after/ftplugin/tex.vim b/.config/nvim/after/ftplugin/tex.vim new file mode 100644 index 0000000..280c44b --- /dev/null +++ b/.config/nvim/after/ftplugin/tex.vim | |||
@@ -0,0 +1,9 @@ | |||
1 | call sandwich#util#addlocal([{ | ||
2 | \ 'buns': ['\textbf{', '}'], | ||
3 | \ 'input': ['B'], | ||
4 | \ }]) | ||
5 | |||
6 | call sandwich#util#addlocal([{ | ||
7 | \ 'buns': ['\emph{', '}'], | ||
8 | \ 'input': ['E'], | ||
9 | \ }]) | ||
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index e5085a8..ab433ca 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
@@ -164,6 +164,8 @@ endif | |||
164 | 164 | ||
165 | let g:indentguides_ignorelist = ['text', 'tex', 'vimwiki'] | 165 | let g:indentguides_ignorelist = ['text', 'tex', 'vimwiki'] |
166 | 166 | ||
167 | set diffopt+=internal,algorithm:patience | ||
168 | |||
167 | " }}} | 169 | " }}} |
168 | 170 | ||
169 | "{{{Look and Feel | 171 | "{{{Look and Feel |