Email newsletter sending bite-sized Vim tips, tricks, plugins, and recipes https://xitter.cf/t.co/zkibO0Tj9A Find us now on Bluesky: https://xitter.cf/t.co/GS0uYHWbAV

New York, NY, US
Joined May 2017
The :reg command in Vim will show you the contents of your registers. The Peekaboo plugin shows a sidebar with the same automatically. 👉 Read the tip: bit.ly/39McpCp 📨 Subscribe for more: bit.ly/vimtricks
1
3
50
5,441
Remove lines matching a pattern with the g command: • :g/pattern/d - Remove lines matching pattern • :g!/pattern/d - Remove lines that do NOT match 👉 Read the tutorial: bit.ly/3e19bvX 📨 Subscribe to the newsletter: bit.ly/vimtricks
1
5
63
5,152
Did you know that Vim's built in netrw plugin lets you edit files remotely over SCP? 👉 Tutorial: bit.ly/2Hn2IPi 📨 Subscribe for weekly Vim tricks: bit.ly/vimtricks
1
18
3,727
Use text objects to make efficient changes: • da" - Delete Around quotes • di] - Delete Inside brackets • ci{ - Change Inside braces • dap - Delete Around Paragraph • vaw - Visually select Around Word 👉 Read: bit.ly/3o2Dff7 📨 Subscribe: bit.ly/vimtricks
1
11
99
5,046
Do you Vim 8's package manager or third-party options? Why? We wrote up an overview of 4 options in today's edition of VimTricks: • Vim 8 native • Pathogen • Vim-Plug • Vundle Read the post: bit.ly/2T1pRJG Get weekly Vim tips: bit.ly/vimtricks
1
2
12
3,013
Ctrl-a and Ctrl-x will increment or decrement the next number on the line. But also: • Use speeddating.vim to increment dates • Try visual-increment.vim to increment a whole list 👉 Read the tip: bit.ly/2GXIwU6 📨 Get weekly Vim tips: bit.ly/vimtricks
1
8
33
3,587
You can use ddp to move the current line down in Vim. But I use mappings for Ctrl-j and Ctrl-k to move one or more lines up or down quickly... 👉 Read the tip: bit.ly/3dhJuqn ✉️ Free weekly tips: bit.ly/vimtricks
3
26
2,799
Replace across multiple files in Vim, without any plugins: • :args path/* • :argdo %s/some/sub/g • :argdo update 👉 Read the tutorial: bit.ly/36vrTtP 📨 Get weekly Vim tips: bit.ly/vimtricks
5
57
3,365
Scroll two splits simultaneously in Vim with :set scrollbind or toggle with :set scb! Useful for comparing two files. Read the tip: bit.ly/33h01rb Subscribe for free weekly Vim tricks: bit.ly/vimtricks
8
1
57
3,666
Enable mouse support in Vim: set mouse=a Our blog post has a list of reasons. But the most useful, even for keyboard warriors, is to resize splits with a quick drag. 👉 Read the tip: bit.ly/3dsIjET 📨 Subscribe for more: bit.ly/vimtricks
2
15
2,982