Skip to content

Commit

Permalink
feat: set nvim as main editor
Browse files Browse the repository at this point in the history
  • Loading branch information
DavSanchez committed Nov 27, 2024
1 parent 66a3ea3 commit 68265a2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion home-manager/features/fish/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ in
shellInit = ''
${lib.optionalString pkgs.stdenv.isDarwin "eval (/opt/homebrew/bin/brew shellenv)"}
set -Ux EDITOR hx
set -Ux EDITOR nvim
'';

shellInitLast = "";
Expand Down
1 change: 0 additions & 1 deletion home-manager/features/git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
extraConfig = {
init.defaultBranch = "master";
branch.sort = "-committerdate";
# core.editor = "hx";
pull.ff = "only";
pull.rebase = true;

Expand Down
2 changes: 1 addition & 1 deletion home-manager/features/zsh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
KEYTIMEOUT = 1;
DOTFILES = "$HOME/.dotfiles";
NVIM_TUI_ENABLE_TRUE_COLOR = 1;
EDITOR = "hx";
EDITOR = "nvim";
LC_ALL = "en_US.UTF-8";
LANG = "en_US.UTF-8";
# NIX_PATH = "$HOME/.nix-defexpr/channels\${NIX_PATH:+:}$NIX_PATH";
Expand Down
1 change: 0 additions & 1 deletion home-manager/features/zsh/session_variables.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export DOTFILES="$HOME/.dotfiles"

# export ZSH=~/.oh-my-zsh
export NVIM_TUI_ENABLE_TRUE_COLOR=1
export EDITOR="hx"
export LC_ALL="en_US.UTF-8"
export LANG="en_US.UTF-8"

Expand Down

0 comments on commit 68265a2

Please sign in to comment.