Wednesday, August 8, 2012

Enable Hungry Delete on startup


(setq kill-whole-line t) will make "Ctrl-k" kills an entire line if the cursor is at the beginning of line -- very useful.
(setq c-hungry-delete-key t) will delete "hungrily" in C mode! Use it to see what it does -- very useful.
(setq c-auto-newline 1) will let emacs put in a "carriage-return" for you automatically after left curly braces, right curly braces, and semi-colons in "C mode" -- very useful.

No comments:

Post a Comment