Skip to content

Commit

Permalink
chore(content/til): update "2024_08_22-edit_multiple_line_on_vim"
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Aug 22, 2024
1 parent ff5a1e0 commit 3b8b569
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/til/2024_08_22-edit_multiple_line_on_vim.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ tags: [vim,lunarvim,neovim,trick,shortcut,ide,editor,code]
For edit multiple lines, click <kbd>CTRL</kbd>+<kbd>V</kbd> for init block selection. Click <kbd>J</kbd> or <kbd>K</kbd> for select the lines, or use arrows up/down.

Now with lines selected, press <kbd>SHIFT</kbd>+<kbd>I</kbd> for insert on all lines, or <kbd>SHIFT</kbd>+<kbd>A</kbd> for insert on the end of all lines.

**ref:** https://vimtricks.com/p/edit-multiple-lines-at-once-in-vim/

0 comments on commit 3b8b569

Please sign in to comment.