Set default editor

work
mat ess 2022-06-27 14:50:03 -04:00
parent c40b7af665
commit 460346ba2b
2 changed files with 7 additions and 2 deletions

View File

@ -28,6 +28,10 @@ in
# Config and plugins ------------------------------------------------------------------------- {{{
home.sessionVariables = {
EDITOR = "nvim";
};
# TODO: migrate to lua config
# Minimal init.vim config to load Lua config. Nix and Home Manager don't currently support
# `init.lua`.

View File

@ -131,8 +131,8 @@
# OG
# Nix related
drb = "darwin-rebuild build --flake ${nixConfigDir}/";
drs = "darwin-rebuild switch --flake ${nixConfigDir}/";
drb = "darwin-rebuild build --flake ${nixConfigDir}/; and rm result";
drs = "darwin-rebuild switch --flake ${nixConfigDir}/; and rm result";
drc = "codium ${nixConfigDir}";
drv = "vim ${nixConfigDir}";
cdr = "cd ${nixConfigDir}";
@ -155,6 +155,7 @@
ls = "${exa}/bin/exa";
ps = "${procs}/bin/procs";
tb = "toggle-background";
sb = "set-background-to-macOS";
};
# Configuration that should be above `loginShellInit` and `interactiveShellInit`.