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

Terminal Vim <esc>, <F4> key mappings lead to several problem. #48

Closed
jwu opened this issue May 19, 2014 · 4 comments
Closed

Terminal Vim <esc>, <F4> key mappings lead to several problem. #48

jwu opened this issue May 19, 2014 · 4 comments
Assignees
Labels
Milestone

Comments

@jwu
Copy link
Member

jwu commented May 19, 2014

For example, if you press twice, in terminal vim, it will insert S in your buffer.

@jwu jwu added this to the exVim v0.3.0 milestone May 19, 2014
@jwu jwu added the bug label May 19, 2014
@jwu jwu self-assigned this May 19, 2014
@Viser
Copy link

Viser commented Jun 3, 2014

Hi,

This bug appears on every plugin which splits window(undotree, qf, gs, tagbar) in terminal vim
e.g. leader u, Up puts 'A' in text

Thanks.

@jwu
Copy link
Member Author

jwu commented Jun 3, 2014

Yeah, I'm working on it. Will be fixed soon.

Basically, I will just prevent using <ESC> directly for terminal Vim. instead, use <leader><esc> or user custom mappings.

This is same solution as old exVim.

@Viser
Copy link

Viser commented Jun 3, 2014

I'm getting insertion in text without pressing ESC. (e.g. <leader>u, <Up>) Is this the same issue?

@jwu
Copy link
Member Author

jwu commented Jun 3, 2014

This issue is caused by the vim terminal keycode. Vim use ^[ keycode simulate special key such as <UP>, <F1-12> in terminal. The ^[ represent to the key <ESC>. This key by default is used as exVim's plugin-window closing key.

To solve this problem. I just use <leader><ESC> as the close window key mapping in Terminal.

jwu added a commit that referenced this issue Jun 3, 2014
@jwu jwu closed this as completed Jun 3, 2014
YuJianrong pushed a commit to YuJianrong/exvim-main that referenced this issue Jul 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants