Skip to content

Commit

Permalink
add tmux easy motion on copy-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
3ximus committed May 23, 2023
1 parent bcb4c8b commit 00388ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bash/ble.sh
Submodule ble.sh updated 4 files
+2 −1 docs/ChangeLog.md
+68 −19 lib/core-syntax.sh
+69 −0 note.txt
+11 −10 src/util.sh
9 changes: 8 additions & 1 deletion .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ bind J resize-pane -D 5
bind K resize-pane -U 5
bind L resize-pane -R 5

# change layout
bind-key ] next-layout
bind-key [ previous-layout

bind-key P swap-window -t -1 \; select-window -t -1
bind-key N swap-window -t +1 \; select-window -t +1
bind-key T command-prompt -p "Move Window To: " "move-window -t '%%'"
Expand Down Expand Up @@ -175,6 +179,8 @@ set -g @plugin '3ximus/tmux-plugin-uptime'
set -g @plugin '3ximus/tmux-plugin-datetime'
set -g @plugin 'tmux-plugins/tmux-battery'

set -g @plugin 'IngoMeyer441/tmux-easy-motion'

#########################
# Plugin Config

Expand All @@ -188,7 +194,6 @@ set -g @suspend_suspended_options " \
set -g @suspend_on_resume_command "tmux set status"
set -g @suspend_on_suspend_command "tmux set status"


set -g @batt_icon_status_charged ' '
set -g @batt_icon_status_charging '#[fg=green,bold]⚡#[fg=default,default]'
set -g @batt_icon_status_discharging ' '
Expand All @@ -209,6 +214,8 @@ set -g @fingers-highlight-format "#[fg=yellow,dim]%s"
set -g @fingers-pattern-1 '["].*["]' # match quoted text, useful when files path are quoted
set -g @fingers-pattern-2 "['][^']+[']" # match quoted text, useful when files path are quoted

set -g @easy-motion-prefix "Space"

set -g @extrakto_popup_size '60%'
set -g @extrakto_copy_key tab
set -g @extrakto_insert_key enter
Expand Down

0 comments on commit 00388ee

Please sign in to comment.