-
Notifications
You must be signed in to change notification settings - Fork 72
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
mappings like <C-Up> seems won't work with <Plug>(VM-Add-Cursor-Up) together #146
Comments
Terminal emulator? Does it work in vim? |
Also try to run the tutorial and see if it works there (it uses a minimal vimrc). |
Well, I used it on putty, used ssh together with tmux working on a remote server computer. I'm not sure that does it work one vim. I'm not using them together and the build-in vim version is 7.4.629, an old version. I've tried to run the tutorial, and also failed to work. ps: worked well and I enjoy it faster than vim-multipul-cursor |
Can you try with the v8.1.X or nVim >= v0.3.4? |
It could be a terminal issue, he should try with another terminal. Vim 7 is not supported anyway. |
I have the same problem. another question how can I change map to or other |
@rmGFW if that key combination doesn't work on your terminal try other keys. To remap keys: |
Also, I don't know in iterm, but for urxvt you can add this to
|
Thanks for the plugin! I do have the same problem, Option key does not work with nvim:
|
Adding the mapping manually in my .vimrc works fine btw
|
@palcalde terminal emulator? |
Iterm2 Build 3.3.12 |
it does not work on my vim , |
it works ,but if I change the key binding to and ,it will not work |
@palcalde try MacVim or use different mappings. I'm pretty sure it's a terminal issue. |
Oh no worries! Adding the mappings in my vimrc works like a charm 👍 |
Ok, so in nvim with iterm 2 I do receive when I press Option + j keys. However, in vim, it does not work cause I receive With this mapping I'm able to use Option key in vim>
|
Have you enabled Terminal.app: https://www.shell-tips.com/mac/meta-key/
Alternatively, if that does no work, you can map [1] https://thinkingeek.com/2012/11/17/mac-os-x-iterm-meta-key/ |
I tried, still does not send Thanks for your help anyway! |
@mg979 Is there a way to remap (VM-Add-Cursor-Up) and (VM-Add-Cursor-Down)? |
how can map |
works in neovim i have the remaps this way: let g:VM_maps["Add Cursor Down"] = '<C-S-Down>' " new cursor down
let g:VM_maps["Add Cursor Up"] = '<C-S-Up>' " new cursor up |
I got the same problem that <Ctrl+Up> and <Ctrl+Down> did not work as expected on macOS BigSur + Vim 8.2 + Iterm2. Finally, I realized <Ctrl+Up> and <Ctrl+Down> are system-level shortcut in macOS and this could be conflicting with the shortcuts of vim-visual-multi. In this case, it could be fixed by deactivating these shortcuts in System Preferences -> Keyboard -> Shortcuts -> Mission Control -> for <Ctrl+Up> and for <Ctrl+Down>. I know the fix could be irrelevant to this issue, but I'd like to post the solution here in case someone needs it. |
I use Terminal.app on Mac and needed to follow these instructions: http://www.blogface.org/2015/03/ctrl-in-emacs-in-mac-terminal.html |
The same here. Ctrl-Down/Ctrl-Up stopped working. But I'm using |
This is what worked for me.
|
I didn't want to turn off my default Mission Control shortcut, instead, I found that I can remap with Meta key like so:
|
In Iterm2, I fixed this issue by setting my profiles keymappings to use the xterm defaults. Fixed it immediately. |
Describe the issue:
It is the first day that I have tried vim-visual-multi, so I'm not that familiar with it. I tried to read the tutorial and doc, but
I have no idea why.
<C-Up>
,<C-Down>
,<S-Left>
,<S-Right>
mapping seems not working for me in neovim.I've checked the mapping of
<C-Up>
, it is<Plug>(VM-Add-Cursor-Up)
, but it just won't workI've tried to map
<Plug>(VM-Add-Cursor-Up)
to another key, it worked well.Also, map another function to
<C-Up>
seems working well too! They just won't work together!The text was updated successfully, but these errors were encountered: