Skip to content

Commit

Permalink
Revert "Use helix throughout"
Browse files Browse the repository at this point in the history
This reverts commit 3e0bc5c.
  • Loading branch information
simonrw committed Nov 1, 2023
1 parent 2616c0a commit 5b6ca76
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 1 addition & 3 deletions home/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ in
# centralise where python puts its .pyc files
set -x PYTHONPYCACHEPREFIX {$HOME}/.python-cache
set -x EDITOR "${pkgs.helix}/bin/hx"
set -x EDITOR "${neovim}/bin/nvim"
set -x PAGER "${pkgs.bat}/bin/bat"
# host-specific configuration
Expand Down Expand Up @@ -155,8 +155,6 @@ in
trash = "${pkgs.python3Packages.send2trash}/bin/send2trash";
tree = "${pkgs.eza}/bin/eza -T";
vup = "${neovim}/bin/nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'";
vim = "${pkgs.helix}/bin/hx";
nvim = "${pkgs.helix}/bin/hx";
} // lib.optionalAttrs isLinux {
pbcopy = "${pkgs.xclip}/bin/xclip -selection clipboard";
pbpaste = "${pkgs.xclip}/bin/xclip -selection clipboard -o";
Expand Down
2 changes: 1 addition & 1 deletion home/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
autocrlf = "input";
safecrlf = true;
whitespace = "fix";
editor = "${pkgs.helix}/bin/hx";
editor = "nvim";
mergeoptions = "--no-ff";
preloadindex = true;
ignorecase = false;
Expand Down
4 changes: 4 additions & 0 deletions home/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
{
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
defaultEditor = true;
withPython3 = true;
extraPython3Packages = (ps: with ps; [
pynvim
Expand Down

0 comments on commit 5b6ca76

Please sign in to comment.