![]() My command-line shell preference is zsh and one of my favorite zsh plugins is zsh-autosuggestions. However, it’s assigned to another shortcut by default, so it needs to be unassigned first. I think ⌃Space is a very handy key combination and should be assigned to a frequently used shortcut. You have to run one of the following commands after installing the VSCodeVim extension to have the same fluid behavior, as pointed out in the GitHub page of the extension: 1ĭefaults write ApplePressAndHoldEnabled -bool falseĭefaults write ApplePressAndHoldEnabled -bool falseĭefaults write ApplePressAndHoldEnabled -bool falseĭefaults delete -g ApplePressAndHoldEnabled For instance, even if you press and hold the j key, it only advances to the next line and it gets stuck there by default. Unfortunately, that’s not the case for Vim equivalents ( h, l, k, j). Pressing and holding the arrow keys ( ←, →, ↑, ↓) lets you fluidly navigate between rows (lines) and columns (characters) in the editor by default. You should only read this section if you use both VSCode and the VSCodeVim extension. System Preferences > Keyboard > Keyboard VSCodeVim Extension I adjust the settings like this, but you should experiment with each option on your favorite text editor and see what works for you the best: That’s why I frequently need to press and hold some keys for scrolling up/down/left/right in the editor.īy default, key repeat is too slow and the delay until repeat is too long to do that fluidly. I use Vim for text editing, which means I don’t use my mouse to navigate in the text editor. It’s quite simple, and the default shortcuts are pretty good. It’s no longer actively maintained, but I’ve been using it for a couple of years and I’ve had zero issues so far. ![]() Spectacle is a free app that lets you organize and resize your windows using keyboard shortcuts: System Preferences > Keyboard > Shortcuts > Keyboard > Move focus to next window Window Organizer: Spectacle Here’s how you can (re)assign a shortcut for that: What if you need to switch between windows of the same app? Sometimes, I have multiple iTerm2 windows or multiple VSCode windows open at the same time and I want to be able to quickly switch between those. ⌘Tab is pretty useful for switching between different apps. ITerm2 > Preferences > Keys > Key Bindings Switching Between Windows of the Same App However, I don’t like the default shortcuts for switching between tabs/panes. ![]() These default shortcuts for creating tabs & panes are pretty nice.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |