After ":set sms" in my .vimrc, 'smoothscroll' is not set in files edited later (Big gvim 9.0.643)

13 views
Skip to first unread message

Tony Mechelynck

unread,
Oct 3, 2022, 12:52:04 AM10/3/22
to Bram Moolenaar, vim_dev
I added in my vimrc the lines

if exists ('+smoothscroll')
set sms
endif

(the :set line is line 299).

After my handcrafted session file (sourced by invoking "gvim -S")
loads several files with 'wrap' set (also by my vimrc) in gvim (Big)
9.0.643 I tried repeatedly hitting Ctrl-E in one of these files, where
some lines are longer than the screen width. Result: Scrolled lines
scroll by file lines and ":verbose set sms?" answers
nosmoothscroll
Last set from ~/.vimrc line 299

What does work is typing
:windo set sms
at the command line: thereafter 'smoothscroll' works properly in
windows already open at that point.

Best regards,
Tony.

Bram Moolenaar

unread,
Oct 3, 2022, 7:14:49 AM10/3/22
to vim...@googlegroups.com, Tony Mechelynck
I hope this will be fixed by patch 9.0.0644.

--
hundred-and-one symptoms of being an internet addict:
254. You wake up daily with your keyboard printed on your forehead.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages