Browse Source

bound prelude-open-with to C-c o

custom
Bozhidar Batsov 14 years ago
parent
commit
5ce3c780e3
  1. 4
      modules/prelude-core.el
  2. 3
      modules/prelude-global-keybindings.el

4
modules/prelude-core.el

@ -60,7 +60,9 @@ file of a buffer in an external program."
(interactive)
(when buffer-file-name
(shell-command (concat
(read-shell-command "Open current file with: ")
(if (eq system-type 'darwin)
"open"
(read-shell-command "Open current file with: "))
" "
buffer-file-name))))

3
modules/prelude-global-keybindings.el

@ -141,6 +141,9 @@
;; search with google
(global-set-key (kbd "C-c g") 'prelude-google)
;; open in external application
(global-set-key (kbd "C-c o") 'prelude-open-with)
;; toggle menu-bar visibility
(global-set-key (kbd "<f12>") 'menu-bar-mode))

Loading…
Cancel
Save