From 888184235891313cbc3114344d6935e43cb66725 Mon Sep 17 00:00:00 2001 From: Alexandre Pasmantier <47638216+alexpasmantier@users.noreply.github.com> Date: Mon, 3 Feb 2025 00:12:12 +0100 Subject: [PATCH] refactor(shell): more default shell integration triggers (#335) --- .config/config.toml | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/.config/config.toml b/.config/config.toml index 96ef5ea..19a389d 100644 --- a/.config/config.toml +++ b/.config/config.toml @@ -165,13 +165,42 @@ toggle_preview = "ctrl-o" # "dirs" = ["ls"] # "files" = ["cat", "cp"] # ``` +"alias" = ["alias", "unalias"] "env" = ["export", "unset"] "dirs" = ["cd", "ls", "rmdir"] -"files" = ["cat", "less", "head", "tail", "vim", "bat"] -"git-diff" = ["git add"] -"git-branch" = ["git checkout", "git branch -d"] +"files" = [ + "cat", + "less", + "head", + "tail", + "vim", + "nano", + "bat", + "cp", + "mv", + "rm", + "touch", + "chmod", + "chown", + "ln", + "tar", + "zip", + "unzip", + "gzip", + "gunzip", + "xz", +] +"git-diff" = ["git add", "git restore"] +"git-branch" = [ + "git checkout", + "git branch", + "git merge", + "git rebase", + "git pull", + "git push", +] "docker-images" = ["docker run"] -"git-repos" = ["nvim"] +"git-repos" = ["nvim", "code", "hx", "git clone"] [shell_integration.keybindings]