![]() ![]() Want to manually set the shortcuts? Just open this Gist and follow the instructions at the top of the file. □ To use shortcuts on the command palette lists, you need to first press Tab key to focus on the list. Allows user to select certain modifier keybindings and delegate them back to VSCode so that VSCodeVim does not process them. □ Hold Alt keys with delete next/previous shortcuts to delete by word. □ Hold Shift and/or Alt keys with these shortcuts to select text or move by word. □ You can also use these shortcuts on file explorer, sidebar lists/trees (e.g., find in files or source control,) auto-completion lists and breadcrumbs. I’ve listed the content to be appended to your keyboard.json file at the end of the post. ![]() The table below shows various navigations and their corresponding keyboard shortcut. It works well with your existing keyboard configurations and can be disabled at any moment via the extensions side bar. Now, you can enable these shortcuts on your VS Code instance by installing the VS Code Semi-Vim Shortcuts extension. Surprisingly it worked well and got improved over time which is why I’ve gradually got addicted to it. Disappointed of extensions, I set out to define my own customized keyboard shortcuts to make things work as expected. Actually, for me, the most wanted feature of Vim was its cursor navigation method but the extensions provided many more Vim-like features which necessitated more complicated user interaction. Some time ago, I wondered if I can mix the merits of Vim into VS Code, so spent my time on test driving several extensions. To name a few, simplicity, great performance, rich set of commands, diverse extensions and support for various languages are among the top revered characteristics of VS Code. However, I use VS Code in my daily work and am too satisfied with it. Maybe that’s a bit exaggerated, but still the effort surely pays off. ![]() Once you’ve mastered its brilliant way of cursor navigation and get used to some basic keyboard shortcuts, you’ll uncover a significant improvement in your coding time productivity. See the following screen capture to get a feeling of what to expect. Using them lets your hands to just stay in the Main Focus Area in the figure below. □ You can simply have a number of useful Vim-like navigation shortcuts (of course, without Vim’s command-based environment difficulties), by installing the VS Code Semi-Vim Shortcuts extension on VS Code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |