2

I configured general "Edit" shortcuts like Ctrl+C, Ctrl+V, Ctrl+A, Ctrl+X, etc. shortcuts in "Linux/Windows" style trough System Preferences > Keyboard > Shortcuts > App shortcuts > All Applications like so:

enter image description here

I also swapped Mac's Fn -> Ctrl in "Modifier keys" and physical keys on keyboard. Running on Monterey 12.1 MacBook Pro M1

enter image description here

In some applications like Notes, Pages, Terminal, Telegram, Intelij IDEA it works as expected. But in some apps like Slack, RDM, and Chrome in some cases it works weird.

Most annoying is jumping to the end of the text area after pressing Ctrl+V somewhere inside the text while editing the text area. The first press of Ctrl+V jumps to the end of the text area, a second press of Ctrl+V will paste the text. Such behaviour repeats in Slack and Chrome text areas (in Chrome's address bar works fine).

Another annoying bug is sometimes Ctrl+A moves cursor to the start of the line instead of "Select All". Mostly repeats also in text areas of different apps (Slack, Chrome, Postman).

Looks like Mac has it own shortcuts for Ctrl+V and Ctrl+A specifically for text areas. I want to learn how to find them and disable/reassign.

1 Answer 1

4

I got the same problem and I think this answers your question and it worked for me. To be more specific, you need to mask ctrl +v by default.

$ mkdir ~/Library/KeyBindings/
$ vi ~/Library/KeyBindings/DefaultKeyBinding.dict
{
   "^v" = "noop:";
}
4
  • 1
    worked for me, but dont forget to logout+login, or restart system.
    – Bloodmoon
    Commented May 22, 2023 at 12:47
  • 1
    one more question, what if I want to disable more shortcuts like ^a and ^z?
    – Bloodmoon
    Commented May 22, 2023 at 13:01
  • This works for me on most apps, but not Jupyter Notebook. In Jupyter Notebook ctrl-v still jumps to paragraph end. I just figured out a simple solution and posted here github.com/jupyter/notebook/issues/4138#issuecomment-1636879969 Commented Jul 15, 2023 at 20:34
  • Yeah, this either doesn't work on Obsidian. I've given up Obisidian and chosen to use Notion.
    – Chen Chen
    Commented Apr 11 at 14:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .