From 316361cf93953a023fcc3eb38bc6813b2d6ac0bf Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Sat, 26 Mar 2011 08:12:55 +0100 Subject: emacs: M-w copies to Clipboard instead of Primary --- emacs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/emacs b/emacs index be4555a..da320ce 100644 --- a/emacs +++ b/emacs @@ -228,9 +228,9 @@ ;; Egg (git interface) ;; - http://github.com/bogolisk/egg -(require 'egg) +;(require 'egg) ;; Enable tooltips while we are still learning -(setq egg-enable-tooltip t) +;(setq egg-enable-tooltip t) ;; SCPaste (scp pastebin) @@ -448,6 +448,9 @@ If there is no *ansi-term*, run it." (global-set-key "\C-ca" 'org-agenda) (global-set-key "\C-cr" 'org-remember) +;; M-w copies to Clipboard selection instead Primary +(global-set-key (kbd "M-w") 'clipboard-kill-ring-save) + ;; Quicker access to go-to line (global-set-key (kbd "M-g") 'goto-line) @@ -610,7 +613,7 @@ If there is no *ansi-term*, run it." ;{{{ Python mode ; ;; ipython is my shell of choice, glad to have it here -(defcustom python-python-command "ipython -cl" +(defcustom python-python-command "/usr/bin/ipython -cl" "Shell command to run Python interpreter." :group 'python :type 'string -- cgit v1.2.3