🐃 emacs cleanup
This commit is contained in:
parent
88b9436e83
commit
f95f813b95
6
home.nix
6
home.nix
@ -127,10 +127,12 @@
|
|||||||
terminal = "screen-256color";
|
terminal = "screen-256color";
|
||||||
};
|
};
|
||||||
|
|
||||||
emacs = {
|
emacs = if (pkgs.stdenv.isLinux) then {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = epkgs: [ epkgs.vterm ];
|
extraPackages = epkgs: [ epkgs.vterm ];
|
||||||
};
|
}
|
||||||
|
else
|
||||||
|
{};
|
||||||
|
|
||||||
vim = {
|
vim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -58,11 +58,8 @@
|
|||||||
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
||||||
;; they are implemented.
|
;; they are implemented.
|
||||||
;;
|
;;
|
||||||
(after! wakatime-mode
|
(global-wakatime-mode)
|
||||||
(global-wakatime-mode))
|
(pinentry-start)
|
||||||
|
|
||||||
(after! pinentry
|
|
||||||
(pinentry-start))
|
|
||||||
|
|
||||||
(add-hook 'js2-mode-hook 'prettier-js-mode)
|
(add-hook 'js2-mode-hook 'prettier-js-mode)
|
||||||
(add-hook 'typescript-mode-hook 'prettier-js-mode)
|
(add-hook 'typescript-mode-hook 'prettier-js-mode)
|
||||||
|
@ -157,7 +157,7 @@
|
|||||||
rest ; Emacs as a REST client
|
rest ; Emacs as a REST client
|
||||||
;;rst ; ReST in peace
|
;;rst ; ReST in peace
|
||||||
(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||||
rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||||
;;scala ; java, but good
|
;;scala ; java, but good
|
||||||
;;scheme ; a fully conniving family of lisps
|
;;scheme ; a fully conniving family of lisps
|
||||||
sh ; she sells {ba,z,fi}sh shells on the C xor
|
sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user