
Follow for VIM Tips and tricks. Learn everyday something new in VIM editor. https://nitter.gq/t.co/Bi6SrWtNrq Notes, Rants and what not :)
Shell
Joined April 2020
- Tweets26
- Following49
- Followers8
- Likes3
NextVimmer retweeted
Okay, I finished the #neovim video!
It's scheduled on YouTube for tomorrow at 10am central.
Feel free to subscribe and/or follow along here.
I hope you enjoy it and find value in it.
etm.im/youtube
NextVimmer retweeted
Sometimes you need to delete chunks of multiple lines at once. The :g command got your back.
Earlier I needed to delete the `rescue StandardError` line PLUS the following empty string ''. To do this in one swoop, run:
:g/rescue StandardError/.,+1 d
#vim
NextVimmer retweeted
Someone asked me what I do. I said I like to work with good people with bad problems.
What are you all upto? Any #VIM tricks that you want to share with me? #editors #webdevelopment #Javascript #ReactJS
Use Ctrl+Z to suspend VIM session and go back to terminal. Once finished with terminal use `fg` terminal command to get back to VIM session.
In VIM you do something like this.
Shift+v : highlights the line where cursor is
Then press > : indents one step to the right
it will indent highlighted line one step to the right.
Press > again to indent it again. Press . to repeat this action.
NextVimmer retweeted
just noticed that yesterday my business (wizardzines.com) reached $500,000 (CAD 🇨🇦) in lifetime sales!
would really have never believed this was possible when I made my first zine in 2015 or when I started selling them in 2017, thank you all so much for the support ❤
NextVimmer retweeted
Start Vim. Hit Ctrl+o+o. See what happens! :)
Keep holding Ctrl and keep hitting o. Magic!
masteringvim.com
In #vim, we can reselect last Visual Selection using `gv` in normal mode.
Try this on Normal mode:
<shift>+V |--- select Line
jjj |--- select 3 line downwards
<Esc> |--- Switch to Normal mode
gv |--- Reselect last visual selection
#Matchit is popular #vim plugin that allows us to jump between tags. Here, I have written a guide on how to get it working with #Typescript and #ReactJS based project. nextvimmer.netlify.app/posts…
1
We can open file with cursor at specific position in #Vim . All we have to do is pass +{lineNumer} while opening file. e.g. vim filename.txt +5, vim will open filename.txt and place cursor at first word of line 5. #editor #reactjs #javascript #webdeveloper #ide







