Better HN
topnewbestaskshowjobs
Log inSign up

jmkmay

4 karma · joined May 9, 2022 (4y ago) · 2 submissions

Submissions

comment 1y ago · link · parent

Pretty much my config exactly. I make mine a bit bigger tho:

   bind-key -n C-g display-popup -E -w 90% -h 80% -T "LazyGit" -d "#{pane_current_path}" "lazygit"

comment 1y ago · link · parent

Something not mentioned in the article which has changed the way I interact with git repos (and the reason I will never not use LazyVim until something better comes along) is just how well the system plays with tmux floating panes.

I have it so that anytime I press ctrl-g in a git repo, I open a floating tmux pane in my current working directory. This might sound "whatever", but it means I don't have to actually be inside neovim or "switch" to the LazyGit UI. It just overlays it on top of whatever I'm doing at the moment in the terminal.

Makes for the most fluid, streamlined git experience ever if you primarily live in the terminal.