From 73ed0a204755be82b603dd9f1a6c2961ce341940 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Wed, 27 Jul 2022 15:54:31 +0200 Subject: [PATCH] tmux can do popups. so fancy! --- .config/gitui/theme.ron | 19 +++++++++++++++++++ .tmux.conf | 1 + 2 files changed, 20 insertions(+) create mode 100644 .config/gitui/theme.ron diff --git a/.config/gitui/theme.ron b/.config/gitui/theme.ron new file mode 100644 index 0000000..4cc3c94 --- /dev/null +++ b/.config/gitui/theme.ron @@ -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, +) diff --git a/.tmux.conf b/.tmux.conf index 103a633..2aacde8 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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 ""