fish vim bindings :3
This commit is contained in:
parent
8e4c37287a
commit
b0c76a2219
2 changed files with 11 additions and 12 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
interactiveShellInit = ''
|
||||
set -g fish_greeting
|
||||
set -g fish_key_bindings fish_vi_key_bindings
|
||||
export GPG_TTY="$(tty)"
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
gpgconf --launch gpg-agent
|
||||
|
@ -15,15 +16,4 @@
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
home.file = {
|
||||
fish_prompt = {
|
||||
source = ./fish_prompt.fish;
|
||||
target = ".config/fish/functions/fish_prompt.fish";
|
||||
};
|
||||
fish_right_prompt = {
|
||||
source = ./fish_right_prompt.fish;
|
||||
target = ".config/fish/functions/fish_right_prompt.fish";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"[│](bold green)$username$hostname:$directory"
|
||||
"$line_break"
|
||||
"[└─>](bold green)"
|
||||
"$character"
|
||||
];
|
||||
username = {
|
||||
style_user = "red bold";
|
||||
|
@ -37,6 +38,15 @@
|
|||
disabled = false;
|
||||
};
|
||||
|
||||
character = {
|
||||
success_symbol = "[❯](bold green)";
|
||||
error_symbol = "[X](bold red)";
|
||||
vimcmd_symbol = "[N](bold green)";
|
||||
vimcmd_replace_one_symbol = "[R](bold purple)";
|
||||
vimcmd_replace_symbol = "[R](bold purple)";
|
||||
vimcmd_visual_symbol = "[V](bold yellow)";
|
||||
};
|
||||
|
||||
right_format = lib.concatStrings [
|
||||
"$vcsh"
|
||||
"$fossil_branch"
|
||||
|
@ -113,7 +123,6 @@
|
|||
"$os"
|
||||
"$container"
|
||||
"$shell"
|
||||
"$character"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue