aboutsummaryrefslogtreecommitdiffhomepage
path: root/home-manager
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-07-23 22:50:49 +0900
committernsfisis <nsfisis@gmail.com>2025-07-23 22:50:49 +0900
commitb610ff50532561197eb8a703d5eb3986accdb032 (patch)
tree93c3468f21e7a9fe9060e2850f540881792ff8b2 /home-manager
parent6e9712c58e713982ca26649986d2bee0c8f4f5e6 (diff)
downloaddotfiles-b610ff50532561197eb8a703d5eb3986accdb032.tar.gz
dotfiles-b610ff50532561197eb8a703d5eb3986accdb032.tar.zst
dotfiles-b610ff50532561197eb8a703d5eb3986accdb032.zip
fish: add key binding to edit command buffer
https://ryota2357.com/blog/2025/zsh-fish-edit-cmd-buffer-with-macos/
Diffstat (limited to 'home-manager')
-rw-r--r--home-manager/config/fish/config.fish2
1 files changed, 2 insertions, 0 deletions
diff --git a/home-manager/config/fish/config.fish b/home-manager/config/fish/config.fish
index 7fb254f..165c59f 100644
--- a/home-manager/config/fish/config.fish
+++ b/home-manager/config/fish/config.fish
@@ -61,6 +61,8 @@ bind \cg __cd_project_root_dir
bind \cz fg
+bind ctrl-x,ctrl-e edit_command_buffer
+
function 256colors
for code in (seq 0 255)
printf '\e[38;05;%dm%3d: Test\n' $code $code