tmux can do popups. so fancy!

This commit is contained in:
Daniel Lundin 2022-07-27 15:54:31 +02:00
parent 06fabea1e6
commit 73ed0a2047
2 changed files with 20 additions and 0 deletions

19
.config/gitui/theme.ron Normal file
View file

@ -0,0 +1,19 @@
(
selected_tab: Reset,
command_fg: Rgb(2, 119, 189),
selection_bg: Rgb(225, 245, 254),
cmdbar_extra_lines_bg: Rgb(2, 136, 209),
disabled_fg: Rgb(109, 76, 65),
diff_line_add: Rgb(56, 142, 60),
diff_line_delete: Rgb(230, 74, 25),
diff_file_added: Rgb(56, 142, 60),
diff_file_removed: Rgb(230, 74, 25),
diff_file_moved: Rgb(156, 39, 176),
diff_file_modified: Rgb(255, 111, 0),
commit_hash: Magenta,
commit_time: Rgb(0, 131, 143),
commit_author: Green,
danger_fg: Red,
push_gauge_bg: Blue,
push_gauge_fg: Reset,
)

View file

@ -55,6 +55,7 @@ bind-key -T copy-mode-vi WheelDownPane select-pane \; send-keys -X -N 1 scroll-d
bind-key / copy-mode \; send-key ?
bind-key P 'capture-pane' \; capture-pane -S - \; save-buffer /tmp/tmux \; delete-buffer
bind-key -n C-\\ copy-mode \; send -X search-backward " % "\; send -X search-again
bind -n M-g display-popup -h '90%' -w '90%' -b rounded -d '#{pane_current_path}' -E "gitui"
setw -g window-status-format ""
setw -g window-status-current-format ""