Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Indeed! I just found out about tmux display-popup recently.

  # ~/.tmux.conf 
  bind-key C-g display-popup -E -d "#{pane_current_path}" -xC -yC -w 80% -h 75% "lazygit"
Then, in tmux:

  ctrl-b ctrl-g will open a popup window with lazygit
  q to quit


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"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: