so many things I can't find in my vim installation :-{

2011-04-14 Thread eNG1Ne
Every now and then I look up from what I'm doing and think there might be a better way. In this hopeful spirit, I just ran :help plugins GETTING A GLOBAL PLUGIN Where can you find plugins? - Some come with Vim. You can find them in the directory $VIMRUNTIME/ macros and its sub-directories.

Re: so many things I can't find in my vim installation :-{

2011-04-14 Thread Marco
On 2011-04-14 eNG1Ne communicator@gmail.com wrote: Every now and then I look up from what I'm doing and think there might be a better way. In this hopeful spirit, I just ran :help plugins GETTING A GLOBAL PLUGIN Where can you find plugins? - Some come with Vim. You can find them in

Re: so many things I can't find in my vim installation :-{

2011-04-14 Thread Tom
pathogen is a good option aswell On Thu, Apr 14, 2011 at 11:58 AM, Marco net...@lavabit.com wrote: On 2011-04-14 eNG1Ne communicator@gmail.com wrote: Every now and then I look up from what I'm doing and think there might be a better way. In this hopeful spirit, I just ran :help plugins

Starting to write with Vim

2011-04-14 Thread Eric Weir
I've started writing with Vim. For now it'll be mainly in my journal and to keep todo lists. Very awkward, of course, but I can move around; insert and delete text; create, save, and open files. I did :set linebreak in a file. I see that it isn't retained when I save, close, and then reopen

Re: Starting to write with Vim

2011-04-14 Thread Reid Thompson
On Thu, Apr 14, 2011 at 08:55:04AM -0400, Eric Weir wrote: I've started writing with Vim. For now it'll be mainly in my journal and to keep todo lists. Very awkward, of course, but I can move around; insert and delete text; create, save, and open files. I did :set linebreak in a file. I

Re: Starting to write with Vim

2011-04-14 Thread Tim Gray
On Apr 14, 2011 at 08:55 AM -0400, Eric Weir wrote: I'm finding h, j, k, l; e, b; $, 0; and H, M, L a bit limited as ways to move around the screen. Is there a way to move up or down from what is displayed as one line on the screen when linebreak is set to another, i.e., within what Vim

Re: so many things I can't find in my vim installation :-{

2011-04-14 Thread Wolodja Wentland
On Thu, Apr 14, 2011 at 02:24 -0700, eNG1Ne wrote: So, I'm managing to run vim without a VIMRUNTIME setting? I would like to point out vundle [1] in addition to the already mentioned vim-addon-manager and pathogen. It is a wonderful plugin to manage plugin installations and very easy to use.

RE: Starting to write with Vim

2011-04-14 Thread Vera, Pedro L.
Finally, can I specify a default font? If so, how do I determine what fonts are available? For now I'm using MacVim for now, since it allows me to started a little more quickly than I would be able to with regular Vim, especially with file handling. Since you are using macvim, an easy way

Re: Starting to write with Vim

2011-04-14 Thread Eric Weir
On Apr 14, 2011, at 9:08 AM, Reid Thompson wrote: in your .[g]vimrc put set linebreak I've found gvimrc in the finder, i.e., in the MacVim.app package. How do I open it in Vim? -- Eric Weir Decatur, GA

Re: Starting to write with Vim

2011-04-14 Thread Tim Gray
On Apr 14, 2011 at 09:28 AM -0400, Eric Weir wrote: I've found gvimrc in the finder, i.e., in the MacVim.app package. How do I open it in Vim? I think you'll want to edit the one that lives in your home directory. From Vim, try: :e ~/.vimrc -- You received this message from the

RE: Starting to write with Vim

2011-04-14 Thread Vera, Pedro L.
I've found gvimrc in the finder, i.e., in the MacVim.app package. How do I open it in Vim? I copied it into my home directory and set it as a hidden file, using terminal (I suppose you can use Finder, but I don't like Finder much). Having the .gvimrc file in your home file makes it easier

Re: why the Up key doesn't work to go through the searching history

2011-04-14 Thread wxuyec
when I run echo -e '\033[?1h\033=' ; cat ; echo -e '\033[?1l\033' I really got ^[OA^[OB. and then I tried set t_ku=^[OA as you said(I hit the ctrl-vesc to input the ^[). but unfortunately it doesn't work. I still got the same problem. On 4月14日, 上午12时49分, Benjamin R. Haskell v...@benizi.com

Re: Starting to write with Vim

2011-04-14 Thread Jean-Rene David
* Eric Weir [2011.04.14 09:00]: I've started writing with Vim. Congratulations! For now it'll be mainly in my journal and to keep todo lists. Very awkward, of course, but I can move around; insert and delete text; create, save, and open files. That's how we all started. I did :set

Re: Starting to write with Vim

2011-04-14 Thread Tim Chase
On 04/14/2011 07:55 AM, Eric Weir wrote: I did :set linebreak in a file. I see that it isn't retained when I save, close, and then reopen a file. How do I make this default? As others have mentioned, put set linebreak in your ~/.vimrc which, can be done from the command-prompt with echo

Re: so many things I can't find in my vim installation :-{

2011-04-14 Thread Ben Fritz
On Apr 14, 4:24 am, eNG1Ne communicator@gmail.com wrote: So, I'm managing to run vim without a VIMRUNTIME setting? Does it matter? Should I have one? Ad it's only fair to say that if anyone manages to help with that question there'll undoubtedly be more: the goal is to activate the

Re: Starting to write with Vim

2011-04-14 Thread Ben Fritz
On Apr 14, 7:55 am, Eric Weir eew...@bellsouth.net wrote: I'm finding h, j, k, l; e, b; $, 0; and H, M, L a bit limited as ways to move around the screen. Is there a way to move up or down from what is displayed as one line on the screen when linebreak is set to another, i.e., within what

Re: Starting to write with Vim

2011-04-14 Thread Scott Bicknell
On Thu, Apr 14, 2011 at 08:55:04AM -0400, Eric Weir wrote: I'm finding h, j, k, l; e, b; $, 0; and H, M, L a bit limited as ways to move around the screen. Is there a way to move up or down from what is displayed as one line on the screen when linebreak is set to another, i.e., within

Re: Starting to write with Vim

2011-04-14 Thread Taylor Hedberg
Jean-Rene David, Thu, Apr 14, 2011 at 09:54:36AM -0400: I'm finding h, j, k, l; e, b; $, 0; and H, M, L a bit limited as ways to move around the screen. And indeed they are, but they barely scratch the surface of the motion commands at your disposal. You could try C-F, C-B for the

Re: Starting to write with Vim

2011-04-14 Thread Christian Brabandt
On Thu, April 14, 2011 5:01 pm, Ben Fritz wrote: After you find a font you can set it permanently in your .gvimrc as others have suggested. The best way I've found to do this is, while editing your .gvimrc, with the desired font set, enter in insert mode: let guifont= then still in insert

Re: Starting to write with Vim

2011-04-14 Thread Stefan Klein
2011/4/14 Eric Weir eew...@bellsouth.net I've started writing with Vim. For now it'll be mainly in my journal and to keep todo lists. Very awkward, of course, but I can move around; insert and delete text; create, save, and open files. I found Derek Wyatts videos very inspiring.

Re: why the Up key doesn't work to go through the searching history

2011-04-14 Thread Tony Mechelynck
On 14/04/11 15:53, wxuyec wrote: when I run echo -e '\033[?1h\033=' ; cat ; echo -e '\033[?1l\033' I really got ^[OA^[OB. and then I tried set t_ku=^[OA as you said(I hit thectrl-vesc to input the ^[). Maybe you could try (at the command-line) :set Up= followed (with no space on

Re: Starting to write with Vim

2011-04-14 Thread Eric Weir
On Apr 14, 2011, at 9:37 AM, Tim Gray wrote: I think you'll want to edit the one that lives in your home directory. From Vim, try: :e ~/.vimrc On Apr 14, 2011, at 9:45 AM, Vera, Pedro L. wrote: I copied it into my home directory and set it as a hidden file, using terminal

Re: Starting to write with Vim

2011-04-14 Thread Eric Weir
On Apr 14, 2011, at 1:31 PM, Eric Weir wrote: I'm assuming if I'm using MacVim I want to record configurations in gvirmc. Doing :e ~/.gvirmc creates a new file. The gvirmc in the MacVim.app contents folder already has a substantial amount of configuration in it, which I assume is

Re: Starting to write with Vim

2011-04-14 Thread Eric Weir
On Apr 14, 2011, at 1:41 PM, Eric Weir wrote: Maybe I leave the gvirmc in the MacVim.app contents folder alone, and put my personal configurations in virmc in my home folder?? Yeah, I that works. Thanks again to all.

Re: Starting to write with Vim

2011-04-14 Thread Jean-Rene David
* Eric Weir [2011.04.14 13:50]: Maybe I leave the gvirmc in the MacVim.app contents folder alone, and put my personal configurations in virmc in my home folder?? Exactly. But you're going to have to spell it right otherwise it won't work (it's vimrc, not virmc). ;-) -- JR -- You received

Re: Starting to write with Vim

2011-04-14 Thread Tony Mechelynck
On 14/04/11 14:55, Eric Weir wrote: [...] Finally, can I specify a default font? If so, how do I determine what fonts are available? [...] In addition to all the good counsels others gave, see also (for GUI vim) http://vim.wikia.com/wiki/Setting_the_font_in_the_GUI Console Vim cannot st

Re: Starting to write with Vim

2011-04-14 Thread Jean-Rene David
* Vera, Pedro L. [2011.04.14 14:00]: I need to refresh myself about home folder: In user/ericweir, the home folderis ericweir, for which I can substitute ~/? Yes. Actually, not quite. In /user/ericweir (note the slash in the beginning), the home folder is the whole thing, not just the

Re: Starting to write with Vim

2011-04-14 Thread Eric Weir
On Apr 14, 2011, at 1:50 PM, Tony Mechelynck wrote: In addition to all the good counsels others gave, see also (for GUI vim) http://vim.wikia.com/wiki/Setting_the_font_in_the_GUI Thanks, Tony. Method 2 in this, which I take to be what several have suggested -- putting set guifont=Monaco:h10

Re: Starting to write with Vim

2011-04-14 Thread Eric Weir
On Apr 14, 2011, at 1:47 PM, Vera, Pedro L. wrote: I assume you woudn't want multiple gvimrc files. Do I copy or move the gvimrc file to the home folder? Yes, either copy or move the file. If I move it from the MacVim.app contents folder to the home folder, will MacVim be properly

Re: Starting to write with Vim

2011-04-14 Thread Eric Weir
On Apr 14, 2011, at 1:55 PM, Jean-Rene David wrote: But you're going to have to spell it right otherwise it won't work (it's vimrc, not virmc). ;-) Yes, I'm having trouble with that. I have to double-check every time I type it! Thanks,

Re: Starting to write with Vim

2011-04-14 Thread David Ohlemacher
I just posted this, but in case you missed it... You might concider adding these lines to your .vimrc. Or when you paste from your clipboard you may see your text mangled with indentations like this The first line sets a mapping

Re: Starting to write with Vim

2011-04-14 Thread Eric Weir
On Apr 14, 2011, at 10:19 AM, Stefan Klein wrote: I found Derek Wyatts videos very inspiring. http://www.derekwyatt.org/ Thanks for suggestion this, Stefan. Yeah, the whole site looks interesting. I've bookmarked it.

Re: Starting to write with Vim

2011-04-14 Thread Eric Weir
On Apr 14, 2011, at 2:09 PM, Jean-Rene David wrote: '/user/ericweir/foobar' is equivalent to '~/foobar', but not to '/user/~/foobar' (which is meaningless). Thanks for the clarification. While I'm at it, in floundering around with Vim I've encountered paths that I can't navigate to in

Re: Starting to write with Vim

2011-04-14 Thread Tim Gray
On Apr 14, 2011 at 02:32 PM -0400, Eric Weir wrote: '/user/ericweir/foobar' is equivalent to '~/foobar', but not to '/user/~/foobar' (which is meaningless). Furthermore, since you are on a Mac, it's '/Users/ericweir'. While I'm at it, in floundering around with Vim I've encountered paths

Re: Starting to write with Vim

2011-04-14 Thread Eric Weir
On Apr 14, 2011, at 2:45 PM, Tim Gray wrote: While I'm at it, in floundering around with Vim I've encountered paths that I can't navigate to in Finder [actually, Path Finder]. Some, maybe all, started with /usr. Where the hell is usr on a Mac? it's a hidden folder in Finder. So you

Re: Starting to write with Vim

2011-04-14 Thread Tim Gray
On Apr 14, 2011 at 03:08 PM -0400, Eric Weir wrote: If I'd invested in a new machine, instead of trying to get linux to work the way I wanted on a clunky old one, I probably wouldn't have had to flounder. But then I'd never discovered Mac. I'm glad I discovered Mac. It just works. Well just

Re: Starting to write with Vim

2011-04-14 Thread Gary Johnson
On 2011-04-14, David Ohlemacher wrote: I just posted this, but in case you missed it... You might concider adding these lines to your .vimrc. Or when you paste from your clipboard you may see your text mangled with indentations

Matching and

2011-04-14 Thread lazloman
I'd like for vim to highlight the match when I type an . I'm aware of :set showmatch and matchtime, but these don't highlight the angle brackets. Will I have to use %? I prefer showmatch since it doesn't require any additional input from me, so if there is a way to make vim match the angle

Anyone compiled vim on Lion?

2011-04-14 Thread Ned
Seems to crash. Have downloaded 7.3 but no good. (yes its unsupported beta OS, but maybe theres an simple fix I am missing) -- 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

Re: Matching and

2011-04-14 Thread Tim Chase
On 04/14/2011 03:06 PM, lazloman wrote: I'd like for vim to highlight the match when I type an. I'm aware of :set showmatch and matchtime, but these don't highlight the angle brackets. Will I have to use %? I prefer showmatch since it doesn't require any additional input from me, so if there is

Re: Matching and

2011-04-14 Thread ZyX
Reply to message «Matching and », sent 00:06:42 15 April 2011, Friday by lazloman: There is a 'matchpairs' option: add setlocal matchpairs+=: to a filetype script for language you want to highlight (ftplugin/xml.vim, ftplugin/xml/my.vim or such). Original message: I'd like for vim to

Re: Matching and

2011-04-14 Thread Gary Johnson
On 2011-04-14, lazloman wrote: I'd like for vim to highlight the match when I type an . I'm aware of :set showmatch and matchtime, but these don't highlight the angle brackets. Will I have to use %? I prefer showmatch since it doesn't require any additional input from me, so if there is a way

Re: Re: Matching and

2011-04-14 Thread lorenzo7620
Cool! thanks much, I'm going to add this to the Goodies section of my personal vim tips! On Apr 14, 2011 3:19pm, Tim Chase v...@tim.thechases.com wrote: On 04/14/2011 03:06 PM, lazloman wrote: I'd like for vim to highlight the match when I type an. I'm aware of :set showmatch and