From f9592f2f94ed855000fc77bf6030a2d01dadd589 Mon Sep 17 00:00:00 2001 From: Lorenzo Good Date: Sun, 28 Dec 2025 20:18:45 -0600 Subject: [PATCH] Emacs things. --- common/bash.nix | 4 ++++ nvim/config/lua/FoehammerVim/languages.lua | 2 +- x | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/common/bash.nix b/common/bash.nix index 6950ec0..d8d434d 100644 --- a/common/bash.nix +++ b/common/bash.nix @@ -20,6 +20,10 @@ shellAliases = { emacs = "emacs -nw"; + estart = "systemctl --user start emacs"; + estop = "systemctl --user stop emacs"; + erestart = "systemctl --user restart emacs"; + ec = "emacsclient -nw"; vi = "nvim"; vim = "nvim"; tl = "tmux list-sessions"; diff --git a/nvim/config/lua/FoehammerVim/languages.lua b/nvim/config/lua/FoehammerVim/languages.lua index 306ff72..0559621 100755 --- a/nvim/config/lua/FoehammerVim/languages.lua +++ b/nvim/config/lua/FoehammerVim/languages.lua @@ -199,7 +199,7 @@ local function init() ignore_install = {}, ensure_installed = {}, highlight = { enable = true }, - indent = { enable = true }, + indent = { enable = false }, modules = {}, rainbow = { enable = true }, sync_install = false, diff --git a/x b/x index c84f6e4..88ca45f 100755 --- a/x +++ b/x @@ -4,8 +4,8 @@ function switch() { home-manager switch --flake .#$1 } -if [[ -n $1 ]]; then +if [[ -n $1 ]]; then switch $1 else - switch default + switch default fi