File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 66 line is more correct
77- fix bug when yank-line is used in the last line in buffer. New 'solution' is
88 implemented for copying multiple lines.
9+ - code cleanup
910
1011### v0.0.2, Jun 25, 2014
1112
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ REMOTE_SHELL_WAIT_TIME="0.4"
77
88source " $CURRENT_DIR /key_binding_helpers.sh"
99
10- COPY_COMMAND=" $* "
11-
1210# sets a TMUX_COPY_MODE that is used as a global variable
1311get_tmux_copy_mode () {
1412 TMUX_COPY_MODE=" $( tmux show-option -gwv mode-keys) "
Original file line number Diff line number Diff line change @@ -47,14 +47,13 @@ set_copy_mode_bindings() {
4747}
4848
4949set_copy_line_bindings () {
50- local copy_command=" $1 "
51- tmux bind-key " $( yank_line_key) " run-shell " $CURRENT_DIR /scripts/copy_line.sh $copy_command "
50+ tmux bind-key " $( yank_line_key) " run-shell " $CURRENT_DIR /scripts/copy_line.sh"
5251}
5352
5453main () {
5554 local copy_command=" $( clipboard_copy_command) "
5655 error_handling_if_command_not_present " $copy_command "
5756 set_copy_mode_bindings " $copy_command "
58- set_copy_line_bindings " $copy_command "
57+ set_copy_line_bindings
5958}
6059main
You can’t perform that action at this time.
0 commit comments