From 8a70cddb3b13b70779eb69d45840aac95602985b Mon Sep 17 00:00:00 2001 From: Marley Rae Date: Sat, 3 Feb 2024 12:21:40 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Use=20vi=20key=20bindings=20in=20fi?= =?UTF-8?q?sh;=20reorganize=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fish/.config/fish/config.fish.symlink | 7 ------- fish/settings.config.fish | 13 +++++++++++++ 2 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 fish/settings.config.fish diff --git a/fish/.config/fish/config.fish.symlink b/fish/.config/fish/config.fish.symlink index 873f193..bf546b6 100644 --- a/fish/.config/fish/config.fish.symlink +++ b/fish/.config/fish/config.fish.symlink @@ -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" diff --git a/fish/settings.config.fish b/fish/settings.config.fish new file mode 100644 index 0000000..73b5f91 --- /dev/null +++ b/fish/settings.config.fish @@ -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