From a8c33c9f089a6d308647d4463fe7881adb991aaf Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 18 May 2022 01:27:19 -0500 Subject: [PATCH] WIP --- common/fish/config.fish | 9 +++++---- common/helix/config.toml | 4 +++- common/helix/runtime | 1 + common/kitty/kitty.conf | 6 ++++++ 4 files changed, 15 insertions(+), 5 deletions(-) create mode 120000 common/helix/runtime diff --git a/common/fish/config.fish b/common/fish/config.fish index f106100..880ad5b 100755 --- a/common/fish/config.fish +++ b/common/fish/config.fish @@ -10,8 +10,8 @@ for f in vars colors prompt functions key-bindings source $FISH_PATH/$f.fish end -if has_command brew && test -f (brew --prefix asdf)/lib/asdf.fish - set -Ux ASDF_DIR (brew --prefix asdf) +if has_command brew && test -f (brew --prefix asdf)/libexec/asdf.fish + set --universal --export ASDF_DIR (brew --prefix asdf) source (brew --prefix asdf)/libexec/asdf.fish else if test -f $HOME/.asdf/asdf.fish source $HOME/.asdf/asdf.fish @@ -41,5 +41,6 @@ if test -f /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh set --prepend --export --global fish_user_paths $HOME/.nix-profile/bin /nix/var/nix/profiles/default/bin end - -test $PWD = $HOME && begin; cd $NICE_HOME || cd; end +test $PWD = $HOME && begin + cd $NICE_HOME || cd +end diff --git a/common/helix/config.toml b/common/helix/config.toml index 168f24d..9f1ad56 100644 --- a/common/helix/config.toml +++ b/common/helix/config.toml @@ -1,2 +1,4 @@ +theme = "bogster" + [keys.insert] -j = { k = "normal_mode" } +j = { k = "normal_mode" } \ No newline at end of file diff --git a/common/helix/runtime b/common/helix/runtime new file mode 120000 index 0000000..2c5d6d7 --- /dev/null +++ b/common/helix/runtime @@ -0,0 +1 @@ +/Users/danielflanagan/code/helix/runtime \ No newline at end of file diff --git a/common/kitty/kitty.conf b/common/kitty/kitty.conf index 29976cb..c07aa9f 100644 --- a/common/kitty/kitty.conf +++ b/common/kitty/kitty.conf @@ -25,6 +25,12 @@ map shift+insert paste_from_clipboard map ctrl+shift+v paste_from_selection map ctrl+shift+c copy_to_clipboard +map ctrl+shift+h neighboring_window left +map ctrl+shift+l neighboring_window right +map ctrl+shift+k neighboring_window up +map ctrl+shift+j neighboring_window down +map ctrl+shift+h nth_window -1 + enable_audio_bell yes url_style single