Use vi key bindings in fish; reorganize config

This commit is contained in:
Marley Rae 2024-02-03 12:21:40 -08:00
parent 101648b52b
commit 8a70cddb3b
2 changed files with 13 additions and 7 deletions

View file

@ -14,13 +14,6 @@ fish_add_path "$HOME/dotfiles/bin" /usr/local/bin "$HOME/bin"
# Dotfiles root dir.
set -gx DOT "$HOME/dotfiles"
# Projects dir.
set -gx HACK "$HOME/hackin"
# Editor.
set -gx EDITOR nvim
set -gx VISUAL "$EDITOR"
# Local environment variables.
if [ -e "$HOME/.local.env" ]
source "~/.local.env"

13
fish/settings.config.fish Normal file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env fish
# Projects dir.
set -gx HACK "$HOME/hackin"
# Editor.
set -gx EDITOR nvim
set -gx VISUAL "$EDITOR"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Use vi key bindings.
set -g fish_key_bindings fish_vi_key_bindings