Skip to content

Commit

Permalink
basics: add visual line and block commands
Browse files Browse the repository at this point in the history
Resolve #32
  • Loading branch information
practicalli-johnny committed Jan 22, 2024
1 parent 362f92f commit d3487db
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- basics: neovim registers guide
- basics: creating a directory with telescope or commands
- intro: add :help news to features page
- basics: add visual line and block commands

### Changed
- ci: spell lychee & repository trufflehog linters warn only (false positives)
Expand Down
13 changes: 11 additions & 2 deletions docs/reference/modal-editing/visual-select.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,17 @@ Select characters, words, lines and regions with visual select. The background
`o` to expand from left side of selection and `O` to expand from the right side of a selection, using the `hjkl` navigation keys


## Visual Line selection
## Line and block

`V` to select by lines, using `j` and `k`.
++"V"++ enters visual line select mode

++"j"++ and ++"k"++ alter the selection by line


++ctrl+"v"++ enters visual region select mode

!!! HINT "Switch between visual modes"
Once in visual mode:

++"V"++ switches to visual line mode
++ctrl+"v"++ switches to visual line mode

0 comments on commit d3487db

Please sign in to comment.