dotfiles/emacs_notes.org

1.1 KiB
Raw Blame History

Emacs Notes -- mode: org --

<2014-11-01 Sat>

C-x z to repeat last command

F3 to define macro F4 to use macro

Great in combinatino with C-u

C-x r (space to set register) (j to jump to register)

This requires you to enter a number after words

Using the mark seems like a better option in most cases

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 Wed>

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 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

C-c p r to replace in project.

projectile-ibuffer is useful for killing buffers.