summaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc10
1 files changed, 6 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 4f061a0..99d8eb9 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1,4 +1,5 @@
"" Required by Vundle
+
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
@@ -26,6 +27,11 @@ syntax on
"" Configuration
+" Leader maps
+let mapleader = "\\"
+let maplocalleader = "-"
+nmap <Space> <Leader>
+
" UltiSnips
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<tab>"
@@ -168,10 +174,6 @@ endfunction
autocmd! BufNewFile,BufRead,BufWrite * :call UpdateColorscheme()
"" Custom mappings
-" Leader maps
-let mapleader = "\\"
-let maplocalleader = "-"
-nmap <Space> <Leader>
" General
nnoremap <Leader>te :tabedit