From 8aeeabb2a9e03b111f5be09776319baf90b924e1 Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Wed, 27 Sep 2023 21:29:32 -0500 Subject: [PATCH] fish: remove expand_dots binding --- fish/config.fish | 3 --- fish/functions/expand_dots.fish | 12 ------------ 2 files changed, 15 deletions(-) delete mode 100644 fish/functions/expand_dots.fish 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