vim mode for fish

This commit is contained in:
Anton Volnuhin 2024-05-17 22:37:25 +03:00
parent 8c8aa26072
commit 88ece234d4

View File

@ -32,6 +32,7 @@ alias l "ls -la"
alias lll "ls -latr"
alias lg "lazygit"
alias z j
# abbreviations
abbr lsn littlesnitch
abbr nv nvim
@ -71,24 +72,28 @@ function conda
micromamba $argv
end
if [ -e /opt/homebrew/bin/micromamba ];
if [ -e /opt/homebrew/bin/micromamba ]
# >>> mamba initialize >>>
# !! Contents within this block are managed by 'mamba init' !!
set -gx MAMBA_EXE "/opt/homebrew/bin/micromamba"
set -gx MAMBA_ROOT_PREFIX "/Users/anton/micromamba"
$MAMBA_EXE shell hook --shell fish --root-prefix $MAMBA_ROOT_PREFIX | source
# <<< mamba initialize <<<
# !! Contents within this block are managed by 'mamba init' !!
set -gx MAMBA_EXE "/opt/homebrew/bin/micromamba"
set -gx MAMBA_ROOT_PREFIX "/Users/anton/micromamba"
$MAMBA_EXE shell hook --shell fish --root-prefix $MAMBA_ROOT_PREFIX | source
# <<< mamba initialize <<<
end
if [ -e /home/anton/.nix-profile/etc/profile.d/nix.fish ]; . /home/anton/.nix-profile/etc/profile.d/nix.fish; end
if [ -e /home/anton/.nix-profile/etc/profile.d/nix.fish ];
source /home/anton/.nix-profile/etc/profile.d/nix.fish;
end
# The next line updates PATH for the Google Cloud SDK.
if [ -f "/Users/anton/dev/google-cloud-sdk/path.fish.inc" ]
. "/Users/anton/dev/google-cloud-sdk/path.fish.inc"
if [ -f ~/dev/google-cloud-sdk/path.fish.inc ]
source ~/dev/google-cloud-sdk/path.fish.inc
end
direnv hook fish | source
if [ -f '~/.config/op/plugins.sh' ]; source ~/.config/op/plugins.sh; end
direnv hook fish | source
if [ -f ~/.config/op/plugins.sh ]
source ~/.config/op/plugins.sh
end
fish_vi_key_bindings