Set default editor
parent
c40b7af665
commit
460346ba2b
|
@ -28,6 +28,10 @@ in
|
||||||
|
|
||||||
# Config and plugins ------------------------------------------------------------------------- {{{
|
# Config and plugins ------------------------------------------------------------------------- {{{
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
EDITOR = "nvim";
|
||||||
|
};
|
||||||
|
|
||||||
# TODO: migrate to lua config
|
# TODO: migrate to lua config
|
||||||
# Minimal init.vim config to load Lua config. Nix and Home Manager don't currently support
|
# Minimal init.vim config to load Lua config. Nix and Home Manager don't currently support
|
||||||
# `init.lua`.
|
# `init.lua`.
|
||||||
|
|
|
@ -131,8 +131,8 @@
|
||||||
|
|
||||||
# OG
|
# OG
|
||||||
# Nix related
|
# Nix related
|
||||||
drb = "darwin-rebuild build --flake ${nixConfigDir}/";
|
drb = "darwin-rebuild build --flake ${nixConfigDir}/; and rm result";
|
||||||
drs = "darwin-rebuild switch --flake ${nixConfigDir}/";
|
drs = "darwin-rebuild switch --flake ${nixConfigDir}/; and rm result";
|
||||||
drc = "codium ${nixConfigDir}";
|
drc = "codium ${nixConfigDir}";
|
||||||
drv = "vim ${nixConfigDir}";
|
drv = "vim ${nixConfigDir}";
|
||||||
cdr = "cd ${nixConfigDir}";
|
cdr = "cd ${nixConfigDir}";
|
||||||
|
@ -155,6 +155,7 @@
|
||||||
ls = "${exa}/bin/exa";
|
ls = "${exa}/bin/exa";
|
||||||
ps = "${procs}/bin/procs";
|
ps = "${procs}/bin/procs";
|
||||||
tb = "toggle-background";
|
tb = "toggle-background";
|
||||||
|
sb = "set-background-to-macOS";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Configuration that should be above `loginShellInit` and `interactiveShellInit`.
|
# Configuration that should be above `loginShellInit` and `interactiveShellInit`.
|
||||||
|
|
Loading…
Reference in New Issue