Closed basyura closed 4 years ago
Hi basyura-san,
Thanks for the PR. You can clear search highlightings by running the following code:
vim.exCommandDispatcher.processCommand(cm, "nohlsearch")
It will run the nohlsearch
ex-command defined here, calling internally clearSearchHighlight
.
Hope that helps you customize it :)
I can run the nohlsearch
, thanks!
hi.
inkdrop is so nice! and vim plugin so nice!
I want to clear search highlight by escape key in normal mode. So, I create PR to access vimApi from init.js .
If this PR is merged, I define my command in init.js and keymap.cson .
Or is there another good way?
thanks!