When gVim opens and saves files, cmd pops up, please solve it
大家讲道理
大家讲道理 2017-05-16 16:39:52
0
1
679

This gVim is extremely configured. It has been collected and organized over the years of development work. I compiled it into an exe file through bat, mainly to solve the problem of opening new files in a new tab of the current window;

The purpose is achieved, but there are sequelae: every time you open and save a file, a black cmd command line window always pops up. Ask the experts to solve it!

Note: In this bat, the set file root path is the C drive, so the compressed package must be decompressed to C:\ before a new tab can be opened in the current window of gVim when a new file is opened.

Download address:
http://share.weiyun.com/9975c7d95f5471dd72f7b7f657e484b7

Contents of the bat file compiled into exe:

@echo off
start /B C:\Vim\vim74\gvim.exe -p --remote-tab-silent "%~f1"
exit
大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
phpcn_u1582

It should be encapsulated into an exe to call cmd, and the cmd will not end in the middle
Simply running bat is hassle-free

By the way, downloading a win version of gvim from vim.org can directly create shortcuts to bat and gvim
Why do you need to encapsulate the exe yourself and then change the parameters manually?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template