-
Notifications
You must be signed in to change notification settings - Fork 9
/
load-nano.el
40 lines (33 loc) · 1022 Bytes
/
load-nano.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
;;; load-nano.el -*- lexical-binding: t; -*-
;; This file loads nano. Enable by putting (require 'load-nano) in config.el
; necessary for proper appearance of nano
(setq doom-theme 'nil)
(require 'nano-layout)
(require 'nano-modeline)
(require 'nano-theme)
(require 'nano-colors)
(require 'nano-theme-light)
(require 'nano-faces)
(nano-faces)
(nano-theme)
(require 'nano-face-override)
(setq display-line-numbers-type nil
evil-default-cursor t
custom-blue "#718591"
custom-yellow "#BDA441")
; still haven't figured out what is up with point
; related to nano. this is a stopgap measure to
; get a decent looking cursor
(if (daemonp)
(add-hook 'after-make-frame-functions
(lambda (frame)
(with-selected-frame frame
(set-cursor-color custom-blue))))
(set-cursor-color custom-blue))
(defun set-yellow ()
(interactive)
(set-cursor-color custom-yellow))
(defun set-blue ()
(interactive)
(set-cursor-color custom-blue))
(provide 'load-nano)