[Ubuntu-BD] How about some vim?

shiplu shiplu.net at gmail.com
Fri Apr 29 06:37:38 UTC 2011


On Thu, Apr 28, 2011 at 2:30 PM, Junayeed Ahnaf Nirjhor <
zombiegenerator at aol.com> wrote:

>
>
> > 1. I'm using vim 7x . Where's the default .vimrc file? Don't tell me
> > to use "search" pls.
> >
> > Its in your $HOME directory. if ~/.vimrc doesn't exists you need to
> create
> one.
> A sample should be available in /usr/share folder
> But you should search "locate vimrc"
>
>
> Okay did that.
>
>
> > 2. Can vimpress work with wp hosted blog? If yes, how?
> >
> > 3. What's the best practise on multiple line yanking? yNw/j seems to
> > need counting the line on first place.
> >
> > 10yj will copy(y) 11 lines down(j) from the cursors position.
>
>
> isn't it y10j and d10j?
>
>
Yes, my mistake. Its y10j.

10dj will delete(d) 11 lines down(j) from the cursors position
> What was yank? I forgot it..
>
>
> Yank=Copy
>
>
> > 4. How to add language specific syntax highlight? On feature list, it
> > says vim 7x supports unique style of highlighting for a plethora of
> > language.
> >
> >
> It was similar to "syntax on" on : prompt or in vimrc file
> Wouldn't the highlight be different for different language?
>
> Yes. In fact it supports almost any type of script (.conf, .ini, .php, .py,
.mc, .m4 etc)


>
> > Nirjhor
>
> --
> Ubuntu Bangladesh | http://ubuntu-bd.org
> Bangla Linux Forum | http://forum.linux.org.bd
>
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd
>



-- 
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
Innovation distinguishes between follower and leader


More information about the ubuntu-bd mailing list