Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; visit a file
- (global-set-key (kbd "<f3>") 'find-file)
- ;; open my Emacs init file
- (defun my-open-dot-emacs ()
- "Opening `~/.emacs'."
- (interactive)
- (find-file "~/.emacs"))
- (global-set-key (kbd "<S-f3>") 'my-open-dot-emacs)
- ;; open my Gnus configuration file
- (defun my-open-dot-gnus ()
- "Opening `~/.gnus'."
- (interactive)
- (find-file "~/.gnus"))
- (global-set-key (kbd "<C-f3>") 'my-open-dot-gnus)
Advertisement
Add Comment
Please, Sign In to add comment