-
-
Save ajmoorexyz/9a21c7877fa126cc7f5285fd341a91ed to your computer and use it in GitHub Desktop.
Revisions
-
526avijitgupta revised this gist
Oct 15, 2015 . 2 changed files with 62 additions and 66 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 @@ -1,66 +0,0 @@ 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,62 @@ `emacs --daemon` to run in the background. `emacsclient.emacs24 <filename/dirname>` to open in terminal NOTE: "M-m and SPC can be used interchangeably". * Undo - `C-/` * Redo - `C-?` * Change case: 1. Camel Case : `M-c` 2. Upper Case : `M-u` 3. Lower Case : `M-l` * Helm-projectile find file : `M-m p f` * Helm-projectile-grep : `M-m p s g` * Toggle Auto complete : `M-m t a` * Neotree root directory : `M-m p t` * Linum-relative : `M-m t r` * Ace-jump mode : `M-m SPC` *. Helm-bookmarks : `M-m h b` * Iedit mode : 1. `M-<left>`, `M-<right>` to navigate, 2. `C-;` to select/deselct all for edit at once * Expand Region 1. Expand: `M-m v` 2. Contract: `M-m V` * Winner mode: 1. Undo : `C-c <left>` 2. Redo : `C-c <right>` * Toggle Aggressive Indent Mode : `M-m t I` * Open file in new buffer after `M-m p f` : `C-c o` * Dired mode : 1. Copy file : `C` 2. Delete the file : `D` 3. Rename the file : `R` 4. Create a new directory : `+` 5. Reload directory listing : `g` * Search : 1. The last searched query : `C-s C-s` 2. The string under the cursor : `C-s C-w` * Un-indent by 4 spaces : `C-u -4 C-x TAB` * Open emacs dired mode: `M-m a d` * Erase contents of buffer: `M-m b e` * Replace contents of buffer with the contents of the clipboard: `M-m b P` * Copy contents of the whole buffer: `M-m b Y` * Open current file directory: `M-m f j` * Rename current file: `M-m f R` * Indent region/buffer: `M-m j =` * Kill all buffers (of current project): `M-m p k` * Reload spacemacs conf: `M-m f e R` * Kill all buffers except the current one: `M-m b K` * Go to conf file (~/.spacemacs): `M-m f e d` * Toggle display fill-column(column 80): `M-m t f` * Enable/Disable read-only mode `C-x C-q` * Go one level up in directory: `C-x C-j` * Indent/unindent region by n/-n spaces(n=4,8,... usually): `C-u <n> C-x TAB` * Go to previous cursor position(before ace-jump): `M-m SPC `` * Do ag (code search) inside project : `M-m s a p` * Narrow to function : `M-m n f` (`M-m n w` to exit) * Enable rainbow mode: `M-m t C c` * Search selected region or current word through ag in project: `M-m s p` * Highlight search results in another buffer (helm swoop): `M-m s s` (`M-m s s` to exit) * Toggle current frame transparency: `M-m T T` * Toggle non-matching lines for iedit mode: `C-'` when in iedit mode (C-;) * Helm-resume background task: `M-m h l` * Enter .spacemacs diff mode: `M-m f e D` * Show kill ring history: `M-m r y` * When in dired mode, press `?` to display a list of commands. * Search within given buffer (helm-swoop mode): `M-m s s` * List all functions in the given buffer (imenu): `M-m s l` -
526avijitgupta revised this gist
Oct 9, 2015 . 1 changed file with 7 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 @@ -57,4 +57,10 @@ 41. Search selected region or current word through ag in project: `M-m s p` 42. Highlight search results in another buffer (helm swoop): `M-m s s` (`M-m s s` to exit) 43. Toggle current frame transparency: `M-m T T` 44. Toggle non-matching lines for iedit mode: `C-'` when in iedit mode (C-;) 45. Helm-resume background task: `M-m h l` 46. Enter .spacemacs diff mode: `M-m f e D` 47. Use scratch buffer to enter temporary data (not to be saved) 48. Show kill ring: `M-m r y` 49. When in dired mode, press `?` to display a list of commands. 50. Search within given buffer: `M-m s s` -
526avijitgupta revised this gist
Jul 26, 2015 . 1 changed file with 2 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 @@ -56,4 +56,5 @@ 40. Enable rainbow mode: `M-m t C c` 41. Search selected region or current word through ag in project: `M-m s p` 42. Highlight search results in another buffer (helm swoop): `M-m s s` (`M-m s s` to exit) 43. Toggle current frame transparency: `M-m T T` 44. Toggle non-matching lines for iedit mode: `C-'` when in iedit mode (C-;) -
526avijitgupta revised this gist
Jul 18, 2015 . 1 changed file with 2 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 @@ -55,4 +55,5 @@ 39. Narrow to function : `M-m n f` (`M-m n w` to exit) 40. Enable rainbow mode: `M-m t C c` 41. Search selected region or current word through ag in project: `M-m s p` 42. Highlight search results in another buffer (helm swoop): `M-m s s` (`M-m s s` to exit) 43. Toggle current frame transparency: `M-m T T` -
526avijitgupta revised this gist
Jul 16, 2015 . 1 changed file with 2 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 @@ -54,4 +54,5 @@ 38. Do ag (code search) inside project : `M-m s a p` 39. Narrow to function : `M-m n f` (`M-m n w` to exit) 40. Enable rainbow mode: `M-m t C c` 41. Search selected region or current word through ag in project: `M-m s p` 42. Highlight search results in another buffer (helm swoop): `M-m s s` (`M-m s s` to exit) -
526avijitgupta revised this gist
Jul 16, 2015 . 1 changed file with 2 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 @@ -53,4 +53,5 @@ 37. Go to previous cursor position(before ace-jump): `M-m SPC `` 38. Do ag (code search) inside project : `M-m s a p` 39. Narrow to function : `M-m n f` (`M-m n w` to exit) 40. Enable rainbow mode: `M-m t C c` 41. Search selected region or current word through ag in project: `M-m s p` -
526avijitgupta revised this gist
Jul 16, 2015 . 1 changed file with 2 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 @@ -52,4 +52,5 @@ 36. Indent/unindent region by n/-n spaces(n=4,8,... usually): `C-u <n> C-x TAB` 37. Go to previous cursor position(before ace-jump): `M-m SPC `` 38. Do ag (code search) inside project : `M-m s a p` 39. Narrow to function : `M-m n f` (`M-m n w` to exit) 40. Enable rainbow mode: `M-m t C c` -
526avijitgupta revised this gist
Jul 16, 2015 . 1 changed file with 5 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,6 @@ `emacs --daemon` to run in the background. `emacsclient.emacs24 <filename/dirname>` to open in terminal 1. Undo - `C-/` 2. Redo - `C-?` 3. Change case: 1. Camel Case : `M-c` @@ -48,4 +51,5 @@ 35. Go one level up in directory: `C-x C-j` 36. Indent/unindent region by n/-n spaces(n=4,8,... usually): `C-u <n> C-x TAB` 37. Go to previous cursor position(before ace-jump): `M-m SPC `` 38. Do ag (code search) inside project : `M-m s a p` 39. Narrow to function : `M-m n f` (`M-m n w` to exit) -
526avijitgupta revised this gist
Jul 10, 2015 . 1 changed file with 2 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 @@ -47,4 +47,5 @@ 34. Enable/Disable read-only mode `C-x C-q` 35. Go one level up in directory: `C-x C-j` 36. Indent/unindent region by n/-n spaces(n=4,8,... usually): `C-u <n> C-x TAB` 37. Go to previous cursor position(before ace-jump): `M-m SPC `` 38. Do ag (code search) inside project : `M-m s a p` -
526avijitgupta revised this gist
Jul 9, 2015 . 1 changed file with 4 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 @@ -37,7 +37,10 @@ 27. Indent region/buffer: `M-m j =` 28. Kill all buffers (of current project): `M-m p k` 29. Reload spacemacs conf: `M-m f e R` 30. Yasnippet Expand: `M-m o o` (Add this to keybindings.el): ";; yas ----------------------------------------------------------------- (evil-leader/set-key "oo" 'yas-insert-snippet)" 31. Kill all buffers except the current one: `M-m b K` 32. Go to conf file (~/.spacemacs): `M-m f e d` 33. Toggle display fill-column(column 80): `M-m t f` -
526avijitgupta revised this gist
Jul 2, 2015 . 1 changed file with 2 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 @@ -43,4 +43,5 @@ 33. Toggle display fill-column(column 80): `M-m t f` 34. Enable/Disable read-only mode `C-x C-q` 35. Go one level up in directory: `C-x C-j` 36. Indent/unindent region by n/-n spaces(n=4,8,... usually): `C-u <n> C-x TAB` 37. Go to previous cursor position(before ace-jump): `M-m SPC `` -
526avijitgupta revised this gist
Jul 2, 2015 . 1 changed file with 2 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 @@ -42,4 +42,5 @@ 32. Go to conf file (~/.spacemacs): `M-m f e d` 33. Toggle display fill-column(column 80): `M-m t f` 34. Enable/Disable read-only mode `C-x C-q` 35. Go one level up in directory: `C-x C-j` 36. Indent/unindent region by n/-n spaces(n=4,8,... usually): `C-u <n> C-x TAB` -
526avijitgupta revised this gist
Jul 2, 2015 . 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 @@ -36,6 +36,10 @@ 26. Rename current file: `M-m f R` 27. Indent region/buffer: `M-m j =` 28. Kill all buffers (of current project): `M-m p k` 29. Reload spacemacs conf: `M-m f e R` 30. Yasnippet Expand: `C-x C-y` (The function is predefined, but the keybinding will have to be added manually later) 31. Kill all buffers except the current one: `M-m b K` 32. Go to conf file (~/.spacemacs): `M-m f e d` 33. Toggle display fill-column(column 80): `M-m t f` 34. Enable/Disable read-only mode `C-x C-q` 35. Go one level up in directory: `C-x C-j` -
526avijitgupta revised this gist
Jun 30, 2015 . 1 changed file with 2 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 @@ -37,4 +37,5 @@ 27. Indent region/buffer: `M-m j =` 28. Kill all buffers (of current project): `M-m p k` 29. Reload the currrent file: `M-m f e R` 30. Yasnippet Expand: `C-x C-y` (The function is predefined, but the keybinding will have to be added manually later) 31. Kill all buffers except the current one: `M-m b K` -
526avijitgupta revised this gist
Jun 30, 2015 . 1 changed file with 3 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 @@ -35,5 +35,6 @@ 25. Open current file directory: `M-m f j` 26. Rename current file: `M-m f R` 27. Indent region/buffer: `M-m j =` 28. Kill all buffers (of current project): `M-m p k` 29. Reload the currrent file: `M-m f e R` 30. Yasnippet Expand: `C-x C-y` (The function is predefined, but the keybinding will have to be added manually later) -
526avijitgupta revised this gist
Jun 30, 2015 . 1 changed file with 2 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 @@ -35,4 +35,5 @@ 25. Open current file directory: `M-m f j` 26. Rename current file: `M-m f R` 27. Indent region/buffer: `M-m j =` 28. Projectile kill all buffers: `M-m p k` 29. Reload the currrent file: `M-m f e R` -
526avijitgupta revised this gist
Jun 24, 2015 . 1 changed file with 2 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 @@ -34,4 +34,5 @@ 24. Copy contents of the whole buffer: `M-m b Y` 25. Open current file directory: `M-m f j` 26. Rename current file: `M-m f R` 27. Indent region/buffer: `M-m j =` 28. Projectile kill all buffers: `M-m p k` -
526avijitgupta revised this gist
Jun 20, 2015 . 1 changed file with 4 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,13 +9,13 @@ 7. Neotree root directory : `M-m p t` 8. Open shell in vertical split buffer : `C-!` (Not a predefined function, will have to be added explicitly later) 9. Linum-relative : `M-m t r` 10. Ace-jump mode : `M-m SPC` 11. Helm-bookmarks : `M-m h b` 12. Comment line/region : `M-;` (Not a predefined function, will have to be added explicitly later) 13. Iedit mode : 1. `M-<left>`, `M-<right>` to navigate, 2. `C-;` to select/deselct all for edit at once 14. Expand Region 1. Expand: `M-m v` 2. Contract: `M-m V` 15. Winner mode: 1. Undo : `C-c <left>` 2. Redo : `C-c <right>` 16. Toggle Aggressive Indent Mode : `M-m t I` -
526avijitgupta revised this gist
Jun 20, 2015 . 1 changed file with 8 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 @@ -27,4 +27,11 @@ 5. Reload directory listing : `g` 19. Search : 1. The last searched query : `C-s C-s` 2. The string under the cursor : `C-s C-w` 20. Un-indent by 4 spaces : `C-u -4 C-x TAB` 21. Open emacs dired mode: `M-m a d` 22. Erase contents of buffer: `M-m b e` 23. Replace contents of buffer with the contents of the clipboard: `M-m b P` 24. Copy contents of the whole buffer: `M-m b Y` 25. Open current file directory: `M-m f j` 26. Rename current file: `M-m f R` 27. Indent region/buffer: `M-m j =` -
526avijitgupta revised this gist
Jun 15, 2015 . 1 changed file with 4 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 @@ -24,4 +24,7 @@ 2. Delete the file : `D` 3. Rename the file : `R` 4. Create a new directory : `+` 5. Reload directory listing : `g` 19. Search : 1. The last searched query : `C-s C-s` 2. The string under the cursor : `C-s C-w` 20. Un-indent by 4 spaces : `C-u -4 C-x TAB` -
526avijitgupta revised this gist
Jun 15, 2015 . 1 changed file with 1 addition 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 @@ -7,7 +7,7 @@ 5. Helm-projectile-grep : `M-m p s g` 6. Toggle Auto complete : `M-m t a` 7. Neotree root directory : `M-m p t` 8. Open shell in vertical split buffer : `C-!` (Not a predefined function, will have to be added explicitly later) 9. Linum-relative : `M-m t r` 10. Ace-jump mode : `SPC SPC` 11. Helm-bookmarks : `M-m h b` -
526avijitgupta revised this gist
Jun 15, 2015 . 1 changed file with 6 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 @@ -19,4 +19,9 @@ 15. Winner mode: 1. Undo : `C-c <left>` 2. Redo : `C-c <right>` 16. Toggle Aggressive Indent Mode : `M-m t I` 17. Open file in new buffer after `M-m p f` : `C-c o` 18. Dired mode : 1. Copy file : `C` 2. Delete the file : `D` 3. Rename the file : `R` 4. Create a new directory : `+` 5. Reload directory listing : `g` -
526avijitgupta revised this gist
Jun 15, 2015 . 1 changed file with 2 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 @@ -18,4 +18,5 @@ 2. Contract: `SPC V` 15. Winner mode: 1. Undo : `C-c <left>` 2. Redo : `C-c <right>` 16. Toggle Aggressive Indent Mode : `M-m t I` 17. Open file in new buffer after `M-m p f` : `C-c o` -
526avijitgupta revised this gist
Jun 15, 2015 . 1 changed file with 7 additions and 5 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 @@ -4,16 +4,18 @@ 2. Upper Case : `M-u` 3. Lower Case : `M-l` 4. Helm-projectile find file : `M-m p f` 5. Helm-projectile-grep : `M-m p s g` 6. Toggle Auto complete : `M-m t a` 7. Neotree root directory : `M-m p t` 8. Open shell in vertical split buffer : `C-!` (Not predefined function, added explicitly later) 9. Linum-relative : `M-m t r` 10. Ace-jump mode : `SPC SPC` 11. Helm-bookmarks : `M-m h b` 12. Comment/Uncomment current line/region: `Spc c l` 13. Iedit mode : 1. `M-<left>`, `M-<right>` to navigate, 2. `C-;` to select/deselct all for edit at once 14. Expand Region 1. Expand: `SPC v` 2. Contract: `SPC V` 15. Winner mode: 1. Undo : `C-c <left>` 2. Redo : `C-c <right>` 16. Toggle Aggressive Indent Mode : `M-m t I` -
526avijitgupta revised this gist
May 4, 2015 . 1 changed file with 1 addition 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,5 +1,5 @@ 1. Undo - `C-/` 2. Redo - `C-?` 3. Change case: 1. Camel Case : `M-c` 2. Upper Case : `M-u` 3. Lower Case : `M-l` -
526avijitgupta created this gist
May 4, 2015 .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,19 @@ 1. Undo - `C-/` 2. Redo - ?? 3. Change case: 1. Camel Case : `M-c` 2. Upper Case : `M-u` 3. Lower Case : `M-l` 4. Helm-projectile find file : `M-m p f` 5. Helm-projectile find directory : `M-m p d` 6. Helm-projectile-grep : `M-m p s g` 7. Neotree root directory : `M-m p t` 8. Multi-term : `M-m a s t` 9. Linum-relative : `M-m t r` 10. Ace-jump mode : `SPC SPC` 11. Helm-bookmarks : `M-m h b` 12. Comment/Uncomment current line/region: `Spc c l` 13. Random godly search mode : M-<left>, M-<right> 14. Expand Region 1. Expand: `SPC v` 2. Contract: `SPC V` 15. Winner mode: 1. Undo : `C-c <left>` 2. Redo : `C-c <right>`