I frequently use the asterisk key (*) in conjunction with 'hlsearch' to
highlight all occurrences of a word in a file. Normally when I do this I don't
actually want to advance to the next match so I use 'nnoremap' to automatically
wind back to the occurrence I was on when I pressed the key, as
Le mardi 13 décembre 2016 23:19:00 UTC+1, Bryan Richter a écrit :
> On Tue, Dec 13, 2016 at 10:04:53AM -0800, Ni Va wrote:
> > Hi,
> >
> > I am using a useful tool rigrep to search content through dirs and
> > files.
> >
> > Then I have applied it to makeprg and set errorformat to display found
>
On 2016-12-14 01:03, Slartibartfast wrote:
> Anyone know a way to achieve setting the search word like this
> without causing the screen to be scrolled? I'm sure it must be
> possible but I'm having trouble working it out myself.
Could do something like
:nnoremap * :let @/='\'.expand('cword>')
> :nnoremap * :let @/='\'.expand('cword>').'\>'
Wow, what on earth does that mean?
I tried it all the same and yes it does indeed work in gVim but I have no idea
why.
I also tried it in Notepad++ and Android Studio (with their respective Vim
plugins) and unfortunately it doesn't for either o
On 2016-12-14 04:34, Slartibartfast wrote:
> > :nnoremap * :let @/='\'.expand('cword>').'\>'
>
> Wow, what on earth does that mean?
>
> I tried it all the same and yes it does indeed work in gVim but I
> have no idea why.
It remaps the "*" key to run the ex command that follows.
let @/=
On Wed, Dec 14, 2016 at 7:26 AM, Ben Fritz wrote:
> On Tuesday, December 13, 2016 at 6:37:54 AM UTC-6, Efraim Yawitz wrote:
> > Has any fix been made for this? I'm not subscribed to vim_dev, and
> there are a lot of messages to look through in the archives.
> >
> > Thanks,
> >
> > Ephraim
> >
>
Am 2016-12-14 15:35, schrieb Efraim Yawitz:
On Wed, Dec 14, 2016 at 7:26 AM, Ben Fritz
wrote:
On Tuesday, December 13, 2016 at 6:37:54 AM UTC-6, Efraim Yawitz
wrote:
Has any fix been made for this? I'm not subscribed to vim_dev,
and there are a lot of messages to look through in the archive
Hi,
I have got a buffer feed with those informations :
FUNCTION FOOBAR
BEGIN
FOO
FOO
FOO
FOO
here is myCursor
END
1. I would like to count the FOO Nth section in which my cursor is from
FUNCTION.
2. As set nu command, would like to display virtually the number near the FOO.
Thanks
Hello Vim users!
On November 2nd I did a presentation about Vim at Google Zurich.
This is exactly 25 years since the first public version of Vim was
built.
The presentation gives an overview of Vim history and highlights the
important choices that were made. With background information on
my pe
Nivamail wrote:
> Le mardi 13 décembre 2016 23:19:00 UTC+1, Bryan Richter a écrit :
> > On Tue, Dec 13, 2016 at 10:04:53AM -0800, Ni Va wrote:
> > > Hi,
> > >
> > > I am using a useful tool rigrep to search content through dirs and
> > > files.
> > >
> > > Then I have applied it to makeprg and
Hi, I have a list of date like
20150204
20150304
20150309
20150323
20150331
20150416
20150608
I would like to change it to
2015.02.04
2015.03.04
2015.03.09
2015.03.23
2015.03.31
2015.04.16
2015.06.08
How can I do that?
--
--
You received this message from the "vim_use" maillist.
Do not top
On 2016-12-14 18:31, Carfield Yim wrote:
> 20150204
> 20150304
> 20150309
> 20150323
> 20150331
> 20150416
> 20150608
>
> I would like to change it to
>
> 2015.02.04
> 2015.03.04
> 2015.03.09
> 2015.03.23
> 2015.03.31
> 2015.04.16
> 2015.06.08
>
> How can I do that?
Capture them and reformat t
On Wednesday, December 14, 2016 at 12:54:58 PM UTC+8, Tony Mechelynck wrote:
> It is not always possible or desirable to disable +multi_lang.
>
> Which languages are recognized (and acceptable as argument to the
> :language command and its subcommands) depends on your OS and on hos
> it is install
On Tuesday, December 13, 2016 at 10:02:16 PM UTC+8, Zhe Lee wrote:
> According to this link I already add the language setting code into my vimrc
> file.
> http://superuser.com/a/921446/609799
>
> "Set The Language Of The Vim"
> set langmenu=en_US
> let $LANG = 'en_US'
> source $VIMRUNTIME/delme
On 14 December 2016, Carfield Yim wrote:
> Hi, I have a list of date like
>
> 20150204
> 20150304
> 20150309
> 20150323
> 20150331
> 20150416
> 20150608
>
> I would like to change it to
>
> 2015.02.04
> 2015.03.04
> 2015.03.09
> 2015.03.23
> 2015.03.31
> 2015.04.16
> 2015.06.08
>
> How can I
On Wed, Dec 14, 2016 at 9:42 PM, Bram Moolenaar wrote:
>
> Nivamail wrote:
>
>> Le mardi 13 décembre 2016 23:19:00 UTC+1, Bryan Richter a écrit :
>> > On Tue, Dec 13, 2016 at 10:04:53AM -0800, Ni Va wrote:
>> > > Hi,
>> > >
>> > > I am using a useful tool rigrep to search content through dirs and
16 matches
Mail list logo