mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-09-19 08:07:28 +03:00
Merge branch 'master' into delegate-keys-config
This commit is contained in:
commit
008a4f4869
@ -320,12 +320,13 @@ This project is maintained by a group of awesome [people](https://github.com/VSC
|
||||
|
||||
## Awesome Features You Might Not Know About
|
||||
|
||||
Vim has a lot of nooks and crannies. VSCodeVim preserves some of the coolest nooks and crannies of Vim. Some of our favorite include:
|
||||
Vim has a lot of nooks and crannies. VSCodeVim preserves some of the coolest nooks and crannies of Vim. And then we add some of our own! Some of our favorite include:
|
||||
|
||||
* `gd` - jump to definition. _Astoundingly_ useful in any language that VSCode provides definition support for. I use this one probably hundreds of times a day.
|
||||
* `gq` on a visual selection - Reflow and wordwrap blocks of text, preserving commenting style. Great for formatting documentation comments.
|
||||
* `gc`, which adds another cursor on the next word it finds which is the same as the word under the cursor.
|
||||
* `af`, a command that I added in visual mode, which selects increasingly large blocks of text. e.g. if you had "blah (foo [bar 'ba|z'])" then it would select 'baz' first. If you pressed az again, it'd then select [bar 'baz'], and if you did it a third time it would select "(foo [bar 'baz'])".
|
||||
* `gh`, another custom VSCodeVim command. This one is equivalent to hovering your mouse over wherever the cursor is. Handy for seeing types and error messages without reaching for the mouse!
|
||||
|
||||
(The mnemonic: selecting blocks is fast af! :wink:)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user