aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-11-25 06:46:53 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-11-25 06:46:53 +0100
commit0242d604b50a135d5917fff929117af1e45e8f95 (patch)
treedacf486cc2fa3ec58565aa349479706da281158a
parent88c5152418214f30f6a45083702f95a665d533f7 (diff)
downloaddotfiles-0242d604b50a135d5917fff929117af1e45e8f95.tar.xz
nvim: init: accidentally dropped leader-/
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--nvim/init.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index b86e2a6..0d46c3d 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -65,6 +65,8 @@ let g:rst_syntax_code_list = ['vim', 'c', 'cpp', 'python', 'sh']
" Toggle spell checking
nmap <silent> <Leader>s :set spell!<CR>
+nmap <silent> <Leader>/ :nohlsearch<CR>
+
cmap w!! w !sudo tee % >/dev/null
" Easier window moving
map <C-h> <C-w>h