summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2011-03-26 07:12:55 (GMT)
committerAdrian C. (anrxc) <anrxc@sysphere.org>2011-03-26 07:24:10 (GMT)
commit316361cf93953a023fcc3eb38bc6813b2d6ac0bf (patch)
tree873143ca2f55262f0bb7c637719e5550bee8de4b
parent177f8473d30912c65e7efa370f2102b5f536366d (diff)
downloaddotfiles-316361cf93953a023fcc3eb38bc6813b2d6ac0bf.tar.xz
emacs: M-w copies to Clipboard instead of Primary
-rw-r--r--emacs9
1 files 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