3 ms·
What Emacs Commands Do You Use Most and Find Most Useful?
- Hexstream 17y agoC-x z (z z z z z z ...) Repeats the last command. Awesome "combinatoriality"!
- frankus 17y agoKeyboard macros are great. C-x ( to start recording, C-x ) to finish, C-x e to execute. You can also do Meta-999 C-x e, which will execute your macro 999 times (or until it reaches the end of the file). It's great for turning, say, a CSV file into a sed script. Or into a list of insert statements if you're too lazy to read up on how to use sqlldr.
- sunkencity 17y agoM-x align !!!
- travisjeffery 17y agoM-x indent-buffer
- travisjeffery 17y agoM-x indent-buffer
- zacharypinter 17y ago(defun iwb () "indent whole buffer" (interactive) (delete-trailing-whitespace) (indent-region (point-min) (point-max) nil) (untabify (point-min) (point-max)))
- bayareaguy 17y agoM-x goto-line which I bind to C-x :
- stuntgoat 17y agoM-g M-g runs goto-line as well ( on my default installation ).
- catch404 17y agoM-x todo-show for recoding what I'm doing :) I use the text commands quite equally. Really need to start using org-mode properly.