Open tednaaa opened 3 months ago
Currently using https://github.com/NeogitOrg/neogit
Currently using
Fugitive
Lazygit configured with tmux https://github.com/kdheepak/lazygit.nvim #!/bin/sh
Lazygit configured with tmux
#!/bin/sh
full_path="$PWD/$1" if [ -z "$TMUX" ]; then nvim "$full_path" else window_name="neovim"
nvim_pid=$(tmux list-panes -t $window_name -F "#{pane_pid}" | xargs pgrep --parent | xargs pgrep --parent)
socket="/run/user/1000/nvim.$nvim_pid.0"
nvim --server "$socket" --remote-tab "$full_path"
tmux select-window -t "$window_name" fi
> Or with nvim plugin - https://github.com/kdheepak/lazygit.nvim
found amazing tool
but seems nobody support it, only fzf lua with stage/unstage
seems I should create my own plugin for neovim with git integration that uses delta and treesitter
Other options
full_path="$PWD/$1" if [ -z "$TMUX" ]; then nvim "$full_path" else window_name="neovim"
nvim_pid=$(tmux list-panes -t $window_name -F "#{pane_pid}" | xargs pgrep --parent | xargs pgrep --parent)
socket="/run/user/1000/nvim.$nvim_pid.0"
nvim --server "$socket" --remote-tab "$full_path"
tmux select-window -t "$window_name" fi