annotate runtime/macros/less.bat @ 30259:48db7f8f1b44 v9.0.0465

patch 9.0.0465: cursor moves when cmdwin is closed when 'splitscroll' is off Commit: https://github.com/vim/vim/commit/e697d488901b6321ddaad68b553f0a434c97d849 Author: mityu <mityu.mail@gmail.com> Date: Wed Sep 14 17:27:36 2022 +0100 patch 9.0.0465: cursor moves when cmdwin is closed when 'splitscroll' is off Problem: Cursor moves when cmdwin is closed when 'splitscroll' is off. Solution: Temporarily set 'splitscroll' when jumping back to the original window. (closes #11128)
author Bram Moolenaar <Bram@vim.org>
date Wed, 14 Sep 2022 18:30:03 +0200
parents 1b584a6f446c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3513
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 @echo off
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 rem batch file to start Vim with less.vim.
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 rem Read stdin if no arguments were given.
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 rem Written by Ken Takata.
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 if "%1"=="" (
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" -
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 ) else (
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" %*
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 )