diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2024-01-13 00:34:38 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2024-01-13 00:34:38 +1300 |
commit | b96c7d23fbd5de3ada235606c170cbf99bb0cd0a (patch) | |
tree | bdde2df0910149525f4881705b15ec78cc4ae4cb | |
parent | Set 'cdhome' if it exists (diff) | |
download | dotfiles-b96c7d23fbd5de3ada235606c170cbf99bb0cd0a.tar.gz dotfiles-b96c7d23fbd5de3ada235606c170cbf99bb0cd0a.zip |
Set 'smoothscroll' if it exists
-rw-r--r-- | vim/vimrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -806,6 +806,15 @@ set noshowcmd " set shortmess+=I +" Scrolling by screen line rather than file line makes sense to me. Turn the +" option to do so on, if it's there. This only works with mouse scrolling, +" which I don't use, and with CTRL-E, CTRL-Y, which I should be using more +" anyway. +" +if exists('+smoothscroll') + set smoothscroll +endif + " I find the defaults of new windows opening above or to the left of the " previous window too jarring, because I'm used to both the i3 window manager " and the tmux terminal multiplexer doing it the other way around, in reading |