From 5877f6b47308455f919cc12f4d14352e3ca2bba3 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Sun, 10 Nov 2024 15:45:02 -0500 Subject: [PATCH] AutoYADM commit: 2024-11-10 15:45:02 --- .config/nvim/lua/plugins/oil.lua | 4 +--- .config/nvim/lua/plugins/yazi.lua | 4 ++-- .config/tmux/tmux.conf | 6 ++++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.config/nvim/lua/plugins/oil.lua b/.config/nvim/lua/plugins/oil.lua index dabcec6a..3324c288 100644 --- a/.config/nvim/lua/plugins/oil.lua +++ b/.config/nvim/lua/plugins/oil.lua @@ -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, diff --git a/.config/nvim/lua/plugins/yazi.lua b/.config/nvim/lua/plugins/yazi.lua index ee8d9a80..09c4c204 100644 --- a/.config/nvim/lua/plugins/yazi.lua +++ b/.config/nvim/lua/plugins/yazi.lua @@ -4,13 +4,13 @@ return { keys = { -- 👇 in this section, choose your own keymappings! { - "-", + "-", "Yazi", desc = "Open yazi at the current file", }, { -- Open in the current working directory - "_", + "-", "Yazi cwd", desc = "Open the file manager in nvim's working directory", }, diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index b0ab9406..cb92b50d 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -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 '%%'"