Skip to content

Commit e3864f7

Browse files
committed
Add special handling for <Tab>
1 parent d0c9b7b commit e3864f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugin/adjustscroll.vim

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ if !exists('g:adjustscroll_auto') || g:adjustscroll_auto == 1
1414
endif
1515

1616
if !exists('g:adjustscroll_remap') || g:adjustscroll_remap == 1
17-
for i in split('`. gg G zr zm <C-O> <C-I> <C-W>o <C-U> <C-D> <C-6> * # n N <C-]> gd')
17+
for i in split('`. gg G zr zm <C-O> <C-W>o <C-U> <C-D> <C-6> * # n N <C-]> gd')
1818
if len(maparg(i, 'n')) == 0
1919
call adjustscroll#remap_normal(i)
2020
endif
2121
endfor
2222
nnoremap <silent> <PageDown> <PageDown>:AdjustScroll<cr>
2323
nnoremap <silent> <PageUp> <PageUp>:AdjustScroll<cr>
24+
nnoremap <silent> <C-I> <C-I>:AdjustScroll<cr>
2425
endif

0 commit comments

Comments
 (0)