Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

Pretty new to emacs, so my first move was to make it more familiar and avoid breaking my fingers:

;; Switch buffer

(global-set-key [f5] 'buffer-menu)

;; Save and load

(global-set-key [f2] 'save-buffer)

(global-set-key [f3] 'find-file)

;; Compile file

(global-set-key [f9] 'slime-compile-and-load-file)

;; Goto line

(global-set-key "\M-l" 'goto-line)

;; Go to other window

(global-set-key (kbd "<C-tab>") 'other-window)

;; And probably the most useful one, numpad Enter for eval line:

(global-set-key (kbd "<kp-enter>") 'slime-eval-last-expression)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: