summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2014-10-29 12:56:26 +0000
committerUrbain Vaes <urbain@vaes.uk>2014-10-29 12:56:26 +0000
commit3b2c2cf66ef2e2e3076d1ccb73f5c63382c01ac0 (patch)
tree33b00557ac737ae62d7960754295eccf20d4d972 /.vimrc
parent0fc99e5940cd98a96e7b99ad4819b0b79c4fe9a5 (diff)
new commit
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc12
1 files changed, 10 insertions, 2 deletions
diff --git a/.vimrc b/.vimrc
index 9bcfd7a..7762b86 100644
--- a/.vimrc
+++ b/.vimrc
@@ -30,6 +30,7 @@ let g:UltiSnipsJumpForwardTrigger="<tab>"
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
let g:UltiSnipsEditSplit="horizontal"
let g:UltiSnipsSnippetsDir="~/.vim/UltiSnips"
+let g:ctrlp_open_new_file = 't'
noremap <c-tab> :UltiSnipsEdit<Return>
" Latex-Box
@@ -144,7 +145,7 @@ nnoremap <Leader>h :set hlsearch!<cr>
nnoremap <Leader>n :set relativenumber!<cr>
nnoremap <Leader>q :q!<cr>
nnoremap <Leader>sv :source ~/.vimrc<cr>
-nnoremap <Leader>sc ;source %
+nnoremap <Leader>sc :source %
nnoremap <Leader>w :w<cr>
nnoremap <Leader>te :tabedit
nnoremap <Leader>tn :tabnew<cr>
@@ -175,6 +176,13 @@ vnoremap gj j
vnoremap gk k
vnoremap g$ $
vnoremap g^ ^
+
+" Convenient maps
+" nnoremap e j
+" nnoremap u k
+" nnoremap j e
+" nnoremap k u
+
"" Latex
nmap <buffer> <F2> <Plug>LatexChangeEnv
let g:tex_fast=""
@@ -193,7 +201,7 @@ autocmd Filetype tex call SetTexOptions()
hi Cursor guifg=white guibg=blue
hi iCursor guifg=black guibg=green
hi! link conceal normal
-hi! link folded normal
+hi! link folded comment
"" Functions
function! Tex_ForwardSearchLaTeX()