jupyterlab-vim
jupyterlab-vim copied to clipboard
Clear search
After pressing / there is no way to clear a matched search on a cell (unless of course you search for something not there). Can we clear search on entering nothing?

This is actually the same as normal vim bevhior (at least in my terminal installation). The way to clear the search is with :noh.
It might be kind of nice to have something like https://github.com/junegunn/vim-slash but that probably belongs as as separate plugin that works with codemirror itself.
Yeah - turns out it was a mapping that maps / to clear also. Thoughts on doing something similar here (opt-in)?
It feels like this ought to already be possible with https://github.com/ianhi/jupyterlab-vimrc#jupyterlab-vimrc although it may require some actual coding as in https://discuss.codemirror.net/t/possible-vim-leader-key-work-around/3006/4 as I'm not sure how well ex mappings work for the codemirror vim implementation
I think this issue can be closed now - somehow I forgot to target this issue in the related PR. Sorry!
Closing as fixed by #74.