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 = ''
|
interactiveShellInit = ''
|
||||||
set -g fish_greeting
|
set -g fish_greeting
|
||||||
|
set -g fish_key_bindings fish_vi_key_bindings
|
||||||
export GPG_TTY="$(tty)"
|
export GPG_TTY="$(tty)"
|
||||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
gpgconf --launch gpg-agent
|
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"
|
"[│](bold green)$username$hostname:$directory"
|
||||||
"$line_break"
|
"$line_break"
|
||||||
"[└─>](bold green)"
|
"[└─>](bold green)"
|
||||||
|
"$character"
|
||||||
];
|
];
|
||||||
username = {
|
username = {
|
||||||
style_user = "red bold";
|
style_user = "red bold";
|
||||||
|
@ -37,6 +38,15 @@
|
||||||
disabled = false;
|
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 [
|
right_format = lib.concatStrings [
|
||||||
"$vcsh"
|
"$vcsh"
|
||||||
"$fossil_branch"
|
"$fossil_branch"
|
||||||
|
@ -113,7 +123,6 @@
|
||||||
"$os"
|
"$os"
|
||||||
"$container"
|
"$container"
|
||||||
"$shell"
|
"$shell"
|
||||||
"$character"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue