Profile_bird

Hey there! ecotd is using Twitter.

Twitter is a free service that lets you keep in touch with people through the exchange of quick, frequent answers to one simple question: What's happening? Join today to start receiving ecotd's tweets.

Already using Twitter
from your phone? Click here.

ecotd

  1. C-s C-y C-s : Interactive search for the remainder of the line after point.
  2. M-x hl-line-mode : Highlight the current line under the cursor
  3. @vcotwdorso *sigh* guess I need to revive @ecotd too so I don't let the side down :)
  4. C-x C-= : Increase the font size of the current buffer. Use a prefix to increase more. C-x C-- to decrease. Good to see tiny unicode chars
  5. C-u C-x = : Display lots of information about the character at point. In Emacs 23 this also displays the unicode character point.
  6. M-x customize-group emacs <RET> : Nice way to browse a hierarchical list of options that you can tweak in Emacs
  7. (setq visible-bell t) : Makes Emacs flash the top and bottom of the frame instead of trying to play an audible bell if there is an error.
  8. C-x * g Grab list of numbers from the region and put it into Emacs calc as a vector. Good to test output from gdb. Also C-x * r for matrices
  9. M-x calc 'x^2+5x+6=0 <RET> a S x <RET> : Solve a quadratic equation. Works for other types of equations too.
  10. M-x butterfly C-M-c : Use butterflies to flip bits on the drive platter. Emacs 23 only.
  11. C-x 8 <RET> SNOWMAN <RET> : Insert an incredibly useful snowman. Also works for other unicode names with tab completion. Only in Emacs 23
  12. @rubbish But then you end up deleting someone else's trailing whitespace so your commit will have unrelated changes in which is bad.
  13. (setq show-trailing-whitespace t) : Highlights spaces at the end of lines. Useful to avoid accidentally adding them.
  14. C-x C-k C-p : Go back to a previous keyboard macro. Useful if you've defined another macro since using an old one and you want to go back.
  15. C-x C-u : Convert the region to uppercase
  16. M-x file-cache-add-directory-using-find : Add a directory to the cache. Then do C-x C-f someFile.c C-tab to jump to a file however nested
  17. (scroll-bar-mode -1) : Put in your .emacs to get rid of the scrollbars. You don't need them. Also (tool-bar-mode -1) and (menu-bar-mode -1).
  18. M-x cd : Change the default directory for the buffer. This will affect C-x C-f and shell commands such as run by M-!
  19. C-x + : Make all windows the same height. Handy if you've split the frame twice to make all windows a third of frame rather than 1/2 and 1/4
  20. M-x hexl-find-file : Open a file in a handy hex editor mode