1
0

add emacs config

This commit is contained in:
2025-07-08 14:12:51 -07:00
parent 87929055af
commit 11332b71e2
2 changed files with 1193 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
{ ... }:
{ pkgs, ... }:
{
programs.emacs = {
enable = true;
@@ -6,9 +6,6 @@
# Optionally provide extra packages not in the configuration file.
extraPackages = epkgs: with epkgs; [
# === SEARCH AND FILE UTILITIES ===
ag # Silver searcher integration for fast text search
# === WEB AND SERVER CONFIGURATION ===
apache-mode # Syntax highlighting for Apache config files
nginx-mode # Syntax highlighting for Nginx config files
@@ -45,6 +42,11 @@
yaml-mode # YAML configuration files
gnuplot-mode # Gnuplot script editing and plotting integration
# === SEARCH AND FILE UTILITIES ===
rg # Ripgrep searcher integration for fast text search
diredfl
dired-ranger
# === TEXT COMPLETION AND PRODUCTIVITY ===
company # Text completion framework
smex # Enhanced M-x command with history
@@ -111,18 +113,12 @@
scala-ts-mode # Scala with tree-sitter (alternative to scala-mode)
swift-ts-mode # Swift programming with tree-sitter
#"dired+"
#dired-copy-paste
#frame-cmds
#frame-fns
#sourcepair
#zoom-frm
];
extraConfig = ''
(setq standard-indent 2)
(load-theme 'grandshell t)
'';
extraConfig = builtins.readFile ./emacs/custom.el;
};
}