if status is-interactive and not set -q TMUX exec tmux attach -t Welcome || tmux || echo "Something went wrong trying to start tmux" end set fish_cursor_default block # Set the normal and visual mode cursors to a block set fish_cursor_insert line # Set the insert mode cursor to a line set fish_cursor_replace_one underscore # Set the replace mode cursor to an underscore # Force fish to skip some checks (I think) set fish_vi_force_cursor function fish_user_key_bindings # Use the vim keybinds fish_vi_key_bindings # Use jj to exit insert mode bind -e -M insert \e # unbinds esc bind -M insert -m default jk 'commandline -f repaint' bind -M insert -m default kj 'commandline -f repaint' end # direnv hook, aparently # https://direnv.net/docs/hook.html direnv hook fish | source # allow using packages installed by pnpm fish_add_path $HOME/.PNPM_HOME