summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/.vim/after/ftplugin/tex/mappings.vim3
-rw-r--r--vim/.vimrc6
2 files changed, 8 insertions, 1 deletions
diff --git a/vim/.vim/after/ftplugin/tex/mappings.vim b/vim/.vim/after/ftplugin/tex/mappings.vim
index 939af68..9da769b 100644
--- a/vim/.vim/after/ftplugin/tex/mappings.vim
+++ b/vim/.vim/after/ftplugin/tex/mappings.vim
@@ -36,9 +36,10 @@ iabbrev <buffer> gD \Delta
iabbrev <buffer> gT \Theta
iabbrev <buffer> gL \Lambda
iabbrev <buffer> gX \Xi
-iabbrev <buffer> gF \Phi
iabbrev <buffer> gP \Pi
+iabbrev <buffer> gS \Sigma
iabbrev <buffer> gW \Omega
+iabbrev <buffer> gF \Phi
nnoremap <buffer> <LocalLeader>i :VimtexCompile<CR>
nnoremap <buffer> <LocalLeader>e :VimtexErrors<CR>
diff --git a/vim/.vimrc b/vim/.vimrc
index 8709521..3e2d84d 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -30,6 +30,7 @@ Plug 'justinmk/vim-sneak'
Plug 'klen/python-mode'
Plug 'lervag/vimtex'
Plug 'majutsushi/tagbar'
+Plug 'mhinz/vim-startify'
Plug 'mileszs/ack.vim'
Plug 'nanotech/jellybeans.vim'
Plug 'rdnetto/YCM-Generator', { 'branch' : 'stable' , 'on' : 'YcmGenerateConfig' }
@@ -269,6 +270,11 @@ nnoremap + za
nnoremap <BS> <C-W>h
nnoremap <Leader>fw :%s/\s\+$//<cr>
+cnoremap <c-p> <up>
+cnoremap <c-n> <down>
+cnoremap <up> <c-p>
+cnoremap <down> <c-n>
+
"" Colorscheme
let g:seoul256_background =235
silent! colo $COLORSCHEME