Re: cscope best practices

2013-10-08 Thread Ethan Hereth
On Tue, Oct 8, 2013 at 9:35 PM, Ethan Hereth wrote: > > > > On Sat, Oct 5, 2013 at 10:26 PM, Tony Mechelynck < > antoine.mechely...@gmail.com> wrote: > >> On 05/10/13 22:32, Ethan Hereth wrote: >> >>> Hey vim_use! >>> >>> I've been a subscriber for quite a while now and thoroughly enjoy >>> watchi

Re: ESC key stopped working -- any alternate for menuless vim to get to normal mode?

2013-10-08 Thread John Little
On Tuesday, October 8, 2013 5:50:41 PM UTC+13, Tony Mechelynck wrote: > That scheme, which cannot be achieved by mappings but only by means > external to Vim, assumes that the Caps Lock function isn't needed. I use > it a lot... I (somewhat abashedly) grudgingly admit that a caps lock function i

Re: cscope best practices

2013-10-08 Thread Ethan Hereth
On Sat, Oct 5, 2013 at 10:26 PM, Tony Mechelynck < antoine.mechely...@gmail.com> wrote: > On 05/10/13 22:32, Ethan Hereth wrote: > >> Hey vim_use! >> >> I've been a subscriber for quite a while now and thoroughly enjoy >> watching you experts at work. I've also been a vim user for some time and >>

Re: How to reverse an imap in javascript, for json files?

2013-10-08 Thread Christian Brabandt
Hi Sam! On Di, 08 Okt 2013, Sam Roberts wrote: > I map " to ' (because my fingers always do ", but our coding standards are '). > > " in after/ftplugin/javascript.vim > imap " ' > > However, " is required in json, and the javascript plugin seems to be > applying itself to json files. > > I tr

How to reverse an imap in javascript, for json files?

2013-10-08 Thread Sam Roberts
I map " to ' (because my fingers always do ", but our coding standards are '). " in after/ftplugin/javascript.vim imap " ' However, " is required in json, and the javascript plugin seems to be applying itself to json files. I tried to use vim-json, which I quite like for its highlighting and sy

Re: ESC key stopped working -- any alternate for menuless vim to get to normal mode?

2013-10-08 Thread Tao "Shorty Jew Eyes" Joannes
In addition to all the other things mentioned, just figured I'd point out ZZ. On Monday, October 7, 2013 7:44:48 PM UTC-7, Suresh Govindachar wrote: > Hello, > > > > For some unknown reason, my ESC key does not work -- neither on the > > laptop keyboard nor on an external keyboard. Is there

Re: ESC key stopped working -- any alternate for menuless vim to get to normal mode?

2013-10-08 Thread Steve Litt
On Tue, 08 Oct 2013 05:54:48 +0200 Tony Mechelynck wrote: > FWIW, my own Esc key is broken (the electronics are OK but the key > itself has come unstuck then got lost). In programs other than Vim I > actuate it, when needed, with the tail end of a teaspoon. Alternatively, keyboards often are

Re: yanking non-contiguous lines?

2013-10-08 Thread Marcin Szamotulski
On 09:09 Tue 08 Oct , Dimitar DIMITROV wrote: > >Assuming Vim without plugins like YankRing or the like, what is the > >fastest way to copy non-contiguous lines to another place in the > >document, such as a document: > > > >    AAA > >    BBB > >    CCC > >    DDD > > > >That I want to become

Re: Filetype dependent mapping when moving between splits

2013-10-08 Thread marek77
On Monday, October 7, 2013 4:51:37 PM UTC+2, Gary Johnson wrote: > On 2013-10-07, Marek Schimara wrote: > > > Hi all, > > > > > > I can't seem to figure out how to map the same key (let's say ) to jump > > > between subs in Perl when looking at a Perl file, between methods in C when > > in >

Re: yanking non-contiguous lines?

2013-10-08 Thread Dimitar DIMITROV
>Assuming Vim without plugins like YankRing or the like, what is the >fastest way to copy non-contiguous lines to another place in the >document, such as a document: > >    AAA >    BBB >    CCC >    DDD > >That I want to become > >  AAA >  BBB >  CCC >  DDD > >  AAA >  CCC >  DDD > >Thanks! > >c >