Last active
August 25, 2025 15:09
-
-
Save heroheman/befa66b5b4dc5d94682206ece4a91a18 to your computer and use it in GitHub Desktop.
Revisions
-
heroheman revised this gist
Mar 13, 2019 . 1 changed file with 8 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Shortcut | Description `SPC TAB` | Switch window to previous buffer `SPC ?` | Search for Keybinding ### Window Management `SPC w` Shortcut | Description ---|--- `SPC w /` | Vertical Split Window @@ -24,7 +24,7 @@ Shortcut | Description `SPC w =` | Balance Windows `SPC w m` | toggle maximize window ### File Management `SPC f` Shortcut | Description ---|--- `SPC f s` | Save buffer @@ -33,22 +33,22 @@ Shortcut | Description `SPC f t` | Show NeoTree Fileexplorer `SPC f R` | Rename current buffer ### Buffer Management `SPC b` Shortcut | Description ---|--- `SPC b b` | list open buffer; show actions with `CTRL z` `SPC b d` | kill current buffer `SPC b p` | previous buffer `SPC b n` | next buffer ### Project Management `SPC p` Shortcut | Description ---|--- `SPC p p` | Search Projects `SPC p f` | Search in Project `SPC p h` | Search in Project and open buffers ### Helm Lists Shortcut | Description ---|--- `CTRL k` | Down @@ -58,6 +58,8 @@ Shortcut | Description `CTRL z` | Open action menu ## Web Mode see: https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/html ### General Shortcut | Description ---|--- `SPC m g p` | quickly navigate CSS rules using helm @@ -77,9 +79,8 @@ Shortcut | Description ## Javascript see: https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/javascript ### JS Refactoring Shortcut | Description ---|--- `SPC m w` | toggle js2-mode warnings and errors -
heroheman revised this gist
Mar 13, 2019 . 1 changed file with 23 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -57,7 +57,27 @@ Shortcut | Description `CTRL SPC` | Mark File `CTRL z` | Open action menu ## Web Mode Shortcut | Description ---|--- `SPC m g p` | quickly navigate CSS rules using helm `SPC m e h` | highlight DOM errors `SPC m g b` | go to the beginning of current element `SPC m g c` | go to the first child element `SPC m g p` | go to the parent element `SPC m g s` | go to next sibling `SPC m h p` | show xpath of the current element `SPC m r c` | clone the current element `SPC m r d` | delete the current element (does not delete the children) `SPC m r r` | rename current element `SPC m r w` | wrap current element `SPC m z` | fold/unfold current element `%` | evil-matchit keybinding to jump to closing tag `SPC m .` | Transient state with further actions ## Javascript ### JS Refactoring see: https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/javascript#refactoring-js2-refactor Shortcut | Description @@ -73,7 +93,7 @@ Shortcut | Description `SPC m x m j` | move line down, while keeping commas correctly placed `SPC m x m k` | move line up, while keeping commas correctly placed ### Tern Shortcut | Description ---|--- `SPC m C-g` | brings you back to last place you were when you pressed M-.. @@ -83,7 +103,7 @@ Shortcut | Description `SPC m h t` | find the type of the thing under the cursor `SPC m r r V` | rename variable under the cursor using tern ### JS Doc Shortcut | Description ---|--- `SPC m r d b` | insert JSDoc comment for current file -
heroheman revised this gist
Mar 13, 2019 . 1 changed file with 10 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -73,6 +73,16 @@ Shortcut | Description `SPC m x m j` | move line down, while keeping commas correctly placed `SPC m x m k` | move line up, while keeping commas correctly placed ## Tern Shortcut | Description ---|--- `SPC m C-g` | brings you back to last place you were when you pressed M-.. `SPC m g g` | jump to the definition of the thing under the cursor `SPC m g G` | jump to definition for the given name `SPC m h d` | find docs of the thing under the cursor. Press again to open the associated URL (if any) `SPC m h t` | find the type of the thing under the cursor `SPC m r r V` | rename variable under the cursor using tern ## JS Doc Shortcut | Description ---|--- -
heroheman revised this gist
Mar 13, 2019 . 1 changed file with 2 additions and 19 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -84,29 +84,12 @@ Shortcut | Description ## GIT Shortcut | Description ---|--- `SPC g s` | open a magit status window `SPC g S` | stage current file `SPC g M` | display the last commit message of the current line in popup `SPC g t` | launch the git time machine `SPC g U` | unstage current file `SPC m g f U` | show commits from current file ## Org Mode -
heroheman revised this gist
Mar 13, 2019 . 1 changed file with 28 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -36,7 +36,7 @@ Shortcut | Description ## Buffer Management `SPC b` Shortcut | Description ---|--- `SPC b b` | list open buffer; show actions with `CTRL z` `SPC b d` | kill current buffer `SPC b p` | previous buffer `SPC b n` | next buffer @@ -81,6 +81,33 @@ Shortcut | Description `SPC m r d t` | insert tag to comment `SPC m r d h` | show list of available jsdoc tags ## GIT Shortcut | Description ---|--- `SPC g b` | open a magit blame `SPC g B` | quit magit blame `SPC g c` | commit changes `SPC g C` | checkout branches `SPC g d` | show diff prompt `SPC g D` | show diff against current head `SPC g e` | show ediff comparison `SPC g E` | show ediff against current head `SPC g f` | show fetch prompt `SPC g F` | show pull prompt `SPC g H c` | clear highlights `SPC g H h` | highlight regions by age of commits `SPC g H t` | highlight regions by last updated time `SPC g i` | git init a given directory `SPC g I` | open helm-gitignore `SPC g l` | open a magit log `SPC g L` | display the log for a file `SPC g P` | show push prompt `SPC g s` | open a magit status window `SPC g S` | stage current file `SPC g m` | display the last commit message of the current line `SPC g t` | launch the git time machine `SPC g U` | unstage current file ## Org Mode ... someday -
heroheman revised this gist
Mar 13, 2019 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -74,6 +74,8 @@ Shortcut | Description `SPC m x m k` | move line up, while keeping commas correctly placed ## JS Doc Shortcut | Description ---|--- `SPC m r d b` | insert JSDoc comment for current file `SPC m r d f` | insert JSDoc comment for function `SPC m r d t` | insert tag to comment -
heroheman revised this gist
Mar 12, 2019 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -73,6 +73,12 @@ Shortcut | Description `SPC m x m j` | move line down, while keeping commas correctly placed `SPC m x m k` | move line up, while keeping commas correctly placed ## JS Doc `SPC m r d b` | insert JSDoc comment for current file `SPC m r d f` | insert JSDoc comment for function `SPC m r d t` | insert tag to comment `SPC m r d h` | show list of available jsdoc tags ## Org Mode ... someday -
heroheman revised this gist
Mar 12, 2019 . 1 changed file with 10 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -63,7 +63,17 @@ see: https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/javascript Shortcut | Description ---|--- `SPC m w` | toggle js2-mode warnings and errors `SPC m r 3 i` | converts ternary operator to if-statement `SPC m r c a` | converts a multiline array to one line `SPC m r e a` | converts a one line array to multiline `SPC m r c o` | converts a multiline object literal to one line `SPC m r e o` | converts a one line object literal to multiline `SPC m r l t` | adds a console.log statement for what is at point (or region) `SPC m r s s` | splits a string `SPC m x m j` | move line down, while keeping commas correctly placed `SPC m x m k` | move line up, while keeping commas correctly placed ## Org Mode ... someday -
heroheman revised this gist
Mar 12, 2019 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -57,6 +57,13 @@ Shortcut | Description `CTRL SPC` | Mark File `CTRL z` | Open action menu ## JS Refactoring see: https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/javascript#refactoring-js2-refactor Shortcut | Description ---|--- `SPC m w` | toggle js2-mode warnings and errors ## Org Mode ... someday -
heroheman renamed this gist
Mar 15, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
heroheman revised this gist
Mar 9, 2018 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,6 +10,7 @@ Shortcut | Description `SPC q Q` | Quit Emacs w/o Prompt `SPC f t` | Toggle NeoTree `SPC TAB` | Switch window to previous buffer `SPC ?` | Search for Keybinding ## Window Management `SPC w` Shortcut | Description -
heroheman revised this gist
Mar 9, 2018 . No changes.There are no files selected for viewing
-
heroheman revised this gist
Mar 9, 2018 . 1 changed file with 28 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,9 +9,9 @@ Shortcut | Description `SPC q q` | Quit Emacs w/ Prompt `SPC q Q` | Quit Emacs w/o Prompt `SPC f t` | Toggle NeoTree `SPC TAB` | Switch window to previous buffer ## Window Management `SPC w` Shortcut | Description ---|--- `SPC w /` | Vertical Split Window @@ -23,7 +23,7 @@ Shortcut | Description `SPC w =` | Balance Windows `SPC w m` | toggle maximize window ## File Management `SPC f` Shortcut | Description ---|--- `SPC f s` | Save buffer @@ -32,6 +32,30 @@ Shortcut | Description `SPC f t` | Show NeoTree Fileexplorer `SPC f R` | Rename current buffer ## Buffer Management `SPC b` Shortcut | Description ---|--- `SPC b b` | list open buffer `SPC b d` | kill current buffer `SPC b p` | previous buffer `SPC b n` | next buffer ## Project Management `SPC p` Shortcut | Description ---|--- `SPC p p` | Search Projects `SPC p f` | Search in Project `SPC p h` | Search in Project and open buffers ## Helm Lists Shortcut | Description ---|--- `CTRL k` | Down `CTRL j` | Up `CTRL h` | parent folder (in file view) `CTRL SPC` | Mark File `CTRL z` | Open action menu ## Org Mode ... someday -
heroheman revised this gist
Mar 9, 2018 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Shortcut | Description `SPC f e R` | Reload Configuration `SPC SPC` | Search Emacs `SPC h SPC` | Search Spacemacs Layer `SPC f s` | Save Buffer `SPC q q` | Quit Emacs w/ Prompt `SPC q Q` | Quit Emacs w/o Prompt `SPC f t` | Toggle NeoTree @@ -26,7 +26,11 @@ Shortcut | Description ## File Management Shortcut | Description ---|--- `SPC f s` | Save buffer `SPC f S` | Save all open buffer `SPC f f` | Find file `SPC f t` | Show NeoTree Fileexplorer `SPC f R` | Rename current buffer ## Project Management ## Org Mode -
heroheman revised this gist
Mar 8, 2018 . 1 changed file with 23 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,16 @@ ## General Shortcut | Description ---|--- `SPC f e d` | Open Configuration `SPC f e R` | Reload Configuration `SPC SPC` | Search Emacs `SPC h SPC` | Search Spacemacs Layer `SPC f s` | Save File `SPC q q` | Quit Emacs w/ Prompt `SPC q Q` | Quit Emacs w/o Prompt `SPC f t` | Toggle NeoTree ## Window Management Shortcut | Description ---|--- @@ -8,4 +21,13 @@ Shortcut | Description `SPC w 3` | Layout Triple Columns `SPC w h/j/k/l` | Window Navigation `SPC w =` | Balance Windows `SPC w m` | toggle maximize window ## File Management Shortcut | Description ---|--- `SPC f s` | Save File ## Project Management ## Org Mode -
heroheman created this gist
Mar 8, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ ## Window Management Shortcut | Description ---|--- `SPC w /` | Vertical Split Window `SPC w -` | Horizontal Split Window `SPC w d` | Delete Window `SPC w 2` | Layout Double Columns `SPC w 3` | Layout Triple Columns `SPC w h/j/k/l` | Window Navigation `SPC w =` | Balance Windows `SPC w m` | toggle maximize window