One annoying problem is now we have to press Esc or Capslock twice in Vim.Go to System Preferences => Keyboard => Modifier keys to remap Capslock to Esc.We have 2 approaches to do this.Īpproach 1: Remap Capslock to Esc and remap tmux to Esc On Mac, one popular solution is to change the prefix to Capslock key because it's rarely used and very well positioned. Prefix key is one of the most commonly used keys, so it's super important to map it to a single key instead of Ctrl B or Ctrl A as some people might prefer. Now, when we press r, nf will be reloaded to reflect our new settings. # Set reload key to r bind r source - file ~/.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |