@ -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))))
@ -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))