From 0384f0d7262a3ec059c56e8c0e72640f235e6185 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Sat, 19 Oct 2024 21:19:52 +0200 Subject: [PATCH] Moved lazygit from vim to tmux --- config/nvim/init.lua | 12 ++++++------ tmux.conf | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/nvim/init.lua b/config/nvim/init.lua index fd2e329..d58cd37 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -502,12 +502,12 @@ require('lazy').setup({ { 'numToStr/Comment.nvim', opts = {} }, - { - "kdheepak/lazygit.nvim", - dependencies = { - "nvim-lua/plenary.nvim", - }, - }, + -- { + -- "kdheepak/lazygit.nvim", + -- dependencies = { + -- "nvim-lua/plenary.nvim", + -- }, + -- }, -- { -- 'akinsho/toggleterm.nvim', diff --git a/tmux.conf b/tmux.conf index 40fa903..cec5fa6 100644 --- a/tmux.conf +++ b/tmux.conf @@ -36,7 +36,7 @@ bind -n M-l run "($is_vim && tmux send-keys M-l) || tmux resize-pane -R 1" bind '"' split-window -v -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" -bind -n C-g display-popup -E "lazygit" +bind -n C-g display-popup -d "#{pane_current_path}" -E -w 90% -h 90% "lazygit" set-option -g status-position bottom set-option -g default-terminal "tmux-256color"