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

enable only in command mode #39

Open
ri-aje opened this issue Apr 21, 2017 · 3 comments
Open

enable only in command mode #39

ri-aje opened this issue Apr 21, 2017 · 3 comments

Comments

@ri-aje
Copy link

ri-aje commented Apr 21, 2017

hi, can you add a variable to control this rsi feature only works in command line mode, i.e., give an option to disable it in insert mode? thanks.

@hupfdule
Copy link

hupfdule commented Nov 7, 2019

Actually, please provide both, disabling in insert mode and disabling in commandline mode.

This would also fix #41, since the described problem only exists in commandline mode.
It would be possible then to user vim-rsi for insert mode and readline.vim for commandline mode.

@tpope
Copy link
Owner

tpope commented Nov 16, 2019

You can do inoremap <C-A> <C-A> now to preserve any built-in and prevent RSI from mapping it. This solves the readline.vim use case too.

@tpope tpope closed this as completed Nov 16, 2019
@tpope tpope reopened this Nov 16, 2019
@tpope
Copy link
Owner

tpope commented Nov 16, 2019

I confused myself, meant to say that's how I want it implemented, as I elaborate on in #48.

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

Successfully merging a pull request may close this issue.

3 participants