Replies: 4 comments
-
I feel like at least 1. is very actionable, and I'd look into implementing this and #8822. If you agree with the other additions, I'd look into those as well, though I'd need some input on how the config options should look. |
Beta Was this translation helpful? Give feedback.
-
I am unsure about the direction of VIM about such this feature but can we instead have file picker show up with the relevant text in search box? Until it is implemented is there a way to map a new keyboard shortcut to search for file using file picker with selected text under cursor? |
Beta Was this translation helpful? Give feedback.
-
Personally, I feel like points 2. and 3. would be better left for plugin (once that's possible). Point 1. seems like a reasonable requirement that would ideally be fixed. |
Beta Was this translation helpful? Give feedback.
-
for anyone who subscribed to this: Could you try out #9065 pls? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
After opening #8822 I noticed that there are more things I miss from
vim
in regard togf
..
punctuation after a path, e.g.,path,
or"path";
should openpath
and notpath,
andpath";
respectively, if you want the latter behavior it is easy enough to just do af,gf
. (maybe we could have a config option for what characters are path, likeisfname
in VIM)suffixesadd
(VIM) like list of extensions to try.includeexpr
which allows transforming a path by replacing characters, i.e.,.
with/
in java imports. (This is applied after the normal behavior failed.) This might be best implemented when the scripting support lands, though we could also just have aregex, replacements
tuple that would probably already cover most things.Not every file has an LSP, and this just allows navigating these almost as if one had one.
Beta Was this translation helpful? Give feedback.
All reactions