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

How to remap %? #2726

Open
gaoqiangks opened this issue Jun 13, 2023 · 3 comments
Open

How to remap %? #2726

gaoqiangks opened this issue Jun 13, 2023 · 3 comments

Comments

@gaoqiangks
Copy link

I use vimtex with vscode-neovim plugin. However, % doesn't work properly. I want to remap % by myself but failed. The simple setting nnoremap % l takes no effect. I tried with neovim 0.8.1 with only vimtex loaded.

@lervag
Copy link
Owner

lervag commented Jun 13, 2023

I don't know the vscode-neovim plugin at all.

However, % doesn't work properly. I want to remap % by myself but failed. The simple setting nnoremap % l takes no effect.

You need to explain this in more detail. Where are you putting this setting?

I'm quriuos, why did you disregard the issue template?

@gaoqiangks
Copy link
Author

I don't know the vscode-neovim plugin at all.

However, % doesn't work properly. I want to remap % by myself but failed. The simple setting nnoremap % l takes no effect.

You need to explain this in more detail. Where are you putting this setting?

I'm quriuos, why did you disregard the issue template?

I didn't disregard the issue template since I think this is not an enhancement request, or not a bug. Maybe I should use the General issue template.

My question actually has nothing to do with vscode-neovim plugin. The issue I encountered is the following:

I want to remap the symbol %, but the code map % l doesn't work.

To reproduce this is simple, just start neovim0.8 with only vimtex loaded. I want to know, if I want to remap %, how should I do?

@lervag
Copy link
Owner

lervag commented Jun 13, 2023

Did you try putting the line nnoremap % l into your init.vim file; or the corresponding thing for init.lua?

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