petrstepanov / gnome-macos-remap

Script remaps default GNOME keyboard shortcuts to macOS standards. This provides native desktop environment feel for Mac users that are utilizing GNOME-based Linux desktop environment. Read more info about the script here: https://medium.com/@petrstepanov/a-macos-like-keyboard-remap-on-ubuntu-linux-cae1d108a97

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to prevent flipping Super and Control keys in the terminal?

Misaka13514 opened this issue · comments

I need to use some shortcut keys of vim in the terminal, such as visual block editing.

Currently I cannot use Ctrl+V because Control and Super are flipped. The Windows+V obviously conflicts with the paste operation.

Many commonly used shortcut keys cannot be used as well, such as Ctrl+Z.

@Misaka13514 this is a very good question. I wish there was a way to prevent flipping Super and Ctrl for the Terminal. However I do not think it is possible. Instead, Super+<letter> combinations can be overridden to Ctrl+<letter> for the Terminal window only. I have added a few of them, including your Ctrl+V and Ctrl+Z. Please give it a try and Let me know how it works for you.

Thank you @petrstepanov , although this is not a perfect solution, I think it can be used for the time being.

@Misaka13514 I highly doubt it is possible to achieve a perfection with this remapping task. In the end of the day if "it works" it does not necessarily has to be implemented in a "beautiful way".

it does not necessarily has to be implemented in a "beautiful way".

That's true.