Skip to content

Instantly share code, notes, and snippets.

@dylandy
Created November 25, 2016 10:45
Show Gist options
  • Save dylandy/7f07f0726202db7e13a78495feaebd2a to your computer and use it in GitHub Desktop.
Save dylandy/7f07f0726202db7e13a78495feaebd2a to your computer and use it in GitHub Desktop.
vim cheat sheet
; to search and replace all origin_words from current document.
; 1,$ stands for from first line to last line.
:1,$ s/origin_word/replace_word/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment