aboutsummaryrefslogtreecommitdiffstats
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-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