Skip to content

Commit

Permalink
Update [v and ]v to take a count.
Browse files Browse the repository at this point in the history
  • Loading branch information
dstein64 committed Jun 28, 2023
1 parent 76ab46a commit 0c7ddf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vim/.vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -985,8 +985,8 @@ noremap <silent> [f :<c-u>call <sid>EditSiblingFile(-v:count1)<cr>
noremap <silent> ]f :<c-u>call <sid>EditSiblingFile(v:count1)<cr>
noremap <silent> [F :<c-u>call <sid>EditSiblingFile('^')<cr>
noremap <silent> ]F :<c-u>call <sid>EditSiblingFile('$')<cr>
noremap <silent> [v :<c-u>ScrollViewPrev<cr>
noremap <silent> ]v :<c-u>ScrollViewNext<cr>
noremap <silent> [v :<c-u><c-r>=v:count1<cr>ScrollViewPrev<cr>
noremap <silent> ]v :<c-u><c-r>=v:count1<cr>ScrollViewNext<cr>
noremap <silent> [V :<c-u>ScrollViewFirst<cr>
noremap <silent> ]V :<c-u>ScrollViewLast<cr>
Expand Down

0 comments on commit 0c7ddf3

Please sign in to comment.