mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
console: starship symbols & disable vi bindings in vterm
This commit is contained in:
parent
4ccc0bbc41
commit
85f8b320c4
3 changed files with 14 additions and 6 deletions
|
|
@ -10,7 +10,11 @@ end
|
|||
# Fish:1 ends here
|
||||
|
||||
# [[file:../../Console.org::*Fish][Fish:2]]
|
||||
fish_vi_key_bindings
|
||||
if [ "$IS_VTERM" != "1" ];
|
||||
fish_vi_key_bindings
|
||||
else
|
||||
fish_default_key_bindings
|
||||
end
|
||||
|
||||
alias q="exit"
|
||||
alias c="clear"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# [[file:../Console.org::*Starship prompt][Starship prompt:1]]
|
||||
[character]
|
||||
success_symbol = "[➤ ](bold green)"
|
||||
error_symbol = "[ ](bold red)"
|
||||
success_symbol = "[> ](bold green)"
|
||||
error_symbol = "[✕ ](bold red)"
|
||||
vicmd_symbol = "[ᐊ ](bold green)"
|
||||
|
||||
[aws]
|
||||
|
|
|
|||
10
Console.org
10
Console.org
|
|
@ -495,7 +495,11 @@ end
|
|||
|
||||
Enable vi keybindings & aliases. The alias syntax is the same as in bash, so it's just a noweb reference to =.bashrc=.
|
||||
#+begin_src fish :noweb yes
|
||||
fish_vi_key_bindings
|
||||
if [ "$IS_VTERM" != "1" ];
|
||||
fish_vi_key_bindings
|
||||
else
|
||||
fish_default_key_bindings
|
||||
end
|
||||
|
||||
alias q="exit"
|
||||
alias c="clear"
|
||||
|
|
@ -602,8 +606,8 @@ References:
|
|||
|
||||
#+begin_src conf-toml :tangle ./.config/starship.toml
|
||||
[character]
|
||||
success_symbol = "[➤ ](bold green)"
|
||||
error_symbol = "[ ](bold red)"
|
||||
success_symbol = "[> ](bold green)"
|
||||
error_symbol = "[✕ ](bold red)"
|
||||
vicmd_symbol = "[ᐊ ](bold green)"
|
||||
|
||||
[aws]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue