# emacs.d **Repository Path**: fosonmeng/emacs.d ## Basic Information - **Project Name**: emacs.d - **Description**: No description available - **Primary Language**: Lisp - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-12-19 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Structures ## Packages * [session](https://www.emacswiki.org/emacs/EmacsSession) * [yasnippet](https://github.com/joaotavora/yasnippet) * [yasnippet-snippets](https://github.com/AndreaCrotti/yasnippet-snippets) * [auto-yasnippet](https://github.com/abo-abo/auto-yasnippet) * [easy-kill](https://github.com/leoliu/easy-kill) * [browse-kill-ring](https://github.com/browse-kill-ring/browse-kill-ring) * [company-mode](https://company-mode.github.io/) * [neotree](https://github.com/jaypei/emacs-neotree) * [projectile](https://github.com/bbatsov/projectile) * [ace-window](https://github.com/abo-abo/ace-window) * [ace-jump](https://github.com/winterTTr/ace-jump-mode) * [ace-link](https://github.com/abo-abo/ace-link) * [anzu](https://github.com/syohex/emacs-anzu) * [bm](https://github.com/joodland/bm) * [git-gutter](https://github.com/syohex/emacs-git-gutter) * [highlight-thing](https://github.com/fgeller/highlight-thing.el) * [string-inflection](https://github.com/akicho8/string-inflection) * [focus](https://github.com/larstvei/Focus) * [undo-tree](http://www.dr-qubit.org/undo-tree/undo-tree.txt) * [which-key](https://github.com/justbur/emacs-which-key) * [rainbow-delimiters](https://github.com/Fanael/rainbow-delimiters) * [multiple-cursors](https://github.com/magnars/multiple-cursors.el) * [emmet-mode](https://github.com/smihica/emmet-mode) * [indent-guide](https://github.com/zk-phi/indent-guide) * [smartparens](https://github.com/Fuco1/smartparens) * [smart-mode-line](https://github.com/Malabarba/smart-mode-line) * [emojify](https://github.com/iqbalansari/emacs-emojify) * [markdown-mode](https://github.com/jrblevin/markdown-mode) * [org-brain](https://github.com/Kungsgeten/org-brain) * [org-wiki](https://github.com/caiorss/org-wiki) * [magit](https://magit.vc/) ## Key Bindings ### emacs * `C-x c e` - eval-region ### unicodes * `C-x 8 RET` ### session management * `session-save-session` * `session-initialize` * `.session` ### easy-kill * `M-m` - easy mark, `+`, `-` * `M-w w` - word * `M-w s` - sexp * `M-w l` - list (enclosing sexp) * `M-w d` - defun * `M-w D` - defun name * `M-w f` - file * `M-w b` - `buffer-file-name` or `default-directory` (`-` shrink, `+` expand, `0` basename) #### modify selection * `@` - append selection to previous kill * `C-w` * `+/-/1..9` - expand/shrink * `0` - to initial selection * `SPA` - cycle throuth `easy-kill-alist` * `C-g` * `?` ### browse-kill-ring * `M-y` ### yasnippet * `C-c & C-s` - insert snippet * `C-c & C-n` - new snippet * `C-c & C-v` - visit snippets * `C-c C-l` - load snippet buffer * `C-c C-t` - tryout snippet * `TAB` - expand snippet ### yasnippet-snippets ### auto-yasnippet ### company-mode * `M-n` & `M-p` * `RET` & `TAB` * `C-s` & `C-r` & `C-o` to search * `M-(num)` to select nth candidate * `` - display document * `C-w` - see its source ### neotree * `` ### projectile * `C-c p` ### ace-window * `C-x o` * `C-u C-x o` - swap windows * `C-u C-u C-x o` - delete window * `x` - delete * `m` - swap * `M` - move window * `j` - select buffer * `n` - select previous window * `u` - select buffer in other window * `c` - split window fairly * `v` - split verticaly * `b` - split horizontally * `o` - maximize currunt window * `?` ### ace-jump-mode * `C-x j` - ace-jump-word-mode * `C-u C-x j` - ace-jump-char-mode * `C-u C-u C-x j` - ace-jump-line-mode * `C-x ESC j` - jump back ### ace-link * `C-x c l` - ace-link-addr ### anzu * `C-c /` - anzu-query-replace * `C-c ?` - anzu-query-replace-regexp ### bm * `` - bm-next * `S-` - bm-previous * `C-` - bm-toggle ### git-gutter * `C-x v g` - git-gutter * `C-x v =` - git-gutter:popup-hunk * `C-x p` - git-gutter:previous-hunk * `C-x n` - git-gutter:next-hunk * `C-x v s` - git-gutter:stage-hunk * `C-x v r` - git-gutter:revert-hunk * `C-x v SPC` - git-gutter:mark-hunk ### highlight-thing ### string-inflection * `C-c f C-u` - string-inflection-all-cycle ### focus ### undo-tree * `C-_ C-/` - undo-tree-undo * `M-_ C-?` - undo-tree-redo * `undo-tree-switch-branch` * `C-x u` - undo-tree-visualize * `C-x r u` - undo-tree-save-state-to-register * `C-x r U` - undo-tree-restore-state-from-register #### undo-tree-visualizer * `p C-p` - undo-tree-visualize-undo * `n C-n` - undo-tree-visualize-redo * `b C-b` - undo-tree-visualize-switch-branch-left * `f C-f` - undo-tree-visualize-switch-branch-right * `C-M-{` - undo-tree-visualize-undo-to-x * `C-M-}` - undo-tree-visualize-redo-to-x #### undo-tree-visualizer-mouse-set * `t` - undo-tree-visualizer-toggle-timestamps * `d` - undo-tree-visualizer-toggle-diff * `s` - undo-tree-visualizer-selection-mode * `q` - undo-tree-visualizer-quit * `C-q` - undo-tree-visualizer-abort * `,<` - scroll left * `.>` - scroll right * `C-v` - scroll down * `M-v` - scroll up #### visualizer selection mode * `p C-p` - undo-tree-visualizer-select-previous * `n C-n` - undo-tree-visualizer-select-next * `b C-b` - undo-tree-visualizer-select-left * `f C-f` - undo-tree-visualizer-select-right * `M-v` - select node 10 above * `C-v` - select node 10 below #### undo-tree-visualizer-set * `s` - undo-tree-visualizer-mode * `t` - undo-tree-visualizer-toggle-timestamps * `d` - undo-tree-visualizer-toggle-diff * `q` - undo-tree-visualizer-quit * `C-q` - undo-tree-visualizer-abort * `,<` - scroll left * `.>` - scroll right #### which-key * `C-x` - paging-prefixes * `` - paging-key #### rainbow-delimiters #### multiple-cursors * `C-S-c C-S-c` - mc/edit-lines * `C->` - mc/mark-next-like-this * `C-<` - mc/mark-previous-like-this * `C-c C-<` - mc/mark-all-like-this #### emmet-mode * `C-j` #### indent-guide #### smartparens * `smartparens-mode` #### smart-mode-line #### emojify #### markdown-mode * `C-c C-l` - markdown-insert-link * `C-c C-i` - markdown-insert-image * `C-c C-s i` - italic * `C-c C-s b` - bold * `C-c C-s c` - code * `C-c C-s k` - kbd * `C-c C-s q` & `C-c C-s Q` - blockquote * `C-c C-s p` & `C-c C-s P` - paragraph * `C-c C-s C` - fenced code block * `C-c C-s h` & `C-c C-s H` (underlined) - heading * `C-c C-s -` - horizontal rule * `C-c C-s f` - footnote * `C-c C-s w` - wiki links * `C-c C-s m` - preview in buffer * `C-c C-s p` - preview in browser * `C-c C-o` - follow links * `M-n` & `M-p` - navigate links * `M-RET` & `C-c C-j` - insert list * `C-c LEFT/RIGHT/UP/DOWN` - navigate list * `C-c <` & `C-c >` - shifting (indent) * `M-{` & `M-}` - navigate paragraph * `C-c C-n/p/f/b` - navigate heading #### table editing * `C-c C-s t` - markdown-insert-table * `C-c UP` & `C-c DOWN` - move row up or down * `C-c LEFT` & `C-c RIGHT` - move column left or right * `C-c S-UP` - kill row * `C-c S-DOWN` - insert row above * `C-c S-LEFT` - kill column * `C-c S-RIGHT` - insert column left * `C-c C-d` - re-align * `C-c C-c ^` - sort row by a column * `C-c C-c |` - convert region to a table * `C-c C-c t` - transpose table ### org-brain * `m` - org-brain-visualize-mind-map * `j` or `TAB` - forward-button * `k` or `S-TAB` - backward-button * `b` - org-brain-visualize-back * `h` or `*` - org-new-child (headline) * `c` - org-brain-add-child * `C` - org-brain-remove-child * `p` - org-brain-add-parent * `P` - org-brain-remove-parent * `f` - org-brain-add-friendship * `F` - org-brain-remove-friendship * `n` - org-brain-pin * `t` - org-brain-set-title * `T` - org-brain-set-tags * `d` - org-brain-delete-entry * `l` - org-brain-visualize-add-resource * `r` - org-brain-open-resource * `C-y` - org-brain-visualize-paste-resource * `a` - org-brain-visualize-attach * `A` - org-brain-archive * `o` - org-brain-goto-current * `O` - org-brain-goto * `v` - org-brain-visualize * `w` - org-brain-visualize-random * `W` - org-brain-visualize-wander * `+` - org-brain-visualize-add-grandchild * `-` - org-brain-visualize-remove-grandchild * `z` - org-brain-visualize-add-grandparent * `Z` - org-brain-visualize-remove-grandparent #### multiple brain * `org-brain-switch-brain` ### org-wiki https://caiorss.github.io/org-wiki/ ### magit [Keystroke-index](https://magit.vc/manual/magit/Keystroke-Index.html#Keystroke-Index) ## Configures