File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
- *smart-splits.txt* Last change: 2024 March 11
1
+ *smart-splits.txt* Last change: 2024 April 25
2
2
3
3
==============================================================================
4
4
Table of Contents *smart-splits-table-of-contents*
@@ -350,6 +350,12 @@ file (customizing the keys and resize amount if desired):
350
350
bind-key -n C-k if -F "#{@pane-is-vim}" 'send-keys C-k' 'select-pane -U'
351
351
bind-key -n C-l if -F "#{@pane-is-vim}" 'send-keys C-l' 'select-pane -R'
352
352
353
+ # Alternatively, if you want to disable wrapping when moving in non-neovim panes, use these bindings
354
+ # bind-key -n C-h if -F '#{@pane-is-vim}' { send-keys C-h } { if -F '#{pane_at_left}' '' 'select-pane -L' }
355
+ # bind-key -n C-j if -F '#{@pane-is-vim}' { send-keys C-j } { if -F '#{pane_at_bottom}' '' 'select-pane -D' }
356
+ # bind-key -n C-k if -F '#{@pane-is-vim}' { send-keys C-k } { if -F '#{pane_at_top}' '' 'select-pane -U' }
357
+ # bind-key -n C-l if -F '#{@pane-is-vim}' { send-keys C-l } { if -F '#{pane_at_right}' '' 'select-pane -R' }
358
+
353
359
# Smart pane resizing with awareness of Neovim splits.
354
360
bind-key -n M-h if -F "#{@pane-is-vim}" 'send-keys M-h' 'resize-pane -L 3'
355
361
bind-key -n M-j if -F "#{@pane-is-vim}" 'send-keys M-j' 'resize-pane -D 3'
You can’t perform that action at this time.
0 commit comments