Skip to content

Commit

Permalink
Reapply "Use helix as editor"
Browse files Browse the repository at this point in the history
This reverts commit 7eb7309.
  • Loading branch information
simonrw committed Oct 13, 2024
1 parent a9def43 commit 21f643e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion home/bin/,f
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -euo pipefail

chosen="$(git ls-files | fzf-tmux)"
exec nvim "${chosen}"
exec hx "${chosen}"
3 changes: 2 additions & 1 deletion home/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ in {
tree = "${pkgs.eza}/bin/eza -T";
vup = "nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'";
vimdiff = "nvim -d";
vim = "nvim";
nvim = "hx";
vim = "hx";
pydoc = "python -m pydoc";
}
// lib.optionalAttrs isLinux {
Expand Down
2 changes: 1 addition & 1 deletion home/fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set -x NTFY_TOPIC simonrw-notify
# centralise where python puts its .pyc files
set -x PYTHONPYCACHEPREFIX {$HOME}/.python-cache

set -x EDITOR "nvim"
set -x EDITOR hx

# host-specific configuration
set host_config ~/.config/fish/conf.d/per-host/config.(hostname).fish
Expand Down
2 changes: 1 addition & 1 deletion home/git/global.nix
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
autocrlf = "input";
safecrlf = true;
whitespace = "fix";
editor = "nvim";
editor = "hx";
mergeoptions = "--no-ff";
preloadindex = true;
ignorecase = false;
Expand Down

0 comments on commit 21f643e

Please sign in to comment.