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 {
"stevearc/oil.nvim",
enabled = true,
---@module 'oil'
---@type oil.SetupOpts
enabled = false,
opts = {
default_file_explorer = false,
delete_to_trash = true,

View file

@ -4,13 +4,13 @@ return {
keys = {
-- 👇 in this section, choose your own keymappings!
{
"<leader>-",
"-",
"<cmd>Yazi<cr>",
desc = "Open yazi at the current file",
},
{
-- Open in the current working directory
"<leader>_",
"<leader>-",
"<cmd>Yazi cwd<cr>",
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 v split-window -v -c "#{pane_current_path}"
bind h split-window -h -c "#{pane_current_path}"
# Swap the split bindings to be consistent with nvim
bind v split-window -h -c "#{pane_current_path}"
bind h split-window -v -c "#{pane_current_path}"
bind C-x kill-session
bind S command-prompt -p "rename session:" "rename-session '%%'"
# bind W command-prompt -p "rename window:" "rename-window '%%'"