File tree Expand file tree Collapse file tree 6 files changed +19
-18
lines changed Expand file tree Collapse file tree 6 files changed +19
-18
lines changed Original file line number Diff line number Diff line change 44- update readme
55- extract default keys and key options to ` variables.sh ` file
66- require tmux version 1.9 or greater to use the plugin
7+ - change all internal variable names (BREAKING CHANGE!)
78
89### v1.0.0, 2014-11-09
910- improve ` capture-pane ` . It is now piped directly to the target file.
Original file line number Diff line number Diff line change @@ -6,22 +6,22 @@ source "$CURRENT_DIR/scripts/variables.sh"
66source " $CURRENT_DIR /scripts/shared.sh"
77
88setup_pipe_pane_key_binding () {
9- local key=$( get_tmux_option " $pipe_pane_key_option " " $default_pipe_pane_key " )
9+ local key=$( get_tmux_option " $logging_key_option " " $default_logging_key " )
1010 tmux bind-key " $key " run-shell " $CURRENT_DIR /scripts/tmux_proper_pipe_pane.sh"
1111}
1212
1313setup_pane_screenshot_key_binding () {
14- local key=$( get_tmux_option " $pane_screenshot_key_option " " $default_pane_screenshot_key " )
14+ local key=$( get_tmux_option " $pane_screen_capture_key_option " " $default_pane_screen_capture_key " )
1515 tmux bind-key " $key " run-shell " $CURRENT_DIR /scripts/tmux_pane_screenshot.sh"
1616}
1717
1818setup_scrollback_dump_key_binding () {
19- local key=$( get_tmux_option " $scrollback_dump_key_option " " $default_scrollback_dump_key " )
19+ local key=$( get_tmux_option " $save_complete_history_key_option " " $default_save_complete_history_key " )
2020 tmux bind-key " $key " run-shell " $CURRENT_DIR /scripts/tmux_scrollback_dump.sh"
2121}
2222
2323setup_clear_scrollback_key_binding () {
24- local key=$( get_tmux_option " $clear_scrollback_key_option " " $default_clear_scrollback_key " )
24+ local key=$( get_tmux_option " $clear_history_key_option " " $default_clear_history_key " )
2525 tmux bind-key " $key " run-shell " $CURRENT_DIR /scripts/tmux_scrollback_clear.sh"
2626}
2727
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
66default_path=" $HOME "
77default_name=" tmux-screen-capture-#{session_name}-#{window_index}-#{pane_index}-%Y%m%dT%H%M%S.log"
88
9- path_option=" @screenshot_path "
10- name_option=" @screenshot_filename "
9+ path_option=" @screen-capture-path "
10+ name_option=" @screen-capture-filename "
1111
1212source " $CURRENT_DIR /variables.sh"
1313source " $CURRENT_DIR /shared.sh"
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
55default_log_path=" $HOME "
66default_log_name=" tmux-#{session_name}-#{window_index}-#{pane_index}-%Y%m%dT%H%M%S.log"
77
8- log_path_option=" @pipe_pane_path "
9- log_name_option=" @pipe_pane_filename "
8+ log_path_option=" @logging-path "
9+ log_name_option=" @logging-filename "
1010
1111source " $CURRENT_DIR /variables.sh"
1212source " $CURRENT_DIR /shared.sh"
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
66default_path=" $HOME "
77default_name=" tmux-history-#{session_name}-#{window_index}-#{pane_index}-%Y%m%dT%H%M%S.log"
88
9- path_option=" @scrollback_dump_path "
10- name_option=" @scrollback_dump_filename "
9+ path_option=" @save-complete-history-path "
10+ name_option=" @save-complete-history-filename "
1111
1212source " $CURRENT_DIR /variables.sh"
1313source " $CURRENT_DIR /shared.sh"
Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ SUPPORTED_VERSION="1.9"
22
33# Key binding options and defaults
44
5- pipe_pane_key_option =" @pipe-pane -key"
6- default_pipe_pane_key =" P" # Shift-p
5+ logging_key_option =" @logging -key"
6+ default_logging_key =" P" # Shift-p
77
8- pane_screenshot_key_option =" @pane-screenshot -key"
9- default_pane_screenshot_key =" M-p" # Alt-p
8+ pane_screen_capture_key_option =" @pane-screen-capture -key"
9+ default_pane_screen_capture_key =" M-p" # Alt-p
1010
11- scrollback_dump_key_option =" @scrollback-dump -key"
12- default_scrollback_dump_key =" M-P" # Alt-Shift-p
11+ save_complete_history_key_option =" @save-complete-history -key"
12+ default_save_complete_history_key =" M-P" # Alt-Shift-p
1313
14- clear_scrollback_key_option =" @scrollback -clear-key"
15- default_clear_scrollback_key =" M-c" # Alt-c
14+ clear_history_key_option =" @pane -clear-history -key"
15+ default_clear_history_key =" M-c" # Alt-c
You can’t perform that action at this time.
0 commit comments