Skip to content

Commit

Permalink
refactor(yazi): make shell commands --interactive
Browse files Browse the repository at this point in the history
This seems to be a new recommendation in the upcoming version of Yazi.
  • Loading branch information
mikavilpas committed Jul 7, 2024
1 parent a7600f1 commit 61ed767
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .config/yazi/keymap.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ desc = "Keyjump (Normal mode)"

[[manager.prepend_keymap]]
on = ["<Right>"]
run = "shell --block --confirm lazygit"
run = "shell --interactive --block --confirm lazygit"

[manager]

Expand Down Expand Up @@ -84,8 +84,8 @@ keymap = [
{ on = ["D"], run = "remove --permanently", desc = "Permanently delete the files" },
{ on = ["a"], run = "create", desc = "Create a file or directory (ends with / for directories)" },
{ on = ["r"], run = "rename --cursor=before_ext", desc = "Rename a file or directory" },
{ on = [";"], run = "shell", desc = "Run a shell command" },
{ on = [":"], run = "shell --block", desc = "Run a shell command (block the UI until the command finishes)" },
{ on = [";"], run = "shell --interactive", desc = "Run a shell command" },
{ on = [":"], run = "shell --interactive --block", desc = "Run a shell command (block the UI until the command finishes)" },
{ on = ["."], run = "hidden toggle", desc = "Toggle the visibility of hidden files" },
{ on = ["s"], run = "search fd", desc = "Search files by name using fd" },
{ on = ["S"], run = "search rg", desc = "Search files by content using ripgrep" },
Expand Down

0 comments on commit 61ed767

Please sign in to comment.