Email newsletter sending bite-sized Vim tips, tricks, plugins, and recipes https://t.co/zkibO0Tj9A
Find us now on Bluesky: https://t.co/GS0uYHWbAVvimtricks.com New York, NY, USJoined 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
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
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
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
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
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
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
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
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
Use :%! to filter the entire buffer through an external command. Many great uses for this, such as using Unix text tools or linting.
👉 bit.ly/3CqE5sE
📨 Subscribe for more tips: bit.ly/vimtricks
Stay in search mode in Vim by using Ctrl-g and Ctrl-t after searching for a pattern, instead of pressing enter. Refine your pattern faster this way.
Read the tip: bit.ly/2Gq6p6u
Subscribe for free Vim tips: bit.ly/vimtricks
3 ways to delete in insert mode - build edits you can repeat with dot:
• ctrl-h – Delete previous char
• ctrl-w – Previous word
• ctrl-u – Entire line (except indent)
👉 Read the tip: bit.ly/3onx4CM
📨 Subscribe for more: bit.ly/vimtricks
Indent or backdent the current line while in insert mode -- helps to make more repeatable edits.
• ctrl-t - Indent the current line
• ctrl-d - Backdent the current line
👉 Read the tip: bit.ly/3onx4CM
📨 Subscribe for more: bit.ly/vimtricks
Open a file directly to a pattern in Vim:
vim some_file.name +/your_pattern
Why? The pattern in your terminal history allows repetition. Useful for .env or config files.
👉Read the tip: bit.ly/2GvpSCE
📨 Free weekly tips: bit.ly/vimtricks
Did you know you can paste into Vim's command line with Ctrl-r and * ?
👉 Read the tip: bit.ly/3cDjbui
📨 Level up with our weekly VimTricks newsletter: bit.ly/vimtricks
Lost inside your parenthesis? Tangled up in a web of Lisp?
Vim can highlight the other side of your current bracket with :set showmatch
👉 Full write-up: bit.ly/2EvNfuR
📨 Subscribe for weekly Vim tricks: bit.ly/vimtricks
More accurately match patterns in Vim by using non-greedy matching:
Instead of using .* use .\{-}
👉 Read the tip: bit.ly/340ORGc
📨 Get exclusive tips and tricks in our newsletter: bit.ly/vimtricks
11K Followers 18 FollowingVim tips + tricks
Want to support this page AND learn Vim?
Check out
https://t.co/2oJQx5huwf
OR
https://t.co/bcssgcdD4q
Owned by @iggredible
27K Followers 292 FollowingTechnical excellence from a trusted friend and the highest author royalties around. We are pragmatic, and we are developers, for developers.
326 Followers 419 FollowingLead developer at Creo, a small freelance platform based in Croatia, Cakovec. Skilled in PHP (Laravel, Zend, CodeIgniter), JavaScript, HTML/CSS, design...
386K Followers 622 FollowingLove Linux/Unix, open source, and programming? Into Sysadmin & DevOps? Follow us! Boost your IT career with daily new tools, apps, and humor ⤵️
190K Followers 11K FollowingCool Unix/Linux Command Line tricks you can use in $TWITTER_CHAR_LIMIT characters or less. Here mostly to inspire. Also on https://t.co/YYJE9JpVnF
11K Followers 18 FollowingVim tips + tricks
Want to support this page AND learn Vim?
Check out
https://t.co/2oJQx5huwf
OR
https://t.co/bcssgcdD4q
Owned by @iggredible
38K Followers 1K FollowingHelping SaaS founders for 15 years via @startupspod. Educating and investing in startups through @microconf and @tinyseedfund. Wrote https://t.co/I5PVb459LT.
24K Followers 300 FollowingThe Database Guy. I am helping you get better with MySQL and PostgreSQL.
⚡️ https://t.co/WwHTfJFoA5
📝 https://t.co/zJpXKSTKve
🛠️ @stackbricksapp
1K Followers 758 FollowingCohost of @detunedradiopod. Husband to @lcatk. I code for money. My primary social media home is now here: https://t.co/AhleQiNPWm
2K Followers 829 Followingsolo building micro-SaaS apps 👑 Memberships for Notion ▰▰▰ https://t.co/bnsU3RrnET ▰▰▰ Rehost any webpage at your own domain ▰▰▰ https://t.co/LEEnX2HznF ▰▰▰ Carrd SEO ▰▰▰ https://t.co/A2A8n2aZje
2K Followers 875 FollowingCTO at @Savings_Utd. Maintainer and contributor in various Free and #OpenSource #Software projects.
Follow me at https://t.co/1Sq0llKD3b
2K Followers 13 FollowingThe premier conference for ed(1), the standard text editor.
A bit snarky.
Accessible at 300 baud.
Masto: @[email protected] https://t.co/9xThaFaYMH
18 Followers 52 FollowingMakers of @statusgator and @vim_tricks, among other things. Follow along with our journey to bootstrap profitable, sustainable businesses.
12K Followers 1K FollowingThe best friend you never knew you needed
Author: Understanding the 4 Rules of Simple Design https://t.co/F8DUpnYKnr
he/him
corey.haines on Threads