Skip to content

Instantly share code, notes, and snippets.

@smarigowda
Last active August 29, 2015 14:08
Show Gist options
  • Save smarigowda/67761d4abbe1ebfff60a to your computer and use it in GitHub Desktop.
Save smarigowda/67761d4abbe1ebfff60a to your computer and use it in GitHub Desktop.
My Commands
ctrl + u -- clear command line
ctrl + y -- recall cleared line
ctrl + w -- clear the previous word
curl -k https://localhost:443/.... -- turn off ssl certification
curl -v -k https://... -- response headers
curl -v -k -X POST http://localhost:3000
curl -v -k -X DELETE -b skySSO=00-058bd7d38838... -- sending cookie
-- using xargs
ls RUN_*/extracts/* | xargs grep cat
-- clear highlight
:noh
-- highlight cursorline
:hi CursorLine cterm=NONE ctermbg=darkred ctermfg=white
-- jump back to nerdtree
ctrl-ww
-- indent multiple lines
V> -- indent one line
Vj> -- indent two lines
Vjj> -- indent 3 lines
-- custom vim function to open hyperlinks
https://gist.github.com/danchoi/6453034
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment