nvim: keymappings: Add a mapping for finding exact match
This commit is contained in:
parent
95a247891e
commit
25de9376a9
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ remap('n', '<Leader>P', '<ESC>"*p', opts)
|
|||
-- Search and Replace
|
||||
remap('n', 'c.' , ':%s//g<Left><Left>' , opts)
|
||||
remap('n', '<Leader>c.', ':%s/\\<<C-r><C-w>\\>//g<Left><Left>', opts)
|
||||
-- Exact Search
|
||||
remap('n', 'S', '/\\<\\><Left><Left>', opts)
|
||||
-- Quit
|
||||
remap('n', '<Leader>x', '<Esc>:x<CR>' , opts)
|
||||
remap('n', '<Leader>q', '<Esc>:q<CR>' , opts)
|
||||
|
|
Loading…
Reference in a new issue