summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2014-12-18 11:23:11 +0000
committerUrbain Vaes <urbain@vaes.uk>2014-12-18 11:23:11 +0000
commit136db20338f8bad9083fd5bf9512c5742727a985 (patch)
tree207a3ed485f11795682e7ba42fe292ed5bfebb2c /vim
parent20e3e95f90f83a3be4f1bcd8663474ccc13b6a3f (diff)
modif vimrc
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc9
1 files changed, 5 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 8c8c10c..f59a944 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -26,6 +26,11 @@ filetype plugin indent on
"" Configuration
+" Leader maps
+let mapleader = "\\"
+let maplocalleader = "-"
+nmap <Space> <Leader>
+
" UltiSnips
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<tab>"
@@ -168,10 +173,6 @@ autocmd! BufNewFile,BufRead,BufWrite * :call UpdateColorscheme()
"" Custom mappings
-" Leader maps
-let mapleader = "\\"
-let maplocalleader = "-"
-nmap <Space> <Leader>
" General
nnoremap <Leader>te :tabedit