GNU Emacs v22.1.1 (mac-apple-darwin)
ctl control key
met escape / option / alt key (settings -> keyboard -> use option as meta key)
cmd command key / apple key
//FILES, BUFFERS
ctl + X, ctl + F open file, find file
ctl + X, ctl + V find alternate file
ctl + X, ctl + S save
ctl + X, ctl + W save as
met + X, revert-buffer revert
ctl + X, K close, kill buffer
ctl + X, ctl + Q toggle buffer read-only
ctl + X, ctl + B list buffers
ctl + X, B toggle between 2 buffers
ctl + x, B, [temp] new temp buffer
ctl + X, right select next buffer, loop
ctl + X, left select prev buffer, loop
ctl + G abort command, escape minibuffer
//NAVIGATE
met + V page up
ctl + V page down
met + < move cursor to start of file
met + > move cursor to end of file
ctl + A move cursor to start of line
ctl + E move cursor to end of line
met + B move cursor left 1 word
met + F move cursor right 1 word
ctl + L center current line in window
cmd + right focus next window, loop
ctl + X, RM set bookmark
ctl + X, RB goto bookmark
met + X, goto-line, 42
//EDIT
ctl + J new line with indentation
ctl + M, ctl + K delete sentence
met + C capitalize word, repeat
met + U uppercase word, repeat
met + L lowercase word, repeat
ctl + X, I insert file
ctl + X, U undo
met + / abbreviation
met + X, abbrev-mode word abbreviation
ctl + X, AIL add-inverse-local
[abb] abbreviation, br
[def] definition, <br />
;LISP, SHELL
ctl + met + X define function, cursor outside last paren
ctl + X, ctl + E eval expression, eval-last-sexp
ctl + G, Q abort command, quit debugger, lisp error
met + ! run shell command, ls -1alt ~/*.txt
//MISC
ctl + X, ctl + C quit/exit
cmd + I apple terminal inspector
ctl + H help
ctl + H, M describe mode
ctl + Z suspend
FG restart from suspend, fg = foreground
//SEARCH
ctl + S, [text] search, i-search, incremental
ctl + S search forward, find next match
enter stop search
ctl + R, [text] search reverse
ctl + R search reverse, find previous match
ctl + S, ctl + W search current word at cursor, cursor first letter
//REGEX SEARCH
ctl + met + S, [regex] regex search, eg [0-9] instead of \d
ctl + S, ctl + Q, [tab] regex search tab characters
met + X, query-replace-regexp regex search and replace, prompt
Y/N replace/do not replace, skip
met + X, replace-regexp regex search and replace all, no prompt
CRM BUFFER SIZE MODE FILE
.% file1.txt 1234 Text ~/file1.txt
* file2.el 500 Emacs-Lisp ~/file2.el
* *scratch* 100 Lisp Interaction
* *Messages* 200 Fundamental
CRM
. current
% read only
* modified
MODE LINE
-uu-:---F1 file1.txt (write)
-uu-:%%-F1 file1.txt (read-only)
-uu-:**-F1 file1.txt (edit)
-uu-:%*-F1 file1.txt (read-only, edit)
Showing posts with label shortcuts. Show all posts
Showing posts with label shortcuts. Show all posts
5/2/12
Emacs Keyboard Shortcuts
8/20/10
Visual Studio 2010 Keyboard Shortcuts
v5-11 ctl + R, ctl + R refactor rename ctl + alt + R view web browser ctl + R, T run tests in current context ctl + R, ctl + T debug tests in current context ctl + R, A run all tests in solution ctl + R, ctl + A debug all tests in solution ctl + \, ctl + M tfs team explorer alt + V, E, I tfs view history alt + V, E, H tfs view pending changes alt + V, E, S tfs view source code explorer ctl + M, ctl + G goto mvc view/controller ctl + I incremental search ctl + shf + I reverse incremental search ctl + F3 find using current selection ctl + ] match braces, opening & closing ctl + shf + ] select code between braces ctl + M, ctl + H hide selection ctl + M, ctl + U unhide selection ctl + M, ctl + O collapse to definitions ctl + M, ctl + T collapse tag - htm, aspx ctl + M, ctl + M toggle outline expansion, current section ctl + M, ctl + L toggle all outlining ctl + K, ctl + K toggle bookmark ctl + E, ctl + W toggle word wrap ctl + K, ctl + C comment selection ctl + K, ctl + U uncomment selection ctl + K, ctl + X code snippet ctl + K, ctl + B code snippet manager ctl + shf + U uppercase selection ctl + U lowercase selection ctl + alt + O output window ctl + alt + C call stack ctl + alt + I immediate window ctl + alt + A command window ctl + alt + T document outline window, use w/htm files ctl + alt + U modules window ctl + \, E error list window ctl + \, ctl + E error list window ctl + alt + V, A autos window ctl + alt + V, L locals window shf + F9 quick watch ctl + alt + W, 1 watch 1 window (1-4) ctl + alt + B breakpoints window ctl + F9 toggle enable breakpoint ctl + shf + F9 delete all breakpoints ctl + K, ctl + W bookmark window ctr + \, D code definition window ctl + - navigate backward ctl + shf + - navigate forward ctl + F6 navigate open windows forward ctl + shf + F6 navigate open windows backward ctl + tab select open windows dialog ctl + shf + tab select open windows dialog backward ctl + alt + down arrow list open documents ctl + alt + P attach to process shf + alt + enter toggle full screen alt + U restore from full screen ctl + f2 focus on navigation bar alt + W, W show windows window alt + - show float/dock window menu F5 start debugging ctl + F5 start without debugging shf + F5 stop debugging alt + num + * show next statement ctl + shf + F10 set next statement ctl + F10 run to cursor shf + F10 context menu, popup ctl + shf + B build solution alt + B, R rebuild solution alt + B, U build current project alt + B, E rebuild current project alt + B, G build webform page/user control ctl + break cancel build ctl + alt + L view solution explorer, highlight active file alt + enter show file properties/property pages for active item in solution explorer shf + F4 show property pages for active project/solution in solution explorer F4 show file properties for active item in solution explorer ctl + F4 close active code window F9 toggle breakpoint F10 debug step over F11 debug step into shf + F11 debug step out f12 goto definition ctl + alt + J object browser ctl + alt + S server explorer //command window (ctl + alt + A) File.Close closes currently selected window, including solution explorer File.TfsHistory tfs history for currently selected file View.F#Interactive f# interactive //F# ctl + alt + F f# interactive alt + enter send selected code to f# interactive //SQL ctl + shf + E execute sql ctl + F5 validate sql syntax ctl + shf + alt + R show/hide sql results pane, toggle ctl + T show results as text ctl + shf + E show results as grid
Subscribe to:
Posts (Atom)