Re: Is there a standard replace of "native" cpp.vim?

2016-04-08 Thread Albert Berger
On Fri, Apr 08, 2016 at 08:16:24AM +0200, Christian Brabandt wrote: > Hi Albert! > > On Fr, 08 Apr 2016, Albert Berger wrote: > > > Greetings, > > > > I wonder, is there some commonplace good solution for c++ syntax > > highlighting, like, e.g. YouCompleteMe is a popular recommendation > > for p

How to use a command to many files?

2016-04-08 Thread Yang Luo
There is a command, it deletes non-ASCII characters. g/[^\x00-\xff]/d " 1 00:00:01,300 --> 00:00:05,920 玄黄端现,太极混沌如鸡蛋,随着轰的一声, In the beginning there was darkness... And then... BANG! -> 1 00:00:01,300 --> 00:00:05,920 In the beginning there was darkness... And then... BANG! " I want to use thi

Re: How to use a command to many files?

2016-04-08 Thread bstaint
vim **/*.src :bufdo g/[^\x00-\xff]/d -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Goo

Documentation of the z flag in search()

2016-04-08 Thread Nicola
I am trying to understand how the z flag affects search(). From the manual: 'z' start searching at the cursor column instead of zero and a bit further: When the 'z' flag is not given, searching always starts in column zero and then matches bef

How to get filename() with extension?

2016-04-08 Thread Fabio D'Alfonso
Hi, The last customization I would need to recover , in the new vm 15.10, is the filename() expanding with extension to fullfil the head snippet. This time I am making a full doc with all the steps, but last time years ago I didn't make one. I remember I did something like this, re seen search

[ANN] An excellent Vim's syntax highlighting file for Vim script.

2016-04-08 Thread h_east
Hi Vim users, An excellent Vim's syntax highlighting file for Vim script. https://github.com/vim-jp/syntax-vim-ex Of course, we have to follow the updates of the latest of Vim! (7.4.1721) Please check it. Thanks. -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received this messa

Re: How to use a command to many files?

2016-04-08 Thread Ben Fritz
On Friday, April 8, 2016 at 12:47:44 PM UTC-5, bsta...@gmail.com wrote: > vim **/*.src > :bufdo g/[^\x00-\xff]/d You can accomplish much the same without leaving Vim: :args file1 file2 **/*.src :argdo yourcmd -- -- You received this message from the "vim_use" maillist. Do not top-post! Type yo

Re: How to use a command to many files?

2016-04-08 Thread Yang Luo
file1 file2,is all the filename I want to change? -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscrib

Re: How to use a command to many files?

2016-04-08 Thread Yang Luo
在 2016年4月9日星期六 UTC+8上午11:28:39,Ben Fritz写道: > On Friday, April 8, 2016 at 12:47:44 PM UTC-5, bsta...@gmail.com wrote: > > vim **/*.src > > :bufdo g/[^\x00-\xff]/d > > You can accomplish much the same without leaving Vim: > > :args file1 file2 **/*.src > :argdo yourcmd input your specified folder