1
0
Fork 0
mirror of https://gitlab.com/dwt1/dotfiles.git synced 2023-02-13 20:55:19 -05:00
dwt1--dotfiles/.emacs.d/init.el

58 lines
2.1 KiB
EmacsLisp
Raw Normal View History

2019-10-09 12:07:11 -04:00
;; ____ _____
;; | _ \_ _| Derek Taylor (DistroTube)
;; | | | || | http://www.youtube.com/c/DistroTube
;; | |_| || | http://www.gitlab.com/dwt1/
;; |____/ |_|
;;
;; A customized config.py for Qtile window manager (http://www.qtile.org)
;; Modified by Derek Taylor (http://www.gitlab.com/dwt1/ )
(require 'package)
2019-10-17 13:21:30 -04:00
(require 'erc)
2019-10-09 12:07:11 -04:00
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(blink-cursor-delay 0.5)
'(blink-cursor-interval 0.5)
'(blink-cursor-mode t)
'(display-line-numbers-type (quote relative))
'(global-display-line-numbers-mode t)
'(menu-bar-mode nil)
'(minimap-window-location (quote right))
'(package-archives
(quote
(("gnu" . "http://elpa.gnu.org/packages/")
("melpa-stable" . "http://stable.melpa.org/packages/"))))
2019-10-16 19:46:40 -04:00
'(package-selected-packages
(quote
2019-10-17 13:21:30 -04:00
(undo-tree rainbow-mode pdf-tools emojify minimap lua-mode haskell-mode ##)))
2019-10-09 12:07:11 -04:00
'(scroll-bar-mode nil)
'(tool-bar-mode nil)
'(tooltip-mode nil))
(package-initialize)
(add-to-list 'load-path "/home/dt/.emacs.d/elpa/which-key-3.3.0/which-key.el")
(require 'which-key)
(which-key-mode)
2019-10-16 19:46:40 -04:00
(require 'rainbow-mode)
(use-package rainbow-mode
:ensure t
:config
(setq rainbow-x-colors nil)
(add-hook 'prog-mode-hook 'rainbow-mode))
2019-10-09 12:07:11 -04:00
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
(load-theme 'dracula t)
2019-10-16 19:46:40 -04:00
(add-hook 'after-init-hook #'global-emojify-mode)
2019-10-09 12:07:11 -04:00
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
2019-10-16 19:46:40 -04:00
'(default ((t (:family "mononoki Nerd Font Mono" :foundry "UKWN" :slant normal :weight normal :height 120 :width normal)))))
2019-10-09 12:07:11 -04:00
;;; Keybindings
(global-set-key (kbd "C->") 'indent-rigidly-right-to-tab-stop) ; Indent selection by one tab length
(global-set-key (kbd "C-<") 'indent-rigidly-left-to-tab-stop) ; De-indent selection by one tab length