aboutsummaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 87e05ba..56c9d2c 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -52,6 +52,8 @@ set shortmess+=I " don't show the nag-screen
set encoding=utf-8 " oh please, like this needs explanation
set showcmd
+" Use space as a leader
+map <space> <Leader>
nmap <silent> <Leader>/ :nohlsearch<CR>
cmap w!! w !sudo tee % >/dev/null