Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Additional Keybindings #85

Open
renormalization2 opened this issue Nov 7, 2022 · 1 comment
Open

Request for Additional Keybindings #85

renormalization2 opened this issue Nov 7, 2022 · 1 comment
Milestone

Comments

@renormalization2
Copy link

Hi. I'm currently using Spyder with spyder-vim, and pleased to have such an excellent plugin.
Many thanks for releasing this plugin and helping all vim and spyder users around the world.
I found it is somewhat incomplete, however, as it lacks some essential keys.

For example, many vim users type 'ctrl-[' instead of the real escape key, which is way more convenient to type on modern qwerty keyboards. Without this keybinding, it is not that comfortable to actively switch between normal and insert modes and make the most of the advantages of vim. I think adding this is the top priority of the others.

Second, currently supported keymaps are not sufficient to scroll the page effectively. I personally use ctrl-e and ctrl-y a lot to adjust the window, and when I want to scroll the screen just one line down, I'm forced to do something like <s-l>j<s-m>kkk or <s-m>jzz4k (kkk to go back to where the cursor was). It's a pain, and I'd rather get my hand off the keyboard to touch the mouse than hit all those more than five awkward keystrokes.

Third, though someone may not think this is essential, I find the } and { keys are helpful when navigating a paragraph since we normally separate code blocks with cr. The ctrl-o and ctrl-i keys are also nice ones, which allow us to get back to the previous cursor position in case we temporarily moved far from the main section.

I'd be more than content if only the spyder-vim supported the first one(ctrl-[).
Thanks again for your effort in maintaining this wonderful plugin.

@ccordoba12
Copy link
Member

ccordoba12 commented Nov 8, 2022

Hey @renormalization2, thanks for reporting. You said:

Hi. I'm currently using Spyder with spyder-vim, and pleased to have such an excellent plugin.
Many thanks for releasing this plugin and helping all vim and spyder users around the world.

Thanks for your kind words! We're really glad to know you find this plugin useful for your work.

For example, many vim users type 'ctrl-[' instead of the real escape key, which is way more convenient to type on modern qwerty keyboards. Without this keybinding, it is not that comfortable to actively switch between normal and insert modes and make the most of the advantages of vim. I think adding this is the top priority of the others.

Ok, good to know. I'll try to implement this keybinding for our next release (0.2.0). I can't commit to add the others because I have very little time available, but this one seems simple enough for me to do it.

@ccordoba12 ccordoba12 added this to the v0.2.0 milestone Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants