@@ 6,7 6,6 @@
;;; Code:
-
;;; Install local user packages
(dolist (d (apply #'append (mapcar #'file-expand-wildcards
'("~/.local/share/emacs/site-lisp/*"
@@ 14,7 13,6 @@
"/usr/share/emacs/site-lisp/*"))))
(add-to-list 'load-path d))
-
;;; Loading of personal config files
(load "~/.emacs.d/lisp/packages")
(load "~/.emacs.d/lisp/keys")
@@ 31,7 29,6 @@
(load "~/.emacs.d/lisp/scala")
(load "~/.emacs.d/lisp/docker")
-
;;; Winner mode: allows for undoing and redoing of windoow configurations
;;; C-c <left> : undo
;;; C-c <right>: redo
@@ 42,18 39,14 @@
(dolist (m '(motion normal insert))
(evil-global-set-key m (kbd "C-x d") (lambda () (interactive) (dired "."))))
-
;;; Allow easily switching windows with Shift-{left,right,up,down}
(windmove-default-keybindings)
-
;;; Don't make backup files
(setq make-backup-files nil)
-
(add-hook 'dired-mode-hook (lambda () (dired-hide-details-mode t)))
-
(use-package fzf
:commands fzf-projectile
:init
@@ 61,10 54,8 @@
(evil-global-set-key 'normal (kbd "C-n") #'fzf-projectile)
(evil-global-set-key 'normal (kbd "C-S-n") #'fzf-directory)))
-
(use-package ag)
-
(use-package help+
:straight help-plus)
(use-package help-fns+
@@ 72,7 63,6 @@
(use-package help-mode+
:straight help-mode-plus)
-
(use-package scribble
:straight nil
:load-path "contrib/"
@@ 84,7 74,6 @@
'(("\\.scrbl\\'" . scribble-mode))))
:commands scribble-mode)
-
(use-package markdown-mode
:commands (markdown-mode gfm-mode)
:mode (("README\\.md\\'" . gfm-mode)
@@ 92,14 81,12 @@
("\\.markdown\\'" . markdown-mode))
:init (setq markdown-command "markdown"))
-
;;; magit: a Git Porcelain
(use-package magit
:bind
(("C-x g" . magit-status)
("C-x M-g" . magit-dispatch)))
-
;;; Syntax/error checking
(use-package flycheck
:init
@@ 108,7 95,6 @@
(evil-define-key 'normal
flycheck-error-list-mode-map (kbd "q") 'quit-window)))
-
;;; Yasnippet: yet another snippet extension
(use-package yasnippet
:bind
@@ 116,11 102,9 @@
:config
(yas-global-mode 1))
-
(use-package yasnippet-snippets
:after yasnippet)
-
;;; Setup duckduckgo search engine
(use-package engine-mode
:config
@@ 136,25 120,20 @@
:keybinding "p")
(engine-mode)))
-
(use-package which-key
:config
(which-key-mode))
-
;;; functions to manage packages on linux distros
(use-package system-packages)
-
;;; setup the mu4e email client
(when (file-exists-p "~/scripts/setup-mu4e.el")
(load-file "~/scripts/setup-mu4e.el"))
-
;;; statistics software and R-lang integration
(use-package ess)
-
;;; TeX/LaTeX
(use-package tex
:straight auctex
@@ 167,37 146,31 @@
(setcdr (assoc 'output-pdf TeX-view-program-selection)
'("Zathura"))))
-
;;; ability to insert random text
(use-package lorem-ipsum)
-
;;; number windows to easily switch between them
(use-package winum
:config
(progn
(winum-mode)))
-
(use-package shell-pop
:custom
(shell-pop-shell-type '("eshell" "*eshell*" (lambda () (eshell))))
(shell-pop-universal-key "C-S-s"))
-
(use-package yaml-mode
:mode "\\.sls\\'")
(use-package graphviz-dot-mode
:defer t)
-
;;; Start Emacs Daemon
(require 'server)
(unless (server-running-p)
(server-start))
-
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.