-
Notifications
You must be signed in to change notification settings - Fork 86
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 alternative key-binding for navigation #66
Labels
Comments
If you are using neovim, it's not hard by adding these two lines in your vimrc: autocmd FileType clap_input inoremap <silent> <buffer> <C-n> <C-R>=clap#navigation#linewise('down')<CR>
autocmd FileType clap_input inoremap <silent> <buffer> <C-p> <C-R>=clap#navigation#linewise('up')<CR><CR> For vim, it's unable to do such a thing atm. |
Thanks. I use neovim and that solved my problem. |
Closed
@jet8a Ok, that comment is outdated, you should take a look how autocmd FileType clap_input inoremap <silent> <buffer> <C-n> <C-R>=clap#navigation#linewise('down')<CR>
autocmd FileType clap_input inoremap <silent> <buffer> <C-p> <C-R>=clap#navigation#linewise('up')<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Personally I'd prefer Ctrl-p/n instead of Ctrl-k/j. It would be great if I can adjust the default key bindings. Thanks!
The text was updated successfully, but these errors were encountered: