Add vkill as an alternative to proced on OS X

This commit is contained in:
Bozhidar Batsov 2014-05-31 12:43:02 +03:00
parent 50ccd6db23
commit 699f14b80c

View file

@ -34,7 +34,7 @@
;; On OS X Emacs doesn't use the shell PATH if it's not started from ;; On OS X Emacs doesn't use the shell PATH if it's not started from
;; the shell. Let's fix that: ;; the shell. Let's fix that:
(prelude-require-packages '(exec-path-from-shell)) (prelude-require-packages '(exec-path-from-shell vkill))
(require 'exec-path-from-shell) (require 'exec-path-from-shell)
(exec-path-from-shell-initialize) (exec-path-from-shell-initialize)
@ -42,6 +42,9 @@
;; It's all in the Meta ;; It's all in the Meta
(setq ns-function-modifier 'hyper) (setq ns-function-modifier 'hyper)
;; proced-mode doesn't work on OS X so we use vkill instead
(global-set-key (kbd "C-x p") 'vkill)
(defun prelude-swap-meta-and-super () (defun prelude-swap-meta-and-super ()
"Swap the mapping of Meta and Super. "Swap the mapping of Meta and Super.
Very useful for people using their Mac with a Very useful for people using their Mac with a