aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@gmx.com>2023-03-19 21:50:16 +0100
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@gmx.com>2023-03-19 21:50:16 +0100
commit89f31e2b70c191ca0fbd8763355d0966939df92f (patch)
tree0c1042443d43ab585d5495566e71c5a088c9e26d
parent8e378981b706c2ee142fe09d52c4fa2f1df1c87b (diff)
feat(vim) latex support and fix mappings for tabs
-rw-r--r--.vimrc9
1 files changed, 7 insertions, 2 deletions
diff --git a/.vimrc b/.vimrc
index a8934b2..8793f13 100644
--- a/.vimrc
+++ b/.vimrc
@@ -16,15 +16,20 @@ Plugin 'godlygeek/tabular'
" Plugin 'preservim/vim-markdown'
Plugin 'vim-pandoc/vim-pandoc'
Plugin 'vim-pandoc/vim-pandoc-syntax'
+Plugin 'WolfgangMehner/latex-support'
call vundle#end() " required
filetype plugin indent on " required
set number relativenumber
-nnoremap <C-Left> :tabprevious<CR>
+
+nnoremap <C-Left> :tabprevious<CR>
nnoremap <C-Right> :tabnext<CR>
-nnoremap <C-j> :tabprevious<CR>
+nnoremap <C-j> :tabprevious<CR>
nnoremap <C-k> :tabnext<CR>
+nnoremap <C-q> :tabclose<CR>
+
+:command Ttp !pdflatex %:t
set shell=/bin/bash