Re: How to execute Vim commands from commands.vim file to my text mydata.txt file?

2015-03-23 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On March 23, 2015 4:11:09 PM EAT, Igor Forca igo...@gmail.com wrote: Hi, using Vim 7.4 on Windows 7. I have a text file mydata.txt where is the text. I need to execute Vim commands on this data to transform data in file to my desired content.

Re: markdown, the ``` marker.

2015-03-23 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On March 22, 2015 10:47:21 AM EAT, Iain iainardernh...@gmail.com wrote: Hello people, I would be grateful for your help: Whilst writing .md files and .markdown files in vim; I am having difficulty with the syntax colouring whilst writing, it

Re: recursive undo in git

2015-02-02 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On February 2, 2015 2:31:23 PM EAT, Christian Brabandt cbli...@256bit.org wrote: Am 2015-02-02 05:03, schrieb shawn wilson: Is there a way to save or convert vim's undo history into a git history? No. You are wrong. It is both possible and not

Re: VIM PHP

2014-12-12 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On December 12, 2014 5:04:24 PM EAT, Joydeep Chakrabarty chalao.a...@gmail.com wrote: On Thu, 11 Dec 2014 16:24:42 -0500, David Fishburn wrote: On Thu, Dec 11, 2014 at 12:10 PM, Joydeep Chakrabarty chalao.a...@gmail.com wrote: ... Thanks

Re: Is there a way to get info when Vim enters into operator-pending-mode and leaves it?

2014-12-08 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On December 8, 2014 11:43:55 AM EAT, Igor Forca igo...@gmail.com wrote: Ben, thanks for your comment. I have already tested this solution few weeks ago and I didn't like it. Why? Because I am switching between applications (gVim and others) and I am

Re: editing tab separated files

2014-12-04 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On December 4, 2014 6:28:31 PM EAT, Christian Brabandt cbli...@256bit.org wrote: Am 2014-12-04 16:08, schrieb Bee: On Wednesday, December 3, 2014 11:05:47 PM UTC-8, Christian Brabandt wrote: Not currently. There is a patch variable_tabstops

Re: Can vim use 24 bit colorscheme in terminal?

2014-11-22 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On November 22, 2014 7:49:04 AM EAT, othree oth...@gmail.com wrote: ZyX於 2014年3月20日星期四UTC+8下午11時04分58秒寫道: On Thursday, March 20, 2014 9:03:34 AM UTC+4, Suresh Govindachar wrote: Oops! Sorry, just realized that what I wrote below might not be

Re: Can vim use 24 bit colorscheme in terminal?

2014-11-22 Thread Павлов Николай Александрович
. with term type 'xterm-256color' And on the same environment. Commit '8abaeea8b2e5' is fine. So the issue might between this commit to next merge. 2014-11-22 19:45 GMT+08:00 Павлов Николай Александрович zyx@gmail.com: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On November 22, 2014

Re: ** matches one or more directories, not zero or more

2014-11-12 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On November 12, 2014 10:45:51 AM EAT, Christian Brabandt cbli...@256bit.org wrote: Am 2014-11-12 01:31, schrieb ZyX: On Wednesday, November 12, 2014 3:29:10 AM UTC+3, ZyX wrote: On Tuesday, November 11, 2014 2:11:34 PM UTC+3, Christian Brabandt

Re: ** matches one or more directories, not zero or more

2014-11-12 Thread Павлов Николай Александрович
On November 10, 2014 10:09:26 PM EAT, ds26gte ds26...@gmail.com wrote: On Monday, November 10, 2014 1:50:54 PM UTC-5, Christian Brabandt wrote: On Mo, 10 Nov 2014, ds26gte wrote: The path pattern ** seems to require at least one explicit directory in the directory subpath that it matches.

Re: Why does set background change my font colors?

2014-10-27 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On October 26, 2014 7:09:15 PM GMT+03:00, DwigtArmyOfChampions dwightarmyofchampi...@hotmail.com wrote: I understand that set background=dark does not change the background color. Setting this option does not change the background color, it tells

Re: execute vim command after external command call

2014-10-20 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On October 20, 2014 6:24:38 PM GMT+03:00, Sergej Trupp sergei.in...@gmail.com wrote: Hello, i try to execute vim command after external command. But last command is not executed. :b mybuf1 | r !dir | :b # Can one help me? -- -- You received

Re: How to use script attribute in map command?

2014-10-11 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On October 12, 2014 1:30:38 AM GMT+03:00, Yegappan Lakshmanan yegapp...@gmail.com wrote: Hi, On Friday, October 10, 2014 12:04:17 PM UTC+2, jiaxing_wang wrote: This wiki page:

Re: How to use script attribute in map command?

2014-10-10 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On October 10, 2014 2:55:08 PM GMT+03:00, glts 676c7...@gmail.com wrote: Hi, On Friday, October 10, 2014 12:04:17 PM UTC+2, jiaxing_wang wrote: This wiki page: http://vim.wikia.com/wiki/Mapping_keys_in_Vim_-_Tutorial_(Part_3) says with the

Re: readfile() and writefile() in practice

2014-10-08 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On October 8, 2014 8:45:03 PM GMT+03:00, Christian Brabandt cbli...@256bit.org wrote: Hi Ben! On Mi, 08 Okt 2014, Ben Klein wrote: Thanks all! Sorry -- I normally would include an example but I sent that email from my phone and have

Re: readfile() and writefile() in practice

2014-10-06 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On October 6, 2014 11:44:54 PM GMT+03:00, Benjamin Klein b...@silver-chalice.com wrote: As far as I can tell, readfile() and writefile() have something against new lines. If I read a file and then immediately write that (a List) to another file, I

Re: word completion inconvenience

2014-09-29 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On September 30, 2014 1:46:36 AM GMT+03:00, Boyko Bantchev boyk...@gmail.com wrote: When using word completion, if the word that is to be chosen is near the bottom of the pop-up word list, it is more efficient to walk the list in upward direction,

Re: sorted file takes much longer to load

2014-09-11 Thread Павлов Николай Александрович
On September 12, 2014 5:40:11 AM GMT+03:00, John Little john.b.lit...@gmail.com wrote: On Friday, September 12, 2014 2:55:17 AM UTC+12, Ben Fritz wrote: I have an idea: If the unsorted file has bad characters early in the file, then the early encodings in 'fileencodings' will fail quickly.

Re: sorted file takes much longer to load

2014-09-10 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On September 11, 2014 8:33:49 AM GMT+03:00, John Little john.b.lit...@gmail.com wrote: I downloaded the file of 5,000,000 supposedly hacked gmail addresses (from http://rghost.net/57937836). I noticed something odd with vim: $ time vim -u NONE

Re: vim.org fails to redirect to www.vim.org for Chrome users

2014-08-20 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On August 20, 2014 11:42:59 PM GMT+03:00, Andrew Pennebaker andrew.penneba...@gmail.com wrote: Could we please setup a basic Apache redirection, so that users trying to get to vim.org will be successfully redirected to www.vim.org? This procedure

Re: Multiple replacement through Dict or List way

2014-08-14 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On August 14, 2014 12:15:54 PM GMT+03:00, Ni Va nivaem...@gmail.com wrote: Hi, I would like to proceed to substitute several words foos by bars List in a buffer using a Dict. Can I code the replacement in one code line ? let mydict =

Re: Erro: Unknow function: SNR

2014-08-12 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On August 12, 2014 1:34:09 PM GMT+03:00, Xaut Jzd xaut...@gmail.com wrote: This is the first time to write vim plugin, so I try to write an hello plugin, this is my repository url: autoload/hello.vim: function! s:Hello() echo hello, my name

Re: 7.4 syntax matching seems noticable slower than 7.3

2014-08-09 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On August 10, 2014 12:01:21 AM GMT+03:00, L. A. Walsh v...@tlinx.org wrote: I was editing a largish perl program in 7.4 that I hadn't worked on, probably since 7.3 was on my machine. I noticed it was very sluggish in scrolling and even echoing key

Re: what is the way to find out if a certain text object is already defined?

2014-08-03 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On August 3, 2014 4:58:43 PM GMT+03:00, jmlucjav jmluc...@gmail.com wrote: I think I was misunderstood... What I mean is: I have already installed a bunch of plugins that provide new text objects. I have a 'custom cheat sheet' with all those text

Re: vim function for printing text in to a buffer.

2014-08-02 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On August 2, 2014 4:51:41 PM GMT+03:00, sinbad sinbad.sin...@gmail.com wrote: Thanks for the reply, that did the trick, i was expanding on the program, now i'm hitting the following issue, when i run the following program, i'm getting these errors.

Re: eVim - easy Vim - How to make it work on Ubuntu?

2014-07-18 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On July 18, 2014 10:14:26 AM GMT+03:00, Igor Forca igo...@gmail.com wrote: @ZyX, on my Windows machine I have cleaned-up _vimrc all of this Windows specifics. For test the only command in my _vimrc is: set nocompatible. I even opened vim and execute

Re: eVim - easy Vim - How to make it work on Ubuntu?

2014-07-18 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On July 18, 2014 12:31:36 PM GMT+03:00, Tony Mechelynck antoine.mechely...@gmail.com wrote: On 18/07/14 08:14, Igor Forca wrote: @ZyX, on my Windows machine I have cleaned-up _vimrc all of this Windows specifics. For test the only command in my

Re: eVim - easy Vim - How to make it work on Ubuntu?

2014-07-17 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On July 17, 2014 5:34:54 PM GMT+03:00, Igor Forca igo...@gmail.com wrote: Hi, I have been running Vim for several years and I like it a lot. But recently some of servers where migrated from Windows to headles Linux servers (Ubuntu and openSuse) and

Re: eVim - easy Vim - How to make it work on Ubuntu?

2014-07-17 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On July 18, 2014 5:02:14 AM GMT+03:00, John Little john.b.lit...@gmail.com wrote: On Friday, July 18, 2014 1:34:54 AM UTC+12, Igor Forca wrote: vim -y myfile Now Vim becomes eVim (you know dummy insert mode all the time and using classic

Re: Problem with vimdiff and file name resolution

2014-07-11 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On July 11, 2014 11:38:15 AM GMT+03:00, Erik Christiansen dva...@internode.on.net wrote: On 10.07.14 16:54, Gary Johnson wrote: On the other hand, a file system such as we're using for backups seems pretty unusual, and equal inode numbers over

Re: g@ seems to ignore user-defined motion maps

2014-07-11 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On July 11, 2014 10:54:36 PM GMT+03:00, Brett Stahlman brettstahl...@gmail.com wrote: On Friday, July 11, 2014 12:51:47 PM UTC-5, ZyX wrote: Having thought about it a bit, it occurs to me that it would be very difficult for Vim's g@

Re: Tabs for indentation, spaces for alignment - possible in vanilla vim?

2014-06-29 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 To not break plugin that uses Tab you either need to avoid mapping Tab or somehow run Tab manually in new mapping. I know how to chain mappings (run one mapping from the other), but it is rather complicated code that does not handle at least one

Re: use python script in vim

2014-06-14 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On June 14, 2014 8:50:48 AM GMT+03:00, LCD 47 lcd...@gmail.com wrote: On 13 June 2014, BaRud bnrj.ru...@live.com wrote: Hi, I am trying to write a vimscript that uses python, but cant interface it properly. A minimal example is: function!

Re: Mapping only in specific buffer

2014-06-12 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Why are you using :norm here? Your mapping is incorrect: 1. You do not need :norm. Just using ]c should be enough in this circumstances. 2. You do not need :map without n. Your mapping is not going to work in visual mode (as long as you use

Re: Sorting a List of Numbers

2014-06-11 Thread Павлов Николай Александрович
, Christian Brabandt cbli...@256bit.org wrote: On Di, 10 Jun 2014, Павлов Николай Александрович wrote: How would you sort a heterogeneous list otherwise? Who says, lists are always heterogeneous? I think one could try to sort numerical, if all list items are of type number or float, else keep

Re: Sorting a List of Numbers

2014-06-10 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On June 10, 2014 10:13:12 PM GMT+03:00, Paul Isambert zappathus...@free.fr wrote: Le mardi 10 juin 2014 à 08:01, Benjamin Klein a écrit: I did notice that the sort() help says that it sorts based on the String representation of the items, Me

Re: Just started using pathogen and having problems with snipmate

2014-06-09 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I think you should report this as a bug to snipmate authors. glob() and globpath() all support an argument that disables these options for one function call and this is what all plugin developers must use except for certain rare cases when they

Re: Cannot set runtimepath correctly

2014-06-04 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On June 4, 2014 2:52:14 PM GMT+03:00, DwigtArmyOfChampions dwightarmyofchampi...@hotmail.com wrote: I am trying to install The Ultimate Vim Configuration on my Windows PC (from https://github.com/amix/vimrc ), and I can't get the runtimepath to

Re: yaml.vim indentexpr, unindents on :

2014-06-04 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On June 4, 2014 4:28:31 PM GMT+03:00, Kai Weber kai.we...@glorybox.de wrote: ❦ Thomas Bondo Homburg thomas.homb...@gmail.com: When I type a colon, the current line is unindented immediately. Same problem here. I tried the following plugin and

Re: Keep consistent vim environments across different platforms

2014-06-02 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On June 3, 2014 5:46:40 AM GMT+03:00, DwigtArmyOfChampions dwightarmyofchampi...@hotmail.com wrote: I have Vim installed on my work PC on a remote Linux server, and I have gVim installed on Windows on my work PC, and I have gVim installed on my

Re: installation language

2014-05-30 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On May 30, 2014 11:51:30 AM GMT+03:00, eNG1Ne communicator@gmail.com wrote: I'm temporarily obliged to install everything I need on a new Windows 7 PC, until I get back to Liinux and (relative) sanity. I'm already frustrated with the