![]() Either they cannot control one due to a motor impairment.Many users do not use a mouse (or similar pointing device): For macOS, Linux, and others, there exist similar keyboard shortcuts. Notice: we are talking specifically about Windows operating systems here. This does not only benefit disabled users, but also power users. Thus, it's crucial that any software (including websites) is operable by keyboard only. Many users control a computer using keyboard only, so no mouse or similar pointing device is available. Jump to the line I'm looking at by using relative line numbers and typing something like 15k (15 lines up).Controlling a computer with a keyboard only.gh displays the linter warning/error on the current line.gd jumps to the definition of the symbol (variable, function, import etc.).Some of my favourite and most often used features are: The navigation inside and between files is also brilliant.įor a quick overview, check out Using VSCode with the VIM Extension by Richard Bagshaw: VSCodeVim is a Vim emulator for Visual Studio Code.Ĭombined with the flexible shortcuts of the IDE itself, VSCodeVim allows me to create and change source code fast - significantly faster than otherwise. !(keyboardonly 03 vsvim.png "VSCodeVim extension for VS Code") I use VS Code nowadays ( who knew?) and probably the first extension I have installed was VSCodeVim. Probably all source code editors and IDEs support Vim mode in some form. Even Gmail has matching hotkeys! Vim mode in VS Code ![]() You will need to pick up the mouse a lot less often.Īs you'll see below, a lot of new solutions borrow from Vim's keybindings. The main thing to appreciate though is that the modal nature of Vim mode allows you to keep your hands on the home row of the keyboard so that you can touch-type without interruption. There are countless more tricks, shortcuts and all sorts of magic you can do with Vim.
0 Comments
Leave a Reply. |