diff --git a/fish/config.fish b/fish/config.fish index 04c2c15..0eeae13 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -49,9 +49,6 @@ if status --is-interactive # By default, Ctrl+L clears the screen # Add binding Ctrl+Alt+L to clear screen AND scrollback buffer bind \e\f 'clear; commandline -f repaint' - - # Expand '...' to '../..' - bind . expand_dots end if not set -q __universals_initialized diff --git a/fish/functions/expand_dots.fish b/fish/functions/expand_dots.fish deleted file mode 100644 index edf014e..0000000 --- a/fish/functions/expand_dots.fish +++ /dev/null @@ -1,12 +0,0 @@ -# https://github.com/nickeb96/puffer-fish -function expand_dots -d 'Expand ... to ../..' - set -l item (string split ' ' (commandline --cut-at-cursor))[-1] - switch $item - case './*' - commandline --insert '.' - case '*..' - commandline --insert '/..' - case '*' - commandline --insert '.' - end -end