Skip to content

Instantly share code, notes, and snippets.

@jrusev
Last active January 19, 2016 14:05
Show Gist options
  • Save jrusev/dfb322ce3f19ba9b8892 to your computer and use it in GitHub Desktop.
Save jrusev/dfb322ce3f19ba9b8892 to your computer and use it in GitHub Desktop.

Revisions

  1. jrusev revised this gist Jan 19, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -12,6 +12,7 @@ Command | Description
    <kbd>C-v</kbd> | PageDown.
    <kbd>M-v</kbd> | PageUp.
    <kbd>Shift-→</kbd> | Move point from window to window using `Shift` and the arrow keys (like `C-x o`), see [WindMove](http://emacswiki.org/emacs/WindMove).
    <kbd>C-x h</kbd> | Select entire buffer
    <kbd>C-w</kbd> | Cut
    <kbd>M-w</kbd> | Copy
    <kbd>C-y</kbd> | Paste
  2. jrusev revised this gist Jul 8, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -44,6 +44,7 @@ Command | Description
    <kbd>C-c C-e</kbd> | Evaluate the form preceding point and display the result in the echo area. If invoked with a prefix argument, insert the result into the current buffer.
    <kbd>C-c M-o</kbd> | Clear the entire REPL buffer, leaving only a prompt.
    <kbd>C-c C-k</kbd> | Load (eval) the current buffer.
    <kbd>C-c ,</kbd> | Run tests for namespace.

    ## Projectile

  3. jrusev revised this gist Jul 6, 2015. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    ## Emacs

    http://www.shortcutworld.com/en/linux/Emacs_23.2.1.html

    Command | Description
    -------------------- |-------------------------------
    <kbd>C-x b</kbd> | Switch buffer.
  4. jrusev revised this gist Jul 6, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -31,8 +31,8 @@ Command | Description
    <kbd>C-x 0</kbd> | Kill this window
    <kbd>C-x 1</kbd> | Kill all other windows
    <kbd>M-; </kbd> | Insert or realign comment on current line; if the region is active, comment or uncomment the region instead
    <kbd>C-M-\\</kbd> | M-x indent-region
    <kbd>C-/</kbd> | Undo
    <kbd>C-M-\\</kbd> | M-x indent-region
    <kbd>C-/</kbd> | Undo

    ## Cider

  5. jrusev revised this gist Jul 6, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -32,6 +32,7 @@ Command | Description
    <kbd>C-x 1</kbd> | Kill all other windows
    <kbd>M-; </kbd> | Insert or realign comment on current line; if the region is active, comment or uncomment the region instead
    <kbd>C-M-\\</kbd> | M-x indent-region
    <kbd>C-/</kbd> | Undo

    ## Cider

  6. jrusev revised this gist Jul 6, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -31,7 +31,7 @@ Command | Description
    <kbd>C-x 0</kbd> | Kill this window
    <kbd>C-x 1</kbd> | Kill all other windows
    <kbd>M-; </kbd> | Insert or realign comment on current line; if the region is active, comment or uncomment the region instead
    <kbd>C-M-\</kbd> | M-x indent-region
    <kbd>C-M-\\</kbd> | M-x indent-region

    ## Cider

  7. jrusev revised this gist Jul 6, 2015. 1 changed file with 22 additions and 0 deletions.
    22 changes: 22 additions & 0 deletions emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -10,6 +10,28 @@ Command | Description
    <kbd>C-v</kbd> | PageDown.
    <kbd>M-v</kbd> | PageUp.
    <kbd>Shift-→</kbd> | Move point from window to window using `Shift` and the arrow keys (like `C-x o`), see [WindMove](http://emacswiki.org/emacs/WindMove).
    <kbd>C-w</kbd> | Cut
    <kbd>M-w</kbd> | Copy
    <kbd>C-y</kbd> | Paste
    <kbd>C-x s</kbd> | Save
    <kbd>M-b</kbd> | Back one word
    <kbd>M-f</kbd> | Foward one word
    <kbd>C-a</kbd> | Beginning of line
    <kbd>C-e</kbd> | End of line
    <kbd>C-n</kbd> | Next line
    <kbd>C-p</kbd> | Previous line
    <kbd>M-<</kbd> | Beginning of buffer
    <kbd>M-></kbd> | End of buffer
    <kbd>C-x C-f</kbd> | Find file
    <kbd>C-x b</kbd> | Switch buffer
    <kbd>C-x k</kbd> | Kill buffer
    <kbd>C-x 2</kbd> | Split-window-vertically
    <kbd>C-x 3</kbd> | Split-window-horizontally
    <kbd>C-x o</kbd> | Switch window
    <kbd>C-x 0</kbd> | Kill this window
    <kbd>C-x 1</kbd> | Kill all other windows
    <kbd>M-; </kbd> | Insert or realign comment on current line; if the region is active, comment or uncomment the region instead
    <kbd>C-M-\</kbd> | M-x indent-region

    ## Cider

  8. jrusev revised this gist Jul 6, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,8 @@ Command | Description
    -------------------- |-------------------------------
    <kbd>C-x b</kbd> | Switch buffer.
    <kbd>C-/</kbd> | Undo.
    <kbd>C-S</kbd> | Search forward.
    <kbd>C-s</kbd> | Search forward.
    <kbd>C-r</kbd> | Search backward.
    <kbd>M-x rgrep</kbd> | Search in files.
    <kbd>C-v</kbd> | PageDown.
    <kbd>M-v</kbd> | PageUp.
  9. jrusev revised this gist Jul 6, 2015. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -6,6 +6,8 @@ Command | Description
    <kbd>C-/</kbd> | Undo.
    <kbd>C-S</kbd> | Search forward.
    <kbd>M-x rgrep</kbd> | Search in files.
    <kbd>C-v</kbd> | PageDown.
    <kbd>M-v</kbd> | PageUp.
    <kbd>Shift-→</kbd> | Move point from window to window using `Shift` and the arrow keys (like `C-x o`), see [WindMove](http://emacswiki.org/emacs/WindMove).

    ## Cider
    @@ -14,7 +16,7 @@ Command | Description
    -------------------|-------------------------------
    <kbd>C-c M-n</kbd> | Switch the namespace of the REPL buffer to the namespace of the current buffer.
    <kbd>C-c C-e</kbd> | Evaluate the form preceding point and display the result in the echo area. If invoked with a prefix argument, insert the result into the current buffer.
    <kbd>C-c M-o</kbd> | Clear the entire REPL buffer, leaving only a prompt. Useful if you're running the REPL buffer in a side by side buffer.
    <kbd>C-c M-o</kbd> | Clear the entire REPL buffer, leaving only a prompt.
    <kbd>C-c C-k</kbd> | Load (eval) the current buffer.

    ## Projectile
  10. jrusev revised this gist Jul 1, 2015. 1 changed file with 9 additions and 1 deletion.
    10 changes: 9 additions & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -29,4 +29,12 @@ Command | Description

    Command | Description
    ---------------|-------------------------------
    <kbd>C-=</kbd> | Increases the selected region by semantic units. Just keep pressing the key until it selects what you want.
    <kbd>C-=</kbd> | Increases the selected region by semantic units. Just keep pressing the key until it selects what you want.

    ## multiple-cursors

    Command | Description
    -------------------|-------------------------------
    <kbd>C-></kbd> | Add multiple cursors forward.
    <kbd>C-<</kbd> | Add multiple cursors backward.
    <kbd>C-c C-<</kbd> | Marks all parts of the buffer that matches the current region.
  11. jrusev revised this gist Jul 1, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ Command | Description
    <kbd>C-/</kbd> | Undo.
    <kbd>C-S</kbd> | Search forward.
    <kbd>M-x rgrep</kbd> | Search in files.
    <kbd>Shift-→</kbd> | Move point from window to window using `Shift` and the arrow keys (like `C-x o`).
    <kbd>Shift-→</kbd> | Move point from window to window using `Shift` and the arrow keys (like `C-x o`), see [WindMove](http://emacswiki.org/emacs/WindMove).

    ## Cider

  12. jrusev revised this gist Jul 1, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -20,7 +20,7 @@ Command | Description
    ## Projectile

    Command | Description
    ------------------- -|-------------------------------
    ---------------------|-------------------------------
    <kbd>C-c p f</kbd> | Display a list of all files in the project. With a prefix argument it will clear the cache first.
    <kbd>C-c p d</kbd> | Display a list of all directories in the project. With a prefix argument it will clear the cache first.
    <kbd>C-c p s g</kbd> | Run grep on the files in the project.
  13. jrusev revised this gist Jul 1, 2015. No changes.
  14. jrusev revised this gist Jul 1, 2015. 1 changed file with 5 additions and 4 deletions.
    9 changes: 5 additions & 4 deletions emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -19,10 +19,11 @@ Command | Description

    ## Projectile

    Command | Description
    -------------------|-------------------------------
    <kbd>C-c p f</kbd> | Display a list of all files in the project. With a prefix argument it will clear the cache first.
    <kbd>C-c p d</kbd> | Display a list of all directories in the project. With a prefix argument it will clear the cache first.
    Command | Description
    ------------------- -|-------------------------------
    <kbd>C-c p f</kbd> | Display a list of all files in the project. With a prefix argument it will clear the cache first.
    <kbd>C-c p d</kbd> | Display a list of all directories in the project. With a prefix argument it will clear the cache first.
    <kbd>C-c p s g</kbd> | Run grep on the files in the project.

    ## expand-region

  15. jrusev revised this gist Jul 1, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ Command | Description
    <kbd>C-/</kbd> | Undo.
    <kbd>C-S</kbd> | Search forward.
    <kbd>M-x rgrep</kbd> | Search in files.
    <kbd>Shift-→/←</kbd>, <kbd>Shift-←</kbd> | Move point from window to window using `Shift` and the arrow keys (like `C-x o`).
    <kbd>Shift-→</kbd> | Move point from window to window using `Shift` and the arrow keys (like `C-x o`).

    ## Cider

  16. jrusev revised this gist Jul 1, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ Command | Description
    <kbd>C-/</kbd> | Undo.
    <kbd>C-S</kbd> | Search forward.
    <kbd>M-x rgrep</kbd> | Search in files.
    <kbd>Shift-→</kbd>, <kbd>Shift-←</kbd> | Move point from window to window using `Shift` and the arrow keys (like `C-x o`).
    <kbd>Shift-→/←</kbd>, <kbd>Shift-←</kbd> | Move point from window to window using `Shift` and the arrow keys (like `C-x o`).

    ## Cider

  17. jrusev revised this gist Jul 1, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ Command | Description
    <kbd>C-/</kbd> | Undo.
    <kbd>C-S</kbd> | Search forward.
    <kbd>M-x rgrep</kbd> | Search in files.
    <kbd>Shift-→</kbd> | Move point from window to window using `Shift` and the arrow keys (like `C-x o`).
    <kbd>Shift-→</kbd>, <kbd>Shift-←</kbd> | Move point from window to window using `Shift` and the arrow keys (like `C-x o`).

    ## Cider

  18. jrusev revised this gist Jul 1, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ Command | Description
    <kbd>C-/</kbd> | Undo.
    <kbd>C-S</kbd> | Search forward.
    <kbd>M-x rgrep</kbd> | Search in files.
    <kbd>Shift-→</kbd> | Move point from window to window using Shift and the arrow keys (like `C-x o`).
    <kbd>Shift-→</kbd> | Move point from window to window using `Shift` and the arrow keys (like `C-x o`).

    ## Cider

  19. jrusev revised this gist Jul 1, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ Command | Description
    <kbd>C-/</kbd> | Undo.
    <kbd>C-S</kbd> | Search forward.
    <kbd>M-x rgrep</kbd> | Search in files.

    <kbd>Shift-→</kbd> | Move point from window to window using Shift and the arrow keys (like `C-x o`).

    ## Cider

  20. jrusev revised this gist Jul 1, 2015. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -22,4 +22,10 @@ Command | Description
    Command | Description
    -------------------|-------------------------------
    <kbd>C-c p f</kbd> | Display a list of all files in the project. With a prefix argument it will clear the cache first.
    <kbd>C-c p d</kbd> | Display a list of all directories in the project. With a prefix argument it will clear the cache first.
    <kbd>C-c p d</kbd> | Display a list of all directories in the project. With a prefix argument it will clear the cache first.

    ## expand-region

    Command | Description
    ---------------|-------------------------------
    <kbd>C-=</kbd> | Increases the selected region by semantic units. Just keep pressing the key until it selects what you want.
  21. jrusev revised this gist Jul 1, 2015. 1 changed file with 6 additions and 4 deletions.
    10 changes: 6 additions & 4 deletions emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,11 @@
    ## Emacs

    Command | Description
    -------------------|-------------------------------
    <kbd>C-x b</kbd> | Switch buffer.
    <kbd>C-/</kbd> | Undo.
    Command | Description
    -------------------- |-------------------------------
    <kbd>C-x b</kbd> | Switch buffer.
    <kbd>C-/</kbd> | Undo.
    <kbd>C-S</kbd> | Search forward.
    <kbd>M-x rgrep</kbd> | Search in files.


    ## Cider
  22. jrusev revised this gist Jul 1, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,8 @@

    Command | Description
    -------------------|-------------------------------
    <kbd>C-c b</kbd> | Switch buffer.
    <kbd>C-x b</kbd> | Switch buffer.
    <kbd>C-/</kbd> | Undo.


    ## Cider
  23. jrusev revised this gist Jul 1, 2015. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,10 @@
    ## Emacs

    Command | Description
    -------------------|-------------------------------
    <kbd>C-c b</kbd> | Switch buffer.


    ## Cider

    Command | Description
  24. jrusev revised this gist Jul 1, 2015. 1 changed file with 9 additions and 2 deletions.
    11 changes: 9 additions & 2 deletions emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,15 @@
    ### CIDER
    ## Cider

    Command | Description
    -------------------|-------------------------------
    <kbd>C-c M-n</kbd> | Switch the namespace of the REPL buffer to the namespace of the current buffer.
    <kbd>C-c C-e</kbd> | Evaluate the form preceding point and display the result in the echo area. If invoked with a prefix argument, insert the result into the current buffer.
    <kbd>C-c M-o</kbd> | Clear the entire REPL buffer, leaving only a prompt. Useful if you're running the REPL buffer in a side by side buffer.
    <kbd>C-c C-k</kbd> | Load (eval) the current buffer.
    <kbd>C-c C-k</kbd> | Load (eval) the current buffer.

    ## Projectile

    Command | Description
    -------------------|-------------------------------
    <kbd>C-c p f</kbd> | Display a list of all files in the project. With a prefix argument it will clear the cache first.
    <kbd>C-c p d</kbd> | Display a list of all directories in the project. With a prefix argument it will clear the cache first.
  25. jrusev revised this gist Jul 1, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -5,4 +5,4 @@ Command | Description
    <kbd>C-c M-n</kbd> | Switch the namespace of the REPL buffer to the namespace of the current buffer.
    <kbd>C-c C-e</kbd> | Evaluate the form preceding point and display the result in the echo area. If invoked with a prefix argument, insert the result into the current buffer.
    <kbd>C-c M-o</kbd> | Clear the entire REPL buffer, leaving only a prompt. Useful if you're running the REPL buffer in a side by side buffer.
    <kbd>C-c C-n</kbd> | Eval the ns form.
    <kbd>C-c C-k</kbd> | Load (eval) the current buffer.
  26. jrusev revised this gist Jul 1, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -4,4 +4,5 @@ Command | Description
    -------------------|-------------------------------
    <kbd>C-c M-n</kbd> | Switch the namespace of the REPL buffer to the namespace of the current buffer.
    <kbd>C-c C-e</kbd> | Evaluate the form preceding point and display the result in the echo area. If invoked with a prefix argument, insert the result into the current buffer.
    <kbd>C-c M-o</kbd> | Clear the entire REPL buffer, leaving only a prompt. Useful if you're running the REPL buffer in a side by side buffer.
    <kbd>C-c M-o</kbd> | Clear the entire REPL buffer, leaving only a prompt. Useful if you're running the REPL buffer in a side by side buffer.
    <kbd>C-c C-n</kbd> | Eval the ns form.
  27. jrusev revised this gist Jul 1, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,5 @@
    Command | Description
    -------------------|-------------------------------
    <kbd>C-c M-n</kbd> | Switch the namespace of the REPL buffer to the namespace of the current buffer.
    <kbd>C-c C-e</kbd> | Evaluate the form preceding point and display the result in the echo area. If invoked with a prefix argument, insert the result into the current buffer.
    <kbd>C-c C-e</kbd> | Evaluate the form preceding point and display the result in the echo area. If invoked with a prefix argument, insert the result into the current buffer.
    <kbd>C-c M-o</kbd> | Clear the entire REPL buffer, leaving only a prompt. Useful if you're running the REPL buffer in a side by side buffer.
  28. jrusev revised this gist Jul 1, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -2,4 +2,5 @@

    Command | Description
    -------------------|-------------------------------
    <kbd>C-c M-n</kbd> | Switch the namespace of the REPL buffer to the namespace of the current buffer.
    <kbd>C-c M-n</kbd> | Switch the namespace of the REPL buffer to the namespace of the current buffer.
    <kbd>C-c C-e</kbd> | Evaluate the form preceding point and display the result in the echo area. If invoked with a prefix argument, insert the result into the current buffer.
  29. jrusev revised this gist Jul 1, 2015. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,4 @@
    ## CIDER

    C-c M-n Switch the namespace of the REPL buffer to the namespace of the current buffer.
    ### CIDER

    Command | Description
    -------------------|-------------------------------
  30. jrusev revised this gist Jul 1, 2015. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions emacs-cmds.md
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,6 @@

    C-c M-n Switch the namespace of the REPL buffer to the namespace of the current buffer.

    Keyboard shortcut | Description
    -------------------------------------|-------------------------------
    <kbd>C-c M-n</kbd> | Switch the namespace of the REPL buffer to the namespace of the current buffer.
    Command | Description
    -------------------|-------------------------------
    <kbd>C-c M-n</kbd> | Switch the namespace of the REPL buffer to the namespace of the current buffer.