Skip to content

Instantly share code, notes, and snippets.

@oudam-meas
Last active March 3, 2018 01:47
Show Gist options
  • Save oudam-meas/4ea442abf4e21b9bf27b7618a95bf8d4 to your computer and use it in GitHub Desktop.
Save oudam-meas/4ea442abf4e21b9bf27b7618a95bf8d4 to your computer and use it in GitHub Desktop.

EDITING INSERT

  • i
  • I
  • a
  • A
  • o
  • O DELETING
  • x
  • X
  • dd
  • D
  • d then . : Delete Left ONE Character and . is used for repeated action
  • d then . : Delete Right ONE Character and . is used for repeated action

MOTIONS DELETE

  • dw
  • d$
  • d0
  • db
  • dt
  • di< ( or " or ' or { or [ > VISULIZE

** NAVIAGTION ** ** SAVE / EXITING **

  • w : Map this in .vimrc file for quick save - nmap w :w!
  • ZZ : Quick Save and Close
  • ZQ : Quick Close WITHOUT Saving

** COMMAND / PANE **

  • :! : Execute any terminal command
  • :vsp <path_to_file> : Split pane verically and set the recent opened pane active
  • :sp <path_to_file> : Split pane horizontally and set the recent opened pane active
  • c-ww : Ctrl+ww navigate through all the opened pane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment