several good tips on Emacs from emacs-fu’s dot emacs trickery

Recently Emacs-fu started a good post/stimulus on the .emacs tricks people love most.
link: http://emacs-fu.blogspot.com/2009/04/dot-emacs-trickery.html

Here are several things I learned and loved so much that I would like to take a note on them.

;; highlight the current line, as in Matlab
(global-hl-line-mode)

;; when you mark a region, you can delete it or replace it as in other Windows programs:
;; simply hit delete or type whatever you want or yank
(delete-selection-mode)

;; make the slow activity to echo my unfinished commands faster
(setq echo-keystrokes 0.1)

;; let there be a marker on every empty line on the left fringe
(setq default-indicate-empty-lines t)

;; for Emacs 23 only. use the system’s trash can when deleting files and foldrs
(setq delete-by-moving-to-trash t)

;; set the cursor as a bar instead the rectangular block
(setq cursor-type ‘bar)

;; by default, do not display continuation lines, instead, give each line of the text just one screen line
(setq-default truncate-lines t)

;; show the matching parentheses immediately
(setq show-paren-delay 0)

About these ads

One thought on “several good tips on Emacs from emacs-fu’s dot emacs trickery

  1. Pingback: Interesting Emacs Links – 2009 Week 19 « A Curious Programmer

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s