-
Notifications
You must be signed in to change notification settings - Fork 105
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
Vim keys behaving abnormally in ConEmu #402
Comments
Hello You can try: set term=xterm Regards |
Tried xterm. Even worse. Home key, arrow keys, and others also stop working. Can someone post a .vimrc with functioning home, end, arrow and delete keys? |
I will try to reproduce your issue today. Meanwhile press $ instead of end and x instead of del. |
Hello, I am sorry but I can't reproduce your issue. This is the .vimrc that I use but without it, everything works:
Are you running Pengwin directly from the start menu? Also, make sure that this check is disabled when you open the properties of the console: For alternative console I would recommend: https://github.com/mintty/wsltty/releases/tag/1.9.6 This has full xterm and WSL support Regards |
I'm using Pengwin in ConEmu terminal, but same occurred when launching directly from the start menu. Anyway I have fixed. I don't know what exactly was causing, but I emptied /etc/vim/vimrc and now all keys work as expected :-) Many thanks. |
I spoke too soon, is only working fine when launching Pengwin directly from the start menu, Conemu still has the problems I originally described above. My conemu task uses command:
@crramirez is this correct? Can you simulate this problem in conemu? |
Ok, this will take time, but I will test and tell you the results. |
Hi @crramirez were you able to reproduce this? |
Hello, Sorry for the delay. I configured correctly ConEmu following the instructions from here: https://conemu.github.io/en/BashOnWindows.html Be sure you have the latest version of ConEmu. Then import the config file for pengwin: In the import settings dialog, paste: https://raw.githubusercontent.com/crramirez/WLinux/crramirez/ftr/conemu/ConEmuPengwin.xml And click Open: The click Save settings. Close and open ConEmu. It should be running normally, with the pengwin icon in the tab. Regards |
Ok delete this:
Or import the xml again I fixed it there |
You beaut! Thanks @crramirez, you've unleashed the mighty Pengwin for me :-) |
Hi,
Pengwin's Bash experience is great, but I can't fix the Vim key mappings. End and Del keys don't work properly. According to the cat command, they are mapped as follows:
end: ^[[F
del: ^[[3
But with or without the following mapping in my .vimrc:
nmap <esc>OF $
, the end key does nothing. Vim freezes for a few seconds, then nothing. Home key works fine. The del key produces a tilde rather than deleting a character, but I've been focusing so far on fixing the end key.My inputrc file has:
"\eoF": end-of-line
Yes I know I can use $ instead of end, but I believe vim is a tool for using the keyboard to edit stuff. I'm still using the keyboard this way and the end key is more in-keeping with every other text editor.
Vim seems sensitive to the
set term=<terminal string>
line in vimrc. I've set this toset term=ansi
. Is this correct?The text was updated successfully, but these errors were encountered: