From d2bcae6c8936bea144a21b26c247c81bb9c03da9 Mon Sep 17 00:00:00 2001 From: finga Date: Tue, 25 Aug 2020 10:53:40 +0200 Subject: [PATCH] Enable packages and clipboard --- .emacs.d/config/base.el | 6 +++--- .emacs.d/init.el | 18 +++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.emacs.d/config/base.el b/.emacs.d/config/base.el index ba79ecd..7506051 100644 --- a/.emacs.d/config/base.el +++ b/.emacs.d/config/base.el @@ -43,9 +43,9 @@ (setq scroll-step 1) (mouse-wheel-mode t) -;; ;; clipboard yanking is possible with middle mouse button now -;; (setq x-select-enable-clipboard t -;; x-select-enable-primary t) +;; clipboard yanking is possible with middle mouse button now +(setq x-select-enable-clipboard t + x-select-enable-primary t) ;; enhanced buffer switching with shift + arrows (windmove-default-keybindings) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 2c7a85d..b852a58 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -19,20 +19,20 @@ '(("gnu" . "https://elpa.gnu.org/packages/") ("melpa" . "https://melpa.org/packages/"))) -;; ;; package list to install -;; (setq package-list '(use-package)) +;; package list to install +(setq package-list '(use-package)) ;; activate packages (package-initialize) -;; ;; fetch list of available packages -;; (unless package-archive-contents -;; (package-refresh-contents)) +;; fetch list of available packages +(unless package-archive-contents + (package-refresh-contents)) -;; ;; install missing packages -;; (dolist (package package-list) -;; (unless (package-installed-p package) -;; (package-install package))) +;; install missing packages +(dolist (package package-list) + (unless (package-installed-p package) + (package-install package))) ;; configure packages (taken from https://r0tty.org/git/dotfiles/emacs) (require 'use-package)