add emacs config
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
# Optionally provide extra packages not in the configuration file.
|
# Optionally provide extra packages not in the configuration file.
|
||||||
extraPackages = epkgs: with epkgs; [
|
extraPackages = epkgs: with epkgs; [
|
||||||
|
|
||||||
# === SEARCH AND FILE UTILITIES ===
|
|
||||||
ag # Silver searcher integration for fast text search
|
|
||||||
|
|
||||||
# === WEB AND SERVER CONFIGURATION ===
|
# === WEB AND SERVER CONFIGURATION ===
|
||||||
apache-mode # Syntax highlighting for Apache config files
|
apache-mode # Syntax highlighting for Apache config files
|
||||||
nginx-mode # Syntax highlighting for Nginx config files
|
nginx-mode # Syntax highlighting for Nginx config files
|
||||||
@@ -45,6 +42,11 @@
|
|||||||
yaml-mode # YAML configuration files
|
yaml-mode # YAML configuration files
|
||||||
gnuplot-mode # Gnuplot script editing and plotting integration
|
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 ===
|
# === TEXT COMPLETION AND PRODUCTIVITY ===
|
||||||
company # Text completion framework
|
company # Text completion framework
|
||||||
smex # Enhanced M-x command with history
|
smex # Enhanced M-x command with history
|
||||||
@@ -111,18 +113,12 @@
|
|||||||
scala-ts-mode # Scala with tree-sitter (alternative to scala-mode)
|
scala-ts-mode # Scala with tree-sitter (alternative to scala-mode)
|
||||||
swift-ts-mode # Swift programming with tree-sitter
|
swift-ts-mode # Swift programming with tree-sitter
|
||||||
|
|
||||||
#"dired+"
|
|
||||||
#dired-copy-paste
|
|
||||||
#frame-cmds
|
#frame-cmds
|
||||||
#frame-fns
|
#frame-fns
|
||||||
#sourcepair
|
#sourcepair
|
||||||
#zoom-frm
|
#zoom-frm
|
||||||
];
|
];
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = builtins.readFile ./emacs/custom.el;
|
||||||
(setq standard-indent 2)
|
|
||||||
|
|
||||||
(load-theme 'grandshell t)
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
1186
home/develop/emacs/custom.el
Normal file
1186
home/develop/emacs/custom.el
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user