From 263a572419e73e9b7180d129269f9bc37cae3413 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 19 Apr 2015 05:24:52 +0200 Subject: vim: Enable using space as a leader key --- vim/vimrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vim') 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 nmap / :nohlsearch cmap w!! w !sudo tee % >/dev/null -- cgit v1.2.3-70-g09d2