Skip to content

Instantly share code, notes, and snippets.

@booyaa
Last active December 19, 2015 15:19
Show Gist options
  • Save booyaa/5975658 to your computer and use it in GitHub Desktop.
Save booyaa/5975658 to your computer and use it in GitHub Desktop.
editors muscle memory

##editors muscle memory

###select a block

  • vim ``v|V``` (block/line)
  • visual studio shift and arrow keys
  • emacs

###copy

###paste

###move

###collapse

  • vim za|c - expand/collapse if supported
  • visual studio
  • C-M C-O - collapse)
  • C-M C-L - expand all)
  • C-M C-M - toggle current context

###search

  • vim /term/i - /i case insensitive
  • vs C-F

###nav

  • vim f3 - if tagbar is installed
  • vs
  • CTRL-,
  • F12 go to definition

###replace

###refactor

###build

  • vs - C-M-B - rebuild everything

###outlining

####promote

word - S-TAB

####demote

word - TAB

####collapse/expand by levels

word - A-S-n - expand/collapse n levels word - A-S-a - expand/collapse all

####collapse/expand children

word - A-S-+/- - expand/collapse, repeat to affect children

####move items up and down level

word - A-S-up/down

####demote to text

word - C-S-N

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment