From 782c792a7ffa3c1334b5ec2ee5d8c541429c6b38 Mon Sep 17 00:00:00 2001 From: finga Date: Mon, 14 May 2018 16:43:47 +0200 Subject: [PATCH] update gpg/clipboard config --- .emacs.d/init.el | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 2c5e61f..1bdfa98 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -21,10 +21,14 @@ (custom-set-variables '(column-number-mode t) '(custom-enabled-themes (quote (tango-dark))) - '(show-paren-mode t) + '(menu-bar-mode nil) + '(package-selected-packages (quote (pass pinentry))) '(scroll-bar-mode nil) - '(tool-bar-mode nil) - '(menu-bar-mode nil)) + '(show-paren-mode t) + '(tool-bar-mode nil)) + +;; yank at cursor not mouse pointer +(setq mouse-yank-at-point t) ;; make the screen go down with one line & mouse wheel support (setq scroll-step 1) @@ -47,6 +51,10 @@ ;; no am/pm in timestamps (setq display-time-24hr-format t) +;; clipboard yanking is possible with middle mouse button now +(setq x-select-enable-clipboard t + x-select-enable-primary t) + ;; enable some commands disabled by default (put 'narrow-to-region 'disabled nil) (put 'upcase-region 'disabled nil) @@ -64,9 +72,6 @@ ;; tramp mode ssh (faster) (setq tramp-default-method "ssh") -;; gpg gui fix -(setenv “GPG_AGENT_INFO” nil) - ;; include other configs ;; calendar-mode (if (file-exists-p "~/.emacs.d/calendar.el")