vim paste question

2017-10-23 Thread dexter i
i want to be able to emit the following lines into the file under current cursor position. is the word i just yanked. what's the best way to achieve this. { .testtype = ; \ .testtypestring = ""; \ } -- -- You received this message from the "vim_use" maillist. Do not top-post!

Re: vim paste question

2017-10-23 Thread Tim Chase
On 2017-10-23 03:21, dexter i wrote: > i want to be able to emit the following lines into the file under > current cursor position. is the word i just > yanked. what's the best way to achieve this. > > { > .testtype = ; \ > .testtypestring = ""; \ > } There are some templating pl

Re: vim paste question

2017-10-23 Thread Tony Mechelynck
On Mon, Oct 23, 2017 at 12:21 PM, dexter i wrote: > i want to be able to emit the following lines into the file under current > cursor position. > is the word i just yanked. what's the best way to achieve > this. > > { > .testtype = ; \ > .testtypestring = ""; \ > } In Vim term

Re: Vim startup profiling

2017-10-23 Thread Ken Takata
Hi, 2017/5/26 Fri 22:36:40 UTC+9 Ken Takata wrote: > > 096.000 047.000 044.000: sourcing D:\Logiciels\Vim\vim80/menu.vim > > 096.000 072.000 025.000: sourcing D:\Logiciels\Vim\vim80\filetype.vim > > menu.vim uses `globpath()` to search some kind of files under the runtimepath. > If you search

Re: Advice needed: best practices for vim plugin testing

2017-10-23 Thread Lifepillar
On 19/10/2017 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 develop. The problem is that I cannot find a suitable testing platform for vim plugins. > > [...]

ZWNJ (Zero Width Non-Joiner) in Persian

2017-10-23 Thread Hamidreza Jafari
Hello, Vim with mlterm is able to process Farsi input except with (some) special characters such as zero width non-joiner which is becoming a concern. I observe: - if I set keymap to persian-iranian then text entry in Farsi and driving Vim with commands are seamless because there is no need to

Re: ZWNJ (Zero Width Non-Joiner) in Persian

2017-10-23 Thread Bram Moolenaar
Hamidreza Jafari wrote: > Vim with mlterm is able to process Farsi input except with (some) > special characters such as zero width non-joiner which is becoming a > concern. I observe: > > - if I set keymap to persian-iranian then text entry in Farsi and > driving Vim with commands are seamless

Re: Vim startup profiling

2017-10-23 Thread Bram Moolenaar
Ken Takata wrote: > 2017/5/26 Fri 22:36:40 UTC+9 Ken Takata wrote: > > > 096.000 047.000 044.000: sourcing D:\Logiciels\Vim\vim80/menu.vim > > > 096.000 072.000 025.000: sourcing D:\Logiciels\Vim\vim80\filetype.vim > > > > menu.vim uses `globpath()` to search some kind of files under the > r

Re: How to handle non-ascii characters?

2017-10-23 Thread Eli the Bearded
Barry Gold wrote: > None of these looks like themselves when I edit the file with vim in a > cygwin Terminal window. I can search for [^ -~^t] to find the non-ASCII > characters, then go to the original word document to find out what the > correct character is. If I had only a few of these, that wo

Re: How to handle non-ascii characters?

2017-10-23 Thread Tony Mechelynck
To each his/her taste of course, but IMHO all-ASCII does not always go hand in hand with best legibility. What it does go hand in hand with is best typability on English-language keyboards when no keymap is in use. My first HTML pages were in French and I took the trouble to replace all French non

Re: How to handle non-ascii characters?

2017-10-23 Thread Barry Gold
On 10/23/2017 1:50 PM, Eli the Bearded wrote: Barry Gold wrote: None of these looks like themselves when I edit the file with vim in a cygwin Terminal window. I can search for [^ -~^t] to find the non-ASCII characters, then go to the original word document to find out what the correct character

Re: How to handle non-ascii characters?

2017-10-23 Thread Eli the Bearded
Barry Gold wrote: You wrote: > I'm impressed that you can type your entire vimrc from memory. I'm > tempted to use some of that. If only I _understood_ it. Well the normal stuff that applies globablly. Stuff for specific classes of files is a bit more difficult. :^) It's basically these three map