Skip to content

Commit 2179ec0

Browse files
authored
Merge pull request #187 from mrjones2014/bot/vimdoc/master
chore: generated vimdoc
2 parents af44880 + 4cb3896 commit 2179ec0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/smart-splits.txt

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*smart-splits.txt* Last change: 2024 March 11
1+
*smart-splits.txt* Last change: 2024 April 25
22

33
==============================================================================
44
Table of Contents *smart-splits-table-of-contents*
@@ -350,6 +350,12 @@ file (customizing the keys and resize amount if desired):
350350
bind-key -n C-k if -F "#{@pane-is-vim}" 'send-keys C-k' 'select-pane -U'
351351
bind-key -n C-l if -F "#{@pane-is-vim}" 'send-keys C-l' 'select-pane -R'
352352

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+
353359
# Smart pane resizing with awareness of Neovim splits.
354360
bind-key -n M-h if -F "#{@pane-is-vim}" 'send-keys M-h' 'resize-pane -L 3'
355361
bind-key -n M-j if -F "#{@pane-is-vim}" 'send-keys M-j' 'resize-pane -D 3'

0 commit comments

Comments
 (0)