Re: default.vim getting sourced even when vimrc is present

2016-11-08 Thread Karthick Gururaj
On Tue, Nov 8, 2016 at 8:34 AM, Ken Takata wrote: > > Hi Karthick, > > 2016/11/7 Mon 22:24:03 UTC+9 Karthick wrote: > > Hello all, > > > > > > I just installed the 80-069 version of the MS-Windows Vim installer. I see > > the scrolloff option is being set to "5" due to

Re: Command z doesn't work

2016-11-08 Thread Cesar Romani
On 08/11/2016 12:57 p.m., Ben Fritz wrote: > On Tuesday, November 8, 2016 at 11:51:05 AM UTC-6, andalou wrote: >> I'm using vim 80.069 on Windows with defaults.vim enabled. >> >> When pressing z, the cursor line is supposed to get to top of >> window, but is placed 5 lines below the top. >> > >

Re: Mapping to search for current line

2016-11-08 Thread skeept
> In your first attempt, should be . See :help key-notation. Thank you! -- -- 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

Re: Command z doesn't work

2016-11-08 Thread Ben Fritz
On Tuesday, November 8, 2016 at 11:51:05 AM UTC-6, andalou wrote: > I'm using vim 80.069 on Windows with defaults.vim enabled. > > When pressing z, the cursor line is supposed to get to top of > window, but is placed 5 lines below the top. > This is due to the 'scrolloff' option which

Re: Command z doesn't work

2016-11-08 Thread Christian Brabandt
Hi Cesar! On Di, 08 Nov 2016, Cesar Romani wrote: > I'm using vim 80.069 on Windows with defaults.vim enabled. > > When pressing z, the cursor line is supposed to get to top of > window, but is placed 5 lines below the top. :h 'scrolloff' Best, Christian -- Stilblüten aus Schreiben von

Command z doesn't work

2016-11-08 Thread Cesar Romani
I'm using vim 80.069 on Windows with defaults.vim enabled. When pressing z, the cursor line is supposed to get to top of window, but is placed 5 lines below the top. Many thanks in advance, -- Cesar -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply

Re: What is the blank char in my file?

2016-11-08 Thread Christian Brabandt
Am 2016-11-08 13:55, schrieb A. S. Budden: Ah, yes, good point - whoops! I was thinking of "ga", which I think you can use in this situation as it shows a four-digit hex value that can then be used with \%u. Shameless self-plug: Or you can use my plugin

Re: What is the blank char in my file?

2016-11-08 Thread A. S. Budden
On 8 November 2016 at 12:44, Tony Mechelynck wrote: > On Tue, Nov 8, 2016 at 1:22 PM, A. S. Budden wrote: >>> On 1 November 2016 at 17:00, 李哲 wrote: As the pic say~ I find a blank char in my file but I can't

Re: What is the blank char in my file?

2016-11-08 Thread Tony Mechelynck
On Tue, Nov 8, 2016 at 1:22 PM, A. S. Budden wrote: >> On 1 November 2016 at 17:00, 李哲 wrote: >>> As the pic say~ >>> >>> I find a blank char in my file but I can't match it by \s+, I want to >>> delete it, what should I do? > On 8 November 2016 at

Re: What is the blank char in my file?

2016-11-08 Thread A. S. Budden
> On 1 November 2016 at 17:00, 李哲 wrote: >> As the pic say~ >> >> I find a blank char in my file but I can't match it by \s+, I want to delete >> it, what should I do? On 8 November 2016 at 10:01, Yongwei Wu wrote: > Put the cursor over the character

Re: What is the blank char in my file?

2016-11-08 Thread Yongwei Wu
Put the cursor over the character and type "g8". :help g8 8Print the hex values of the bytes used in the character under the cursor, assuming it is in |UTF-8| encoding. This also shows composing characters. The value of 'maxcombine' doesn't

Re: Mapping to search for current line

2016-11-08 Thread romainlafourcade
Le mardi 8 novembre 2016 06:03:29 UTC+1, skeept a écrit : > I tried the following mapping for searching for the current line: > > nnoremap gsl /=getline('.') > > unfortunately this actually searchs for the string I give it literally. > > So I defined instead the mapping > > nnoremap gsl