A drawer with my spacemacs configuration: cheat sheets, notes, todos and so on.
M-x command
call command by its nameC-x k
kill bufferM-m w /
split window verticallyM-m w 0
close windowM-m w u
undo changing windows (splint, closing buffer, opening another buffer). Sometimes it useful for magit.M-m w left/right
move window focus left/right
C-c n
insert color nameC-c r
insert RGB hex
C-c C-t
change stateC-u C-c C-t
change state with a note
C-c \
orC-c /
tag to show heading with specific tagorg-show-context-detail
allows customize how many will be shown for each heading
C-c s l
store linkC-c s i
insert linkC-c s s
search heading for link
org-gcal-request-new-token
org-gcal-fetch
Distraction free mode (link)
org-narrow-to-*
C-x n s
narrow to subtree
Creating timestamp (link)
C-c .
insert timestampC-c C-c
normalize timestampS-UP/DOWN
shift a part of the timestamp under cursor
org-narrow-to-substree
(M-RET s n
) focus on current headingwiden
(M-m n w
) return back to the file
systemctl --user enable emacs
systemctl --user start emacs
- add to
.zshrc
aliases="emacsclient --tty"
- (optional) add
emacsclient --create-frame %f
to/usr/share/application/emacs.desktop
I don’t do that because some packages cannot work with multiple clients (neotree, proof-general). Thus in my setup I use emacs server only in the console and open different projects in separated desktop windows. Also open server accumulate too many open buffers that disturb navigation by theM-m b b
stroke. - setup
initial-choice-buffer
(doesn’t work inmaster
)
- install fonts
M-x all-the-icons-install-fonts
- added hook in
user-conifg
for sustaining state of variablesneo-vs-integration
(maybe it’ll redundant in future)
- [ ] setting up haskell layer
- [ ] review setting up GPG key
- add
pinentry-start
- add
- [X] fix rewrite
neo-vc-integration
(issue) - [ ] add hook for
tuareg-update && restart-lsp-server
- [ ] saving several session layouts to quickly resume workspaces after reboot. (maybe it should relay on projectile)
- [ ] backup: add saving
.emacs.d/.cache/bookmarks
- [ ] backup: add saving private lines into encrypted patch
- [ ] backup: add saving/copying private icons
- [X] org-roam: profiles
- [X] convenient clock in the past
In emacs one command can be summoned in a lot of ways. For example, org-capture
:
M-m C c
is global binding that came from mnemonic “*C*apture -> org-*c*capture”M-m a o c
is global binding that came from “Applications -> org-mode -> org-capture”M-RET c
is in-active-org-file binding for faster accessM-m m c
is in-active-major-mode binding
So now for me it’s a bit clear and will try to keep it in mind for new commands
org-mru-clock
package- CLOCKED view in agenda (
l
binding)