summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-03-20 01:09:29 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-03-20 01:11:47 -0400
commit1dfe5a9801a3583ae670aa491aff2894703de4a4 (patch)
tree53feea49647a7b8678657946dd3d7421af20a98e /init
parent7967e2e249d02f3622cb46da48efb02647609107 (diff)
downloademacs.d-1dfe5a9801a3583ae670aa491aff2894703de4a4.tar.gz
enable x clipboard
this allows me to copy from emacs (at least in arch) doesn't seem to work with evil (unless in insert mode), but works fine in emacs mode
Diffstat (limited to 'init')
-rw-r--r--init/km-general.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/km-general.el b/init/km-general.el
index 5e945d7..f7dc421 100644
--- a/init/km-general.el
+++ b/init/km-general.el
@@ -25,3 +25,6 @@
(cons '("\\.md$" . markdown-mode) auto-mode-alist))
(setq auto-mode-alist
(cons '("\\.markdown$" . markdown-mode) auto-mode-alist))
+
+(setq x-select-enable-clipboard t)
+(setq interprogram-paste-function 'x-cut-buffer-or-selection-value)