Learn Vim
@learnvim
Followers
11K
Following
632
Media
362
Statuses
1K
Vim tips + tricks Want to support this page AND learn Vim? Check out https://t.co/2oJQx5huwf OR https://t.co/bcssgcdD4q Owned by @iggredible
Joined November 2019
If you want to learn more Vim, check out my Learn-Vim guide on Github! (Did I tell you it's free? 😁) https://t.co/jiBxeTTi7U
#vim
github.com
Learning Vim and Vimscript doesn't have to be hard. This is the guide that you're looking for 📖 - iggredible/Learn-Vim
1
34
108
@tobi As much as I love TextMate, I've come to realize the folly of being tied to one commercial OS on the basis of an editor. I considered going all-in on VSCode, but if I'm going to switch editor after 20 years, I'd like it to be my last change. Vim will be here and free in 100 years
28
6
187
If you have the jq command https://t.co/vPsCmoHQ9R installed, you can use it to format JSON in Vim! On the line where you have a large JSON object: { "foo": { "bar": { "foo_id": null, "bar_id": 98765, "baz_id": 12345 } } } Run: :.!jq . Vim bang operator/cmd: :h ! #vim
0
5
35
The vim-yoink plugin lets you to yank multiple times and quickly choose which yanked text to paste (with Ctrl-n/Ctrl-p). If you use copy/paste often, check it out! https://t.co/mDFRR6OSVK
#vim
0
3
11
If you want to resize, swap, and move windows, the winresizer plugin ( https://t.co/6lKmM78eUb) can quickly resize your vim window with its resize mode. Check it out! #vim
0
5
21
= is the filter operator (by default it indents). If you want to indent the entire buffer, run: gg=G - gg goes to the top - =G indent operator + all the way to the bottom Use `` to go back to the original location. Try: gg=G`` More: https://t.co/qjnzs74jVR :h = #vim
0
3
26
If you use fugitive.vim, you can use git grep to use a keyword in a specific branch / SHA :Ggrep MY_FOO some-branch :Ggrep MY_FOO some-sha Useful if you want to see if / how a text looks like in a different branch :h :Ggrep https://t.co/0mQAZHvKcM
#vim
github.com
fugitive.vim: A Git wrapper so awesome, it should be illegal - tpope/vim-fugitive
0
6
28
When you pass multiple file names when you run Vim from the terminal (vim bar.rb foobar.lua), Vim stores those files inside the argument lists, which you can access with :args You can navigate through the argument lists with :next, :prev, :first, :last. :h arglist #vim
0
1
8
Like Tim mentioned in the comment below, 'open' sounds a little ambiguous. I think a better way to say it is "to transfer the content from one file to the current file"
0
0
2