replace neovim with helix

This commit is contained in:
insects 2024-09-22 10:45:27 +02:00
parent 75a38fab65
commit 303e982a8e
3 changed files with 12 additions and 9 deletions

View file

@ -1,11 +1,8 @@
{ pkgs, ... }:
{
{ pkgs, ... }: {
programs.fish = {
enable = true;
functions = {
setpath = "test -e $argv[1]; and fish_add_path $argv[1]";
};
functions = { setpath = "test -e $argv[1]; and fish_add_path $argv[1]"; };
interactiveShellInit = ''
if test -z "$XDG_RUNTIME_DIR"
@ -25,7 +22,7 @@
setpath ~/.bun/bin
setpath ~/Projects/Checkouts/arcanist/bin
set -x EDITOR nvim
set -x EDITOR hx
set -x USER lu
set -x SHELL (which fish)
set -x TERM xterm-256color
@ -96,6 +93,7 @@
jbm = "jj branch move";
jgp = "jj git push";
jdiff = "jj diff";
jnew = "jj new";
# nix aliases
n = "nix";