aboutsummaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-04-19 05:24:52 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-04-19 05:24:52 +0200
commit263a572419e73e9b7180d129269f9bc37cae3413 (patch)
tree16b6b89d3e225f9d1f0ba55b3d842424f32768eb /vim
parent11cdd8eff0941a1b664ca6abdc61284d9dced492 (diff)
downloaddotfiles-263a572419e73e9b7180d129269f9bc37cae3413.tar.xz
vim: Enable using space as a leader key
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