Vim Club (@ClubVim) header
Vim Club (@ClubVim) profile picture

1st rule: You do talk about Vim. Get ONE daily random Vim tip in your timeline and learn something new. by https://teapaw.org/t.co/iioPaMThr0

At the nearest terminal
Joined November 2018
Photo by Vim Club (@ClubVim)Photo by Vim Club (@ClubVim)Photo by Vim Club (@ClubVim)Photo by Vim Club (@ClubVim)
Replying to @ClubVim
:[v]split file-to-edit Otherwise, CTRL-w v, or s
1
2
186
The programming equivalent of stepping on a lego is using vim with caps lock on
38
56
7
687
41,371
Replying to @ClubVim
Say "inside word" or "around word" to think vim.
1
1
155
Sort lines in Vim: • :sort - sort all lines • :sort! - sort in reverse • :sort u - remove dupes and sort • :sort i - ignore case • :sort n - sort numerically 👉 Our tutorial has more ways: bit.ly/3gxMUFm 📨 Subscribe for weekly Vim tips: bit.ly/vimtricks
2
25
93
5,895
Call for lightning talks!! Want to show off something you've been working on or just want to get something off your chest to the global neovim/vim community? Join us this year and take part in a fun and fantastic ride 🎉🎉🙌🙌 Only needs to be 10 mins long ;)
1
8
1
36
14,860
Replying to @ClubVim
Ctrl-^ is handier for that, but knowing that the # register holds the name of the file associated with the previous buffer comes in handy. Paste that file name: "#p Read that file's contents: :r# Open another file in that files dir: :e #:h<tab> And on, and on... #vim
1
5
425
Remember these commands for writing all buffers at once: • :wa – Write all unsaved buffers • :xa/:wqa – Write all and quit • :qa – Quit but stop if any unsaved • :qa! – Quit Vim without saving 👉 Read the tip: bit.ly/3dbVkUM 📨 Subscribe: bit.ly/vimtricks
1
11
69
17,010
Ever forget what keybinding you mapped that command to in Vim? Me too. Search them: • :filter pattern imap (insert mappings) • :filter pattern nmap (normal) 👉 Read the tip: bit.ly/3mkIKoC ✉️ Subscribe for weekly tips: bit.ly/vimtricks
1
13
55
7,877
Your terminal probably has basic calculator program, bc. With Vim's filter (!) operator, we can quickly and easily do math! If you have a file with this: 1 + 1 11 * 11 3.14 * 10 * 10 At start of file, run: !{bc Or use visual selection + !bc. You get 2 121 314.00 #vim
3
2
19