Command line pro up
Thursday, October 2, 2014
VIM
Auto indent:
set smartindent
Make tabs into spaces:
set tabstop=4 set shiftwidth=4 set expandtab
Go to End of line:
$
Go to beginning of the line:
0
Go to end of file:
:$ <return>
String replacement:
:%s/foo/bar/g
boo boo
gaga gaga
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment