diff options
-rw-r--r-- | VERSION | 4 | ||||
-rw-r--r-- | vim/vimrc | 8 |
2 files changed, 8 insertions, 4 deletions
@@ -1,2 +1,2 @@ -tejr dotfiles v7.18.0 -Thu, 14 Nov 2019 01:14:18 +0000 +tejr dotfiles v7.19.0 +Sat, 23 Nov 2019 01:37:27 +0000 @@ -1496,8 +1496,12 @@ sunmap <Leader>& map <Leader>7 <Leader>& ounmap <Leader>7 sunmap <Leader>7 -"" Leader,*/8 is sticky-star: search, highlight, but don’t move -nnoremap <silent> <Leader>* *N +"" Leader,*/8 is "sticky star": +"" - Set search string to word under cursor +"" - Show search highlighting if it's enabled +"" - Don't move the cursor +nnoremap <silent> <Leader>* + \ :<C-U>let @/ = expand('<cword>')<CR>:let &hlsearch = &hlsearch<CR> nmap <Leader>8 <Leader>* "" Leader,` opens a scratch buffer, horizontally split nnoremap <silent> <Leader>` |