New answers tagged the-silver-searcher
3
votes
Accepted
Accept hyphen when using `<C-R><C-W>`
A straightforward (if not exactly elegant) way to do this is just to temporarily set iskeyword to include the hyphen:
nnoremap <silent> K :let s:old_iskeyword = &l:iskeyword<CR>
\:...
Top 50 recent answers are included
Related Tags
the-silver-searcher × 17search × 7
external-command × 3
vimrc × 2
key-bindings × 2
command-line × 2
buffers × 2
plugin-fzf × 2
vimscript × 1
neovim × 1
regular-expression × 1
plugin-you-complete-me × 1
vimgrep × 1
argument-list × 1
grep × 1
plugin-ag.vim × 1