So I Started Using VIM
So I recently started using VIM and now I can’t stop typing :q
whenever I want to close random browser windows.
Here are the VIM plugins I’ve been using:
VIM Plug - for adding VIM plugins
Nerd Tree - VIM tree view
Nerd Tree Git - git plugin to view git status in tree view
Emmet - for fast HTML & CSS
And some basic VIM commands that I think everybody needs to know! :-)
:q
- to close, “quit”
:w
- to save, “write”
:wq
- to save and then close
:q!
- to force close, “quit”, without saving, “writing”
:u
- to “undo” your last command
:sort
- to sort
v
- to visually select
d
- to “delete”
y
- to copy, “yank”
p
- to “paste”