-
Notifications
You must be signed in to change notification settings - Fork 85
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
Support C-n and C-p for up/down by default #104
Comments
This has been discussed before, please see #52 . |
I can definitely respect your original design decision, Aside, I really love the plugin! Great work! |
Yes, I thought |
I'd like to see Ctrl-P/N be the default as well. Not just in Vim, but in many other places Ctrl N/P is the defacto keyboard shortcut for up/down, and I'd expect the same here. |
Checkout #52, Ctrl-N/P has been reserved for navigating the input history. |
Just a note for anybody stumbling into this issue: The API changed so the code to use is as follows: inoremap <silent> <buffer> <C-n> <C-R>=clap#navigation#linewise('down')<CR>
inoremap <silent> <buffer> <C-p> <C-R>=clap#navigation#linewise('up')<CR> |
add quadratic funding pallet milestone-1
While it's very easy to add:
to, for example,
after/ftplugin/clap_input.vim
, it seems like this should be the default to match vim's default. There is no documentation for mappings, either, so I had to root around in the code to find out how you mapped it, which is a bit much for restoring vimlike default behavior.The text was updated successfully, but these errors were encountered: