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

Feature Request: change (or disable) default maps #84

Open
Jasha10 opened this issue Oct 20, 2022 · 3 comments
Open

Feature Request: change (or disable) default maps #84

Jasha10 opened this issue Oct 20, 2022 · 3 comments

Comments

@Jasha10
Copy link

Jasha10 commented Oct 20, 2022

I have the following maps in my vimrc:

nnoremap ' "
vnoremap ' "
nnoremap " ;
vnoremap " ;

There is a conflict with the maps defined by this plugin. I'd like to request a way to change the maps defined by this plugin to use ' instead of ".

@lukelbd
Copy link

lukelbd commented Jun 14, 2023

I would also like to see this.

@junegunn
Copy link
Owner

One thing you can try is to set g:peekaboo_prefix (and/or g:peekaboo_ins_prefix) so that this plugin is only triggered when you type the prefix before the keys.

e.g. let g:peekaboo_prefix = '<leader>'

@lukelbd
Copy link

lukelbd commented Jun 16, 2023

Thanks @junegunn (and thanks for the cool plugin). Got this to work for my setup: Previously, I rarely used registers, since I found them hard to work with / hard to remember, so I had " mapped to "* (i.e., "use the clipboard register"). Setting let g:peekaboo_prefix = '"' makes a double press of "" pull up the peekaboo panel. Working well so far.

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

3 participants