Mercurial > dotfiles
comparison .elisp/settings/90.keybindings.el @ 443:eff0298b770d
emacs: add f2 as a binding for other-window
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 26 Jul 2017 13:49:49 -0400 |
parents | 11fdb5a60eee |
children | 6bc014966731 |
comparison
equal
deleted
inserted
replaced
442:5e6b1240684c | 443:eff0298b770d |
---|---|
26 (concat "cd tests && python run-tests.py --local -j 2 " | 26 (concat "cd tests && python run-tests.py --local -j 2 " |
27 (file-name-nondirectory buffer-file-name)))) | 27 (file-name-nondirectory buffer-file-name)))) |
28 ((string-match "\\.rs$" buffer-file-name) | 28 ((string-match "\\.rs$" buffer-file-name) |
29 (textmate-start-compile-in-root "cargo test")) | 29 (textmate-start-compile-in-root "cargo test")) |
30 )) | 30 )) |
31 (global-set-key [f2] 'other-window) | |
31 (global-set-key [f4] 'af-dwim-f4) | 32 (global-set-key [f4] 'af-dwim-f4) |
32 (global-set-key [f5] 'diff-apply-hunk) | 33 (global-set-key [f5] 'diff-apply-hunk) |
33 | 34 |
34 ;; M-j for jump to function definition | 35 ;; M-j for jump to function definition |
35 (global-set-key [(meta j)] 'textmate-goto-symbol) | 36 (global-set-key [(meta j)] 'textmate-goto-symbol) |