diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-31 02:04:42 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-31 02:04:42 -0400 |
commit | da68367e2c5c6a4accd88a8475a06a9246c52675 (patch) | |
tree | c8523631227d1e1a170930fd5a0122a965196be4 /.config/nvim | |
parent | e381f1c560a775bff483f93a2d983092d5993a0a (diff) |
new LaTeX UltiSnippets
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/UltiSnips/rnoweb.snippets | 2 | ||||
-rwxr-xr-x | .config/nvim/init.vim | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.config/nvim/UltiSnips/rnoweb.snippets b/.config/nvim/UltiSnips/rnoweb.snippets index 4a52697..b0e4906 100644 --- a/.config/nvim/UltiSnips/rnoweb.snippets +++ b/.config/nvim/UltiSnips/rnoweb.snippets @@ -1,4 +1,4 @@ -snippet \ "Begin/End Environments" +snippet begin "Begin/End Environments" \begin{${1:element}} ${2:contents} \end{$1} diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 74302ce..72c268f 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -204,10 +204,10 @@ autocmd BufWritePost ~/Compilation/dwmblocks/config.h !cd ~/Compilation/dwmblock map <leader>p :! opout <c-r>%<CR><CR> " Open corresponding .pdf/.html or preview map <leader>o :! tdout <c-r>%<CR><CR> -" Width tabstop +" Spaces are superior to tabs set tabstop=2 -" when indenting with '>', use 4 spaces width set shiftwidth=2 +set expandtab " 80 col warning highlight ColorColumn ctermbg=magenta call matchadd('ColorColumn', '\%81v', 100) |