emacs
This commit is contained in:
parent
3196a9713e
commit
7d342f94ee
1
users/tacocat/.config/emacs/early-init.el
Normal file
1
users/tacocat/.config/emacs/early-init.el
Normal file
|
@ -0,0 +1 @@
|
||||||
|
(setq package-enable-at-startup nil)
|
37
users/tacocat/.config/emacs/init.el
Normal file
37
users/tacocat/.config/emacs/init.el
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
(setq-default fill-column 80)
|
||||||
|
(setq-default tab-width 2)
|
||||||
|
(setq ring-bell-function 'ignore)
|
||||||
|
|
||||||
|
;; Display line numbers in every buffer
|
||||||
|
(global-display-line-numbers-mode 1)
|
||||||
|
(setq display-line-numbers-type 'relative)
|
||||||
|
(blink-cursor-mode 0)
|
||||||
|
(global-hl-line-mode 1)
|
||||||
|
|
||||||
|
;; Turn off some unneeded UI elements
|
||||||
|
(menu-bar-mode -1)
|
||||||
|
(tool-bar-mode -1)
|
||||||
|
(scroll-bar-mode -1)
|
||||||
|
|
||||||
|
(add-to-list 'default-frame-alist
|
||||||
|
'(font . "Mononoki Nerd Font-14"))
|
||||||
|
|
||||||
|
;; Initialize straight package manager
|
||||||
|
(defvar bootstrap-version)
|
||||||
|
(let ((bootstrap-file
|
||||||
|
(expand-file-name
|
||||||
|
"straight/repos/straight.el/bootstrap.el"
|
||||||
|
(or (bound-and-true-p straight-base-dir)
|
||||||
|
user-emacs-directory)))
|
||||||
|
(bootstrap-version 7))
|
||||||
|
(unless (file-exists-p bootstrap-file)
|
||||||
|
(with-current-buffer
|
||||||
|
(url-retrieve-synchronously
|
||||||
|
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
|
||||||
|
'silent 'inhibit-cookies)
|
||||||
|
(goto-char (point-max))
|
||||||
|
(eval-print-last-sexp)))
|
||||||
|
(load bootstrap-file nil 'nomessage))
|
||||||
|
|
||||||
|
(straight-use-package 'material-theme)
|
||||||
|
(load-theme 'material t)
|
|
@ -24,6 +24,7 @@
|
||||||
];
|
];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
fd
|
fd
|
||||||
|
emacs
|
||||||
vimpc
|
vimpc
|
||||||
ashuffle
|
ashuffle
|
||||||
ardour
|
ardour
|
||||||
|
@ -128,4 +129,10 @@
|
||||||
name = "Papirus";
|
name = "Papirus";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.configFile."./" = {
|
||||||
|
source = ./.config;
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue