Use unstable for all the things

This commit is contained in:
Dave Gallant
2021-01-31 22:08:18 -05:00
parent 22bda76f84
commit d7e10ddd57
7 changed files with 71 additions and 104 deletions

View File

@@ -112,7 +112,6 @@
initExtra = ''
export PATH=$PATH:~/.cargo/bin
export PATH=$PATH:~/.local/bin
export PATH=$PATH:~/.npm-packages/bin
export PATH=$PATH:~/go/bin
export PAGER=less
@@ -366,6 +365,7 @@
xclip
]);
};
};
home.file.".emacs.d/init.el".source = ./init.el;

View File

@@ -1,19 +1,30 @@
;; Enable Mouse
(xterm-mouse-mode 1)
(xterm-mouse-mode)
;; Enable xclip
(require 'xclip)
(define-globalized-minor-mode global-xclip-mode
xclip-mode xclip-mode)
(global-xclip-mode 1)
;; Set up fonts early.
(set-face-attribute 'default
nil
:height 80
:family "Fira Code Mono")
(set-face-attribute 'variable-pitch
nil
:family "Fira CodeSans")
;; Fix clipboard
(setq x-select-enable-clipboard t)
(setq select-enable-clipboard t)
;; Enable Line Numbers
(global-display-line-numbers-mode 1)
;; Disable lock files
(setq create-lockfiles nil)
;; Enable Evil
(require 'evil)
(evil-mode 1)
@@ -73,6 +84,7 @@
;; Enable Flycheck
(global-flycheck-mode)
(setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc))
;; An easier way to toggle comments
(evil-commentary-mode)