Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Hit F1 for the man page of the current cursor position (shell-mode)
- (add-hook
- 'sh-mode-hook
- '(lambda()
- (local-set-key [(f1)] (lambda () (interactive) (manual-entry (current-word))))
- )
- )
- ;; Hit F1 to jump to .h/.cpp file (c-common mode)
- (add-hook
- 'c-mode-common-hook
- (lambda()
- (local-set-key [(f1)] 'ff-find-other-file)
- )
- )
- ;; Remap command key to alt (MacOs))
- (setq mac-command-modifier 'control)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement