Replies: 8 comments
-
This starts to get tricky to implement, and breaks the pattern of using readline like bindings when in prompts, as is default in most shells. On the other hand, there's been discussion of removing a lot of the readline/emacs bindings in insert mode to encourage modal mindset. I think I'd be in support of this if it were implemented well. |
Beta Was this translation helpful? Give feedback.
-
Most of the big advantages normal mode has are to do with multiple lines and multiple cursors. Normal mode for single line command prompt seems overkill as you're practically never going to need it, so wouldn't be significantly faster in reality. j/k to scroll the menus does sound nice, if people think it would be worth implementing for that alone. We could even go farther and have bindings like |
Beta Was this translation helpful? Give feedback.
-
There is some precedent as zsh's readline implementation supports setting to vi-mode instead of emacs. It does however start in insert mode and require you to press escape to get to normal. You're right that a lot of the normal mode power in helix wouldn't carry over, it makes more sense when its vim you're implementing. Some subset might still be worth looking into though. |
Beta Was this translation helpful? Give feedback.
-
My go to for insert mode line scrolling is to always bind to Ctrl-j/k. Using Ctrl-p/n in vim has never seemed to click for me. However, I imagine this would just be something to wait on with picker mode remapping? |
Beta Was this translation helpful? Give feedback.
-
Yep that would more likely fall under #2757 |
Beta Was this translation helpful? Give feedback.
-
I find it almost a bit claustrophobic that you cant select the text in the file picker. Quite often i write something I want to search for, then I want to copy the same string. However that is not possible in the current picker. On the other hand, it is nice that the picker closes with just one q press instead of two. I think I would prefer normal mode though |
Beta Was this translation helpful? Give feedback.
-
Honestly I think something that would work is adding shortcuts to open files in the buffer picker faster. Right now they are numbered, so you can do e.g. |
Beta Was this translation helpful? Give feedback.
-
Ctrl + n and Ctrl + p to navigate up and down seem to be exhaustive enough for all it ought to be. |
Beta Was this translation helpful? Give feedback.
-
Add normal mode in file picker or buffer picker & also make it the default
mode in buffer picker. This way navigation will be easier with j,k and in
buffer picker it is more likely to be a faster way.
Beta Was this translation helpful? Give feedback.
All reactions