-
Notifications
You must be signed in to change notification settings - Fork 29
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
cmd -> ctrl option in OS X #58
Comments
Neovim supports the GUI passing the command key already: neovim/neovim@99d4c8c |
@expipiplus1 So, do I have to map everything? As in map <d-a> <c-a>
map <d-b> <c-b>
map <d-c> <c-c>
map <d-d> <c-d>
map <d-e> <c-e>
" ... I'd like just a global option that makes noremap <c-s> :w<cr> instead of map <d-s> <c-s>
noremap <c-s> :w<cr> then pressing The thing is, my |
Well, it works! map <d-a> <c-a>
map <d-b> <c-b>
map <d-c> <c-c>
map <d-d> <c-d>
map <d-e> <c-e>
map <d-f> <c-f>
map <d-g> <c-g>
map <d-h> <c-h>
map <d-i> <c-i>
map <d-j> <c-j>
map <d-k> <c-k>
map <d-l> <c-l>
map <d-m> <c-m>
map <d-n> <c-n>
map <d-o> <c-o>
map <d-p> <c-p>
map <d-q> <c-q>
map <d-r> <c-r>
map <d-s> <c-s>
map <d-t> <c-t>
map <d-u> <c-u>
map <d-v> <c-v>
map <d-w> <c-w>
map <d-x> <c-x>
map <d-y> <c-y>
map <d-z> <c-z>
" rest of mappings as normal... LOL 😆 |
Wait, nevermind, it only works in terminal neovim (iTerm). Electron still intercepts things like If I try |
Hmmm, and I tried one that isn't intercepted by electron, but that doesn't even work: map <d-s> <c-s>
noremap <c-s> :echo "hello"<cr> but pressing |
neovim-e will have to implement this functionality, it looks as though iterm does it already. Apologies for not being more clear in my earlier message, I was in a bit of a hurry. |
@expipiplus1 It's all good! Asked at electron/electron: electron/electron#5261 |
Would be super nice if you could make
command
sendctrl
key in OS X so it's easy to use command key as ctrl key (similar to the popular iTerm2 app for OS X).The text was updated successfully, but these errors were encountered: