dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 8b807f77ae8ee5ccc737ba86b9b05723f4010308
parent 2a1dad60bee9d4c79704a6dfb80b6eb1d30db2f1
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Tue, 23 Feb 2016 13:23:11 -0800

clear search highlight after toggle

Diffstat:
M.vimrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.vimrc b/.vimrc @@ -383,7 +383,7 @@ nmap <leader>k <C-w>k nmap <leader>l <C-w>l " toggle x mark in checklist fields -nmap <leader>X :s/\[[x ]\]/\=submatch(0) == '[x]' ? '[ ]': '[x]'/<CR> +nmap <leader>X :s/\[[x ]\]/\=submatch(0) == '[x]' ? '[ ]': '[x]'/<CR>:noh<CR> " neovim-specific mappings if has('nvim')