AutoYADM commit: 2024-11-10 15:45:02

This commit is contained in:
Daniel Fichtinger 2024-11-10 15:45:02 -05:00
parent 3088d88eea
commit 5877f6b473
3 changed files with 7 additions and 7 deletions

View file

@ -1,8 +1,6 @@
return { return {
"stevearc/oil.nvim", "stevearc/oil.nvim",
enabled = true, enabled = false,
---@module 'oil'
---@type oil.SetupOpts
opts = { opts = {
default_file_explorer = false, default_file_explorer = false,
delete_to_trash = true, delete_to_trash = true,

View file

@ -4,13 +4,13 @@ return {
keys = { keys = {
-- 👇 in this section, choose your own keymappings! -- 👇 in this section, choose your own keymappings!
{ {
"<leader>-", "-",
"<cmd>Yazi<cr>", "<cmd>Yazi<cr>",
desc = "Open yazi at the current file", desc = "Open yazi at the current file",
}, },
{ {
-- Open in the current working directory -- Open in the current working directory
"<leader>_", "<leader>-",
"<cmd>Yazi cwd<cr>", "<cmd>Yazi cwd<cr>",
desc = "Open the file manager in nvim's working directory", desc = "Open the file manager in nvim's working directory",
}, },

View file

@ -42,8 +42,10 @@ bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
bind-key b set-option status bind-key b set-option status
bind v split-window -v -c "#{pane_current_path}" # Swap the split bindings to be consistent with nvim
bind h split-window -h -c "#{pane_current_path}" bind v split-window -h -c "#{pane_current_path}"
bind h split-window -v -c "#{pane_current_path}"
bind C-x kill-session bind C-x kill-session
bind S command-prompt -p "rename session:" "rename-session '%%'" bind S command-prompt -p "rename session:" "rename-session '%%'"
# bind W command-prompt -p "rename window:" "rename-window '%%'" # bind W command-prompt -p "rename window:" "rename-window '%%'"