2014-10-25 18:49:54 -06:00
|
|
|
Emacs Notes -*- mode: org -*-
|
|
|
|
|
2014-11-13 16:01:28 -07:00
|
|
|
* <2014-11-01 Sat>
|
2014-10-25 18:49:54 -06:00
|
|
|
** C-x z to repeat last command
|
|
|
|
** F3 to define macro F4 to use macro
|
2014-11-13 22:06:38 -07:00
|
|
|
*** Great in combination with C-u
|
2014-10-25 18:49:54 -06:00
|
|
|
** C-x r (space to set register) (j to jump to register)
|
|
|
|
*** This requires you to enter a number after words
|
2014-11-13 16:01:28 -07:00
|
|
|
*** Using the mark seems like a better option in most cases
|
2014-10-25 18:49:54 -06:00
|
|
|
** C-u to repeat a command
|
|
|
|
*** Its multiplicative
|
|
|
|
** set-goal-column C-x C-n
|
|
|
|
** C-x C-n
|
|
|
|
** M-- To do the opposite of a commands
|
|
|
|
*** Obviously this only works for commands for which the inverse has been defined
|
|
|
|
|
|
|
|
** M-e and M-a for paragraph movement.
|
|
|
|
** C-M-f and C-M-b for movement by S-expression
|
|
|
|
** M-m for moving to current indentation
|
2014-11-05 19:24:47 -07:00
|
|
|
|
2014-11-10 18:25:13 -07:00
|
|
|
* <2014-11-05 Wed>
|
2014-11-05 19:24:47 -07:00
|
|
|
** helm-show-kill-ring and helm-mark-ring and helm-global-mark-ring
|
|
|
|
** C-p s s to do helm-projectile-ag
|
2014-11-10 18:25:13 -07:00
|
|
|
|
|
|
|
* <2014-11-10 Mon>
|
|
|
|
** C-x c r to do helm-regex
|
|
|
|
** press tab in helm completion to get actions menu
|
|
|
|
** projectile-replace (basiclly find-name-dired, but will respect gitignores and automatically include appropriate files).
|
|
|
|
** M-r while in isearch-forward to toggle regexp mode
|
2014-11-13 16:01:28 -07:00
|
|
|
** C-c p r to replace in project.
|
|
|
|
** projectile-ibuffer is useful for killing buffers.
|
2014-11-13 22:06:38 -07:00
|
|
|
** C-x C-k r to apply macro to all lines in region
|
2014-11-14 02:42:12 -07:00
|
|
|
* <2014-11-14 Fri>
|
|
|
|
** C-x C-q to start dired write mode (C-x C-s to save changes.)
|