Re: how to apply a given map, written for a line, to a block of lines?

2017-10-20 Thread Tony Mechelynck
On Sat, Oct 21, 2017 at 4:25 AM, Ben Fritz wrote: > On Friday, October 20, 2017 at 5:29:53 PM UTC-5, Jose Caballero wrote: >> Hi, >> >> I would only need to know which key words I need to search in google... :) >> I have a few remaps (and iremaps) that modify the current

Re: how to apply a given map, written for a line, to a block of lines?

2017-10-20 Thread Ben Fritz
On Friday, October 20, 2017 at 5:29:53 PM UTC-5, Jose Caballero wrote: > Hi, > > I would only need to know which key words I need to search in google... :) > I have a few remaps (and iremaps) that modify the current line. For > example, to add # at the beginning, and stuff like that. > I would

Re: Directing which window is changed with :copen

2017-10-20 Thread Tim Chase
On 2017-10-20 21:04, Tim Chase wrote: > Long a nagging annoyance, I figured it's time to ask. I frequently > will do a :vimgrep on a term under the cursor, but want the > resulting navigation to open in a new window. Digging a little further, it's not quite as capricious/malicious as I'd

Re: Directing which window is changed with :copen

2017-10-20 Thread Ben Fritz
On Friday, October 20, 2017 at 9:04:29 PM UTC-5, Tim Chase wrote: > Long a nagging annoyance, I figured it's time to ask. I frequently > will do a :vimgrep on a term under the cursor, but want the resulting > navigation to open in a new window. > > $ vim somefile.c > :echo 'In my main code

Directing which window is changed with :copen

2017-10-20 Thread Tim Chase
Long a nagging annoyance, I figured it's time to ask. I frequently will do a :vimgrep on a term under the cursor, but want the resulting navigation to open in a new window. $ vim somefile.c :echo 'In my main code window' :new :echo 'I want my vimgrep results HERE' :vimgrep /pattern/

Re: Persian (aka Farsi) Vim

2017-10-20 Thread Tony Mechelynck
On Fri, Oct 20, 2017 at 10:56 PM, Hamidreza Jafari wrote: > Hello, > > I can prepare vim to type right-to-left and change keyboard to Persian but > there are some glitches with the font. Some letters that are specific to > Persian are used in Arabic form. That's why I

Persian (aka Farsi) Vim

2017-10-20 Thread Hamidreza Jafari
Hello, I can prepare vim to type right-to-left and change keyboard to Persian but there are some glitches with the font. Some letters that are specific to Persian are used in Arabic form. That's why I think it is picking up the Arabic font instead of the Persian. How can I fix that? I am

how to apply a given map, written for a line, to a block of lines?

2017-10-20 Thread Jose Caballero
Hi, I would only need to know which key words I need to search in google... :) I have a few remaps (and iremaps) that modify the current line. For example, to add # at the beginning, and stuff like that. I would like to know how to re-use those mappings for a block of lines, not line by line. I

Re: Advice needed: best practices for vim plugin testing

2017-10-20 Thread Charles Campbell
Felipe Vieira wrote: > Hi everyone, > > I've been trying to develop a plugin and I'm used to writing testing for the > softwares I develop. The problem is that I cannot find a suitable testing > platform for vim plugins. This makes me feel uncomfortable in pushing > improvements made on my own

Re: Advice needed: best practices for vim plugin testing

2017-10-20 Thread Marcin Szamotulski
On 10:10 Fri 20 Oct , Luc Hermitte wrote: > Hi, > > > However my concerns are broader as I'm trying to figure out ways of > > having a > > vim project maintained by different people but enforcing that their > > coding > > standards/modifications adhere to a test framework. > > So, you're not

Re: markdown 4 backticks fenced code blocks

2017-10-20 Thread BPJ
> fre 20 okt. 2017 kl. 11:44 skrev David Demelier >Hello, > In vim, all my markdown files used 4 backticks () to delimitate fenced code blocks. It does not renders correctly in vim because it looks like vim's markdown syntax only supports 3 backticks (which is valid in most markdown

Re: markdown 4 backticks fenced code blocks

2017-10-20 Thread Christian Brabandt
On Fr, 20 Okt 2017, David Demelier wrote: > Hello, > > In vim, all my markdown files used 4 backticks () to delimitate fenced > code blocks. It does not renders correctly in vim because it looks like vim's > markdown syntax only supports 3 backticks (which is valid in most markdown >

Re: Advice needed: best practices for vim plugin testing

2017-10-20 Thread tyru
2017/10/20 16:29 "lith" : > I have tried a couple of other vim plugins for testing with little/no success. Which one did you try? Are you looking for something like vader < https://github.com/junegunn/vader.vim>? Or if you want a full stack one, themis.vim is also the

markdown 4 backticks fenced code blocks

2017-10-20 Thread David Demelier
Hello, In vim, all my markdown files used 4 backticks () to delimitate fenced code blocks. It does not renders correctly in vim because it looks like vim's markdown syntax only supports 3 backticks (which is valid in most markdown extensions too). I wonder if it's possible to update the

Re: Advice needed: best practices for vim plugin testing

2017-10-20 Thread Luc Hermitte
Hi, > However my concerns are broader as I'm trying to figure out ways of > having a > vim project maintained by different people but enforcing that their > coding > standards/modifications adhere to a test framework. So, you're not looking for unit testing as there exists quite a few projects,

Re: Advice needed: best practices for vim plugin testing

2017-10-20 Thread lith
> I have tried a couple of other vim plugins for testing with little/no success. Which one did you try? Are you looking for something like vader ? Regards -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply

Re: Advice needed: best practices for vim plugin testing

2017-10-20 Thread Marcin Szamotulski
On 23:49 Thu 19 Oct , Felipe M. Vieira wrote: > On Thu, October 19, 2017 at 23:36, Marcin Szamotulski wrote: > > On 11:10 Thu 19 Oct , Felipe Vieira wrote: > > > Hi everyone, > > > > > > I've been trying to develop a plugin and I'm used to writing testing for > > > the > > > softwares I