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

Is it possible to disable the default keybindings? #155

Open
snejus opened this issue Jun 27, 2020 · 1 comment
Open

Is it possible to disable the default keybindings? #155

snejus opened this issue Jun 27, 2020 · 1 comment

Comments

@snejus
Copy link

snejus commented Jun 27, 2020

I don't need 99% of them and some of them override my own/

@maxigaz
Copy link

maxigaz commented Mar 29, 2021

I’d also be interested in an answer in case somebody knows.

Being new to the plugin, my biggest issue so far is Tab conflicting with UltiSnips. I’ve tried placing the following in Neovim’s init.vim, but it doesn’t work (I’m not even sure how to use g:riv_i_tab_user_cmd correctly).

Edit: I've managed to make Tab work with UltiSnips as well as disable Ctrl-E as riv’s leader. Here's the updated snippet.

let g:riv_global_leader = ''
let g:riv_ignored_nmaps = "<Tab>,<S-Tab>"
let g:riv_ignored_imaps = "<Tab>,<S-Tab>"
let g:riv_ignored_vmaps = "<Tab>,<S-Tab>"
let g:riv_i_tab_pum_next = 0
let g:riv_i_tab_user_cmd = "\<c-g>u\<c-r>=UltiSnipsExpandTrigger\<cr>"

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