summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2015-12-07 19:01:36 +0100
committerTharre <tharre3@gmail.com>2016-10-07 20:13:38 +0000
commit638d3a63688527b58aab9570af9ee97b6cb38013 (patch)
tree1888ab286c490779d553fa896b1c1f1b289d7c93
parent111a8814cdf6c4c183faf358258183abd2cd4f9e (diff)
downloaddotfiles-638d3a63688527b58aab9570af9ee97b6cb38013.tar.gz
dotfiles-638d3a63688527b58aab9570af9ee97b6cb38013.tar.xz
dotfiles-638d3a63688527b58aab9570af9ee97b6cb38013.zip
vim: add hotkey for turning off search highlight
-rw-r--r--shell/_vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/_vimrc b/shell/_vimrc
index c79f0e3..f500e3d 100644
--- a/shell/_vimrc
+++ b/shell/_vimrc
@@ -103,3 +103,6 @@ nmap <leader>o :ProjectOpen<cr>
" toggle gundo
nnoremap <leader>u :GundoToggle<CR>
+
+" turn off search highlight
+nnoremap <leader><space> :nohlsearch<CR>