Skip to content

Commit

Permalink
Indicate that this issue does not always arise.
Browse files Browse the repository at this point in the history
In some cases, the arrangement action will trigger a scrolling action.
  • Loading branch information
dstein64 committed Dec 27, 2020
1 parent c7aa052 commit 6a68983
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/scrollview.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,11 @@ following example.
============================================================================
5. Issues *scrollview-issues*

* Scrollbars become out-of-sync after window arrangement actions that are not
followed by a scroll event. For example, this can be seen by starting `nvim`,
issuing |:help|, then typing `<ctrl-w>J` to move the help window to the
bottom of the screen. This could be resolved if there was an event that is
triggered by the window arrangement actions. `:ScrollViewRefresh`, or
* Scrollbars can become out-of-sync after window arrangement actions that are
not followed by a scroll event. For example, this can be seen by starting
`nvim`, issuing |:help|, then typing `<ctrl-w>J` to move the help window to
the bottom of the screen. This could be resolved if there was an event that
is triggered by the window arrangement actions. `:ScrollViewRefresh`, or
scrolling can be used to refresh the scrollbars.
- Workaround: Remap the problematic key sequences accordingly. >
nnoremap <silent> <c-w>H <c-w>H:silent! ScrollViewRefresh<cr>
Expand Down

0 comments on commit 6a68983

Please sign in to comment.