mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 19:45:25 +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
|
# Fish:1 ends here
|
||||||
|
|
||||||
# [[file:../../Console.org::*Fish][Fish:2]]
|
# [[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 q="exit"
|
||||||
alias c="clear"
|
alias c="clear"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# [[file:../Console.org::*Starship prompt][Starship prompt:1]]
|
# [[file:../Console.org::*Starship prompt][Starship prompt:1]]
|
||||||
[character]
|
[character]
|
||||||
success_symbol = "[➤ ](bold green)"
|
success_symbol = "[> ](bold green)"
|
||||||
error_symbol = "[ ](bold red)"
|
error_symbol = "[✕ ](bold red)"
|
||||||
vicmd_symbol = "[ᐊ ](bold green)"
|
vicmd_symbol = "[ᐊ ](bold green)"
|
||||||
|
|
||||||
[aws]
|
[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=.
|
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
|
#+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 q="exit"
|
||||||
alias c="clear"
|
alias c="clear"
|
||||||
|
|
@ -602,8 +606,8 @@ References:
|
||||||
|
|
||||||
#+begin_src conf-toml :tangle ./.config/starship.toml
|
#+begin_src conf-toml :tangle ./.config/starship.toml
|
||||||
[character]
|
[character]
|
||||||
success_symbol = "[➤ ](bold green)"
|
success_symbol = "[> ](bold green)"
|
||||||
error_symbol = "[ ](bold red)"
|
error_symbol = "[✕ ](bold red)"
|
||||||
vicmd_symbol = "[ᐊ ](bold green)"
|
vicmd_symbol = "[ᐊ ](bold green)"
|
||||||
|
|
||||||
[aws]
|
[aws]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue