Mercurial > vim
view runtime/macros/less.bat @ 15010:e3910b9827d0 v8.1.0516
patch 8.1.0516: :move command marks buffer modified when nothing changed
commit https://github.com/vim/vim/commit/ddd1f9183bed00d096f29c503721ac559174a29f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 10 19:19:36 2018 +0100
patch 8.1.0516: :move command marks buffer modified when nothing changed
Problem: :move command marks buffer modified when nothing changed.
Solution: Do not set 'modified'. Add a test. (Jason Franklin)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 10 Nov 2018 19:30:05 +0100 |
parents | 1b584a6f446c |
children |
line wrap: on
line source
@echo off rem batch file to start Vim with less.vim. rem Read stdin if no arguments were given. rem Written by Ken Takata. if "%1"=="" ( vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" - ) else ( vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" %* )