Skip to main content

Questions tagged [scrolling]

For questions about scrolling, and configuring the behavior of vim-scrolls

1 vote
0 answers
56 views

I would like to remap <C-ScrollWheelUp> / <C-ScrollWheelDown> to a scroll which acts like scrollbind the window to the right, and <C-ScrollWheelLeft> / <C-ScrollWheelRight> to ...
user49478's user avatar
  • 123
0 votes
0 answers
80 views

Using Neovim (currently on v0.11.2 with kickstart.nvim) I personally use line wrapping most of the time when editing text, and I navigate between distant lines, with the help of 'relativenumber', ...
Frances's user avatar
  • 111
1 vote
0 answers
97 views

If I open the file popup.vim in vim and go to the bottom with G, then scrolling upwards with k is extremely laggy. The problem only occurs if I hold down k, pressing it repeatedly it works fine. ...
sro5h's user avatar
  • 163
1 vote
1 answer
58 views

Enter moves the cursor without scrolling the screen until the cursor is close to the bottom of the window. Then data scrolls up such that the cursor never gets to the bottom. Can this bottom scrolling ...
Nyles's user avatar
  • 11
0 votes
0 answers
47 views

Summary After the last line of a file, there are extra lines. Is there a way to get these before the first line of the file? Here is a similar Emacs plugin to demonstrate what I mean. Example For ...
nullromo's user avatar
  • 386
1 vote
0 answers
42 views

When I compare pieces of code in vim, often I'd like to open a vertical split, so that I can see and compare more lines. Oftentimes, the code is indented, and I use zs to position the code at a ...
user22476690's user avatar
1 vote
1 answer
252 views

Gzz will go to the last line in the buffer and then scroll such that it is in the middle of the screen. ggzz doesn't do this. The zz won't move the first line to the middle of the screen. How can I ...
KangarooChief's user avatar
2 votes
1 answer
91 views

When I enable the wrap option, the first line of the viewport remains fixed and the lines below it are all shunted down as they are wrapped. This means the cursor line jumps down too, which is ...
Roger Keays's user avatar
0 votes
0 answers
146 views

I'm not exactly sure what triggers this behavior, but my vim randomly starts scrolling in response to cursor movement (mouse and touchpad). It always scrolls down. Restarting the terminal restores the ...
Surya's user avatar
  • 31
0 votes
0 answers
158 views

setlocal scrolloff=1 changes the scrolloff for the buffer. I want to change the scrolloff for the popup menu when I press <C-N> or <C-P> in INSERT mode. The scrolloff variable has no ...
Terry's user avatar
  • 81
0 votes
0 answers
98 views

I am using vim to compile my code using the command :w | !make. If this output produces a lot of compiler errors (not uncommon lol), then I'd like to scroll to the top of the output, where the command ...
CrouchEndTiger's user avatar
4 votes
1 answer
684 views

If I do :let id = popup_create(['hello', 'hello', ... a lot of these, 'hello'], {}), I can reproduce the case of a popup that contains more items that its height, thus having a scrollbar. How do I ...
Enlico's user avatar
  • 2,330
0 votes
0 answers
47 views

winsaveview() returns multiple details about the window including the leftcol which is the amount of horizontal scroll. However you need to switch to the window to get that. getwininfo() returns ...
s1n7ax's user avatar
  • 707
0 votes
0 answers
93 views

I am search for the opposite of winline(). winline() returns the screen line in the window of the current cursor position. I want to be able to set it. Therefore scroll the windows content so that the ...
radlan's user avatar
  • 717
2 votes
0 answers
40 views

When scrolling in a document with long, wrapped lines, the document will jump up and down by multiple lines when the cursor reaches the top or bottom of the window. Vim always shows the beginning of a ...
swilton's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
8