Mercurial > vim
view src/testdir/dos.vim @ 12505:5cf248ecb6e3 v8.0.1131
patch 8.0.1131: not easy to trigger an autocommand for new terminal window
commit https://github.com/vim/vim/commit/b00fdf6eed5fec589a86655249a851c2d9ba3bb8
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 21 22:16:21 2017 +0200
patch 8.0.1131: not easy to trigger an autocommand for new terminal window
Problem: It is not easy to trigger an autocommand for new terminal window.
(Marco Restelli)
Solution: Trigger BufWinEnter after setting 'buftype'.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 21 Sep 2017 22:30:04 +0200 |
parents | f0201deac2a2 |
children |
line wrap: on
line source
" Settings for test script execution " Always use "COMMAND.COM", don't use the value of "$SHELL". set shell=c:\COMMAND.COM shellquote= shellxquote= shellcmdflag=/c shellredir=> " This is used only when the +eval feature is available. if executable("cmd.exe") set shell=cmd.exe endif source setup.vim