Skip to content
Discussion options

You must be logged in to vote

There is no way to search for files outside of the current directory, because the search feature is designed to only search within the current directory and its descendants.

If you don't want to leave your CWD, one way to do the search is in a new tab:

{ on = "s", run = [ "tab_create ~", "search" ], desc = "Search in $HOME" },

After you have done all of your work, press Ctrl-c to close the temporary tab, and you will return to your previous CWD - this should be similar to what you expect, except it's using Ctrl-c to return to your CWD rather than Esc.

Note that, you should use prepend_keymap instead of keymap unless you want to override all default keybindings, I'd recommend reading our k…

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@573
Comment options

@bulletmark
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Goku-San
Comment options

Answer selected by Goku-San
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
1. Q&A
Labels
None yet
4 participants