Created
July 21, 2013 20:16
-
-
Save dbushenko/6049808 to your computer and use it in GitHub Desktop.
This file contains 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 characters
* Emacs as IDE | |
** Sr Speedbar | |
http://www.emacswiki.org/emacs/SrSpeedbar | |
** Yasnippet | |
http://www.emacswiki.org/emacs/Yasnippet | |
** Projectile | |
https://github.com/bbatsov/projectile | |
| Combo | Function | Description | | |
|-----------+----------------------------+----------------------------| | |
| C-c p f | projectile-find-file | Shows project files | | |
| C-c p g | projectile-grep | Runs grep on project files | | |
| C-c p r | projectile-replace | Interactive query replace | | |
| C-c p R | projectile-regenerate-tags | Regenerates tags | | |
| C-c p C-h | | Help | | |
** Tags | |
(global-set-key (kbd "<f3>") 'visit-tags-table) | |
| Combo | Function | Description | | |
|-------+------------------+----------------------------| | |
| <f3> | visit-tags-table | Loads tags | | |
| M-. | find-tag | Jumps to the specified tag | | |
| C-M-. | pop-tag-mark | Jumps back | | |
** Bookmarks | |
(global-set-key (kbd "C-b") 'bookmark-set) | |
(global-set-key (kbd "M-b") 'bookmark-jump) | |
(global-set-key (kbd "<f4>") 'bookmark-bmenu-list) | |
** Folding | |
(defvar hs-special-modes-alist | |
(mapcar 'purecopy | |
'((c-mode "{" "}" "/[*/]" nil nil) | |
(c++-mode "{" "}" "/[*/]" nil nil) | |
(bibtex-mode ("@\\S(*\\(\\s(\\)" 1)) | |
(java-mode "{" "}" "/[*/]" nil nil) | |
(js-mode "{" "}" "/[*/]" nil) | |
(emacs-lisp- "(" ")" nil)))))) | |
(require 'hideshow) | |
(global-set-key (kbd "<f9>") 'hs-toggle-hiding) | |
(global-set-key (kbd "C-<f9>") 'hs-hide-all) | |
(global-set-key (kbd "C-S-<f9>") 'hs-show-all) | |
** Shell | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment