Vim navigation on filtered view #584
IvanVolosyuk
started this conversation in
General
Replies: 1 comment
-
My suggestion would be that the PS: I'm currently using AstroNvim. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to migrate to nvim/neo-tree from vim/nerdtree. The concept of filtered view is very cool and I'm trying to get used to it, but I guess I don't understand some principles.
In one specific example I'm trying to do the filtering and display just 'init.lua' files:
/init.lua
For some other name it would be much better, but not for this particular case, see the picture below. Now I would like to accept the filtered view and switch to vim navigation mode - jump at the particular line or at the bottom of the list in this case:
G
, but I cannot. The intuitive choice after/
vim search is<CR>
in order to go from incremental search to completed search. But<CR>
just opens the file at the cursor. Do I miss something obvious or filtered view doesn't work with vim navigation keys in neo-tree? I discovered that I can use<C-n>
,<C-p>
but it is not helpful in this case as it doesn't make me faster in opening the last file in the list.[Update]: I found out I can use
f
to filter on submit, but can I press a key on increment search to make it stick?[Update2]: It looks like I can change the config to make
<CR>
act as search completion and allow navigation in filtered view:Well it changes the question :). Can I use the best of the both worlds, say use
fuzzy_finder
with:<CR>
- opens the file under cursor<C-y>
- submits the filtering view similar as<CR>
forfilter_as_you_type
and allows to use vim keys for navigationBeta Was this translation helpful? Give feedback.
All reactions