Re: BOF Vim 8 - Suggestions

2007-01-29 Thread Alexei Alexandrov
Hi Bram Moolenaar, you wrote: To finish, I'm not suggesting that the optimum one-size-fits-all set of mappings be determined. Any set of well-planned mappings would be better than the current blank slate. The best set of mappings is what you make yourself. That's like: don't give a

Re: BOF Vim 8 - Suggestions

2007-01-26 Thread A.J.Mechelynck
Marcus Aurelius wrote: [...] If the user wants to edit long lines, (s)he cannot write a quick mapping on-the-fly, because he needs something like this: map buffer silent up gk imap buffer silent up C-ogk map buffer silent down gj imap buffer silent down C-ogj map buffer silent home ghome imap

Re: BOF Vim 8 - Suggestions

2007-01-26 Thread A.J.Mechelynck
Georg Dahn wrote: Hi! --- A.J.Mechelynck [EMAIL PROTECTED] wrote: map Down gj imapDown C-Ogj map Upgk imapUpC-Ogk IMHO these mappings are a better choice: noremap Down gj noremap Up gk inoremap expr Down pumvisible() ? \ltDown : \ltC-Ogj inoremap expr Up

Re: BOF Vim 8 - Suggestions

2007-01-26 Thread Marcus Aurelius
--- A.J.Mechelynck [EMAIL PROTECTED] escreveu: Georg Dahn wrote: Hi! --- A.J.Mechelynck [EMAIL PROTECTED] wrote: These two are V7 only, so: if exists(*pumvisible) inoremap expr Down pumvisible() ? \ltDown : \ltC-Ogj inoremap expr Up pumvisible() ? \ltUp : \ltC-Ogj

Re: BOF Vim 8 - Suggestions

2007-01-25 Thread A.J.Mechelynck
Marcus Aurelius wrote: --- A.J.Mechelynck [EMAIL PROTECTED] escreveu: This approach has already been attempted, not just once as Bram said, but at least twice (evim and mswin.vim), and the results are far from convincing: easy vim is actually harder to use, and mswin.vim makes some useful Vim

Re: BOF Vim 8 - Suggestions

2007-01-25 Thread Marcus Aurelius
--- A.J.Mechelynck [EMAIL PROTECTED] escreveu: I have files where I intentionally have long lines and I use gj and gk (so much that I've remapped them to Up and Down). I don't see why you gripe about a bunch of mappings: the mappings I need, or want, are in my vimrc or in some other script,

Re: BOF Vim 8 - Suggestions

2007-01-24 Thread Marcus Aurelius
--- A.J.Mechelynck [EMAIL PROTECTED] escreveu: This approach has already been attempted, not just once as Bram said, but at least twice (evim and mswin.vim), and the results are far from convincing: easy vim is actually harder to use, and mswin.vim makes some useful Vim features

Re: BOF Vim 8 - Suggestions

2007-01-21 Thread John Beckett
A.J.Mechelynck wrote: IMHO it is important that function keys (with the exception of F1 = :help) should by default _not_ have preset functions in Vim, in order that they be safely available for whatever mappings any user would want to assign to them, without competing with existing functions.

Re: BOF Vim 8 - Suggestions

2007-01-21 Thread SM Smithfield
Hi group, I would like to be able to specify that the fragment of text in a folded line be colored as it would normally appear (i.e. in it's unfolded state). This would make folding much more useful to me. This would facilitate reading the contents of a properly folded file at a glance, and

Re: BOF Vim 8 - Suggestions

2007-01-21 Thread Martin Stubenschrott
On Sun, Jan 21, 2007 at 10:55:44PM +0100, Nikolai Weibull wrote: On 1/21/07, Marc Weber [EMAIL PROTECTED] wrote: My comments on nohl: nnoremap esc :nohl bar echo cr should clear message line and remove highlighting nnoremap Esc Esc:silent! nohighlightCR Whenever I put any of these 2

Re: BOF Vim 8 - Suggestions

2007-01-21 Thread Nikolai Weibull
On 1/21/07, Nikolai Weibull [EMAIL PROTECTED] wrote: On 1/21/07, Marc Weber [EMAIL PROTECTED] wrote: My comments on nohl: nnoremap esc :nohl bar echo cr should clear message line and remove highlighting nnoremap Esc Esc:silent! nohighlightCR Hm, sorry, my bad, the 'echo CR' is what one

Re: BOF Vim 8 - Suggestions

2007-01-20 Thread Bram Moolenaar
John Beckett wrote: Bram Moolenaar wrote: No, I don't want that. Pressing ESC is to get back to Normal mode, it should not have side effects like this. OK. But my suggestion was not that ESC would go to Normal mode _and_ clear highlighting. My proposal was that if I start in Insert

Re: BOF Vim 8 - Suggestions

2007-01-20 Thread A.J.Mechelynck
John Beckett wrote: Bram Moolenaar wrote: The idea is that you can press ESC a few times without having to check what mode you are in exactly (that can be quite difficult at times). Typing one ESC too many is easily done, I don't like this to have side effects. Of course, and I wouldn't have

Re: BOF Vim 8 - Suggestions

2007-01-19 Thread Nikolai Weibull
On 1/18/07, Bram Moolenaar [EMAIL PROTECTED] wrote: I do agree that good defaults are important. But backwards compatibility is also important. It's not always easy to make a choice. I think some things would be really sane to have on by default, such as :syntax on, but at the same time

Re: BOF Vim 8 - Suggestions

2007-01-19 Thread John Beckett
Bram Moolenaar wrote: Mostly PageUp and PageDown do the reverse of each other. If you mean that the cursor has moved, that is a completely different thing. I'm not sure what completely different thing adds. I'm just trying to respond to your call for suggestions on how to make Vim more

Re: BOF Vim 8 - Suggestions

2007-01-19 Thread Bram Moolenaar
John Beckett wrote: Bram Moolenaar wrote: Mostly PageUp and PageDown do the reverse of each other. If you mean that the cursor has moved, that is a completely different thing. I'm not sure what completely different thing adds. I'm just trying to respond to your call for suggestions on

Re: BOF Vim 8 - Suggestions

2007-01-19 Thread Ilya Bobir
John Beckett wrote: [...] Then, I could write an email to a friend saying Run gvim and do stuff to select a theme. Then you can press F11 to do clever thing. For example, perhaps F11 = :cn, Shift-F11 = :cp. [...] This sounds very like file types. When you are opening a file appropriate

Re: BOF Vim 8 - Suggestions

2007-01-19 Thread John Beckett
Ilya Bobir wrote: If you think that you can provide a better defaults for novice users you can just write a script that will adjust vim the way you see it and ask Bram to add it into the distribution along with a note in the tutor OK. Perhaps that would handle the issue. I don't care how it's

Re: BOF Vim 8 - Suggestions

2007-01-19 Thread John Beckett
Bram Moolenaar wrote: No, I don't want that. Pressing ESC is to get back to Normal mode, it should not have side effects like this. OK. But my suggestion was not that ESC would go to Normal mode _and_ clear highlighting. My proposal was that if I start in Insert mode, then press ESC I would

Re: BOF Vim 8 - Suggestions

2007-01-19 Thread A.J.Mechelynck
John Beckett wrote: Bram Moolenaar wrote: No, I don't want that. Pressing ESC is to get back to Normal mode, it should not have side effects like this. OK. But my suggestion was not that ESC would go to Normal mode _and_ clear highlighting. My proposal was that if I start in Insert mode,

Re: BOF Vim 8 - Suggestions

2007-01-18 Thread MikoĊ‚aj Machowski
1. Persistence of search highlighting is IMO good thing. Forgot to explain why: newbies often are pressing Esc just in case of ... . So this key shouldn't do by default anything more than changing of mode. m. Adaptacja bestsellerowej

Re: BOF Vim 8 - Suggestions

2007-01-18 Thread Alexei Alexandrov
Hi John Beckett, you wrote: The best way to expand Vim usage IMHO would be to work out better default settings to improve the first hour of contact. In addition, perform necessary fixups, but resist new features. I also think that Vim is feature-enough. What affects me most of all every

Re: BOF Vim 8 - Suggestions

2007-01-18 Thread Bram Moolenaar
John Beckett wrote: Sorry I'm late, but I just listened to the Vim BOF session that Bram mentioned three months ago. In the talk, Bram sounded quite evangelical with regard to promoting Vim usage, and he asked for suggestions on how he should best spend his limited time in working towards