summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/UltiSnips/rnoweb.snippets2
-rwxr-xr-x.config/nvim/init.vim4
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)