feat!: prefix P abbr with a dot
This commit is contained in:
parent
a11717c8ce
commit
b8ec445560
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
shellAbbrs = shellConfig.abbreviations;
|
shellAbbrs = shellConfig.abbreviations;
|
||||||
shellAliases = shellConfig.aliases;
|
shellAliases = shellConfig.aliases;
|
||||||
shellInit = ''
|
shellInit = /* fish */ ''
|
||||||
# Vi Mode
|
# Vi Mode
|
||||||
fish_vi_key_bindings
|
fish_vi_key_bindings
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ in
|
||||||
end
|
end
|
||||||
abbr --add dotdot --regex '^\.\.+$' --function multicd
|
abbr --add dotdot --regex '^\.\.+$' --function multicd
|
||||||
|
|
||||||
abbr -a P --position anywhere --set-cursor "% | $PAGER"
|
abbr -a .P --position anywhere --set-cursor "% | $PAGER"
|
||||||
|
|
||||||
function editor_edit
|
function editor_edit
|
||||||
echo $EDITOR $argv
|
echo $EDITOR $argv
|
||||||
|
|
Loading…
Reference in a new issue