Re: Customizing vim: How to change the char before commands

2007-03-27 Thread A.J.Mechelynck
Tobia wrote: A.J.Mechelynck wrote: fREW wrote: So is there a way we could swap the ; and : keys? I hardly ever use ; but it would be nice to still have it available as : The following lines in your vimrc should do it: noremap ; : noremap : ; Except that you still have to

Re: Customizing vim: How to change the char before commands

2007-03-26 Thread Tobia
A.J.Mechelynck wrote: fREW wrote: So is there a way we could swap the ; and : keys? I hardly ever use ; but it would be nice to still have it available as : The following lines in your vimrc should do it: noremap ; : noremap : ; Except that you still have to type : in

Re: Customizing vim: How to change the char before commands

2007-03-25 Thread Matthew Winn
On Sat, 24 Mar 2007 19:47:40 +1200, John Little [EMAIL PROTECTED] wrote: I suspect that on Bill Joy's original keyboard a colon was not a shifted key press. Ex's command prompt was a colon. When the vi(sual) command was added to ex it made sense for the temporary escape to ex mode to be a

Re: Customizing vim: How to change the char before commands

2007-03-25 Thread A.J.Mechelynck
Matthew Winn wrote: On Sat, 24 Mar 2007 19:47:40 +1200, John Little [EMAIL PROTECTED] wrote: I suspect that on Bill Joy's original keyboard a colon was not a shifted key press. Ex's command prompt was a colon. When the vi(sual) command was added to ex it made sense for the temporary escape

Re: Customizing vim: How to change the char before commands

2007-03-25 Thread Dave Land
On Mar 25, 2007, at 1:34 AM, A.J.Mechelynck wrote: Having to start ex-commands with a colon doesn't bother me. I don't think it is due to the colon being unshifted on my AZERTY keyboard: IIRC, on en_US QWERTY keyboards, the colon is conventiently located right of the L, near enough to the

Re: Customizing vim: How to change the char before commands

2007-03-25 Thread A.J.Mechelynck
Dave Land wrote: [...] On the EN_US keyboard, there is generally a shift key on both sides of the keyboard, so it's the pinky finger on both hands that I fire off to make a colon... (Truth be told, I type the semi-colon character with my right ring finger for reasons that are not entirely

Re: Customizing vim: How to change the char before commands

2007-03-24 Thread John Little
FWIW Somebody suggested, and I use noremap ; : And Tony responded (in part): Your example of a semicolon? The search for the next f/F/t/T search on the line in the same direction as before command. I used to use ; for this fairly often, especially with vi, but since I mapped it to colon

Re: Customizing vim: How to change the char before commands

2007-03-22 Thread Jean-Rene David
* Some user [2007.03.22 15:00]: RANT Though I don't really get the reason why every command is preceded by colon. Not to nitpick, but commands themselves don't really care about the colon. The colon is used to *change mode*. In normal mode, you can just type away your commands

Re: Customizing vim: How to change the char before commands

2007-03-22 Thread panshizhu
Some user [EMAIL PROTECTED] 写于 2007-03-22 05:14:30: I'm new to Vim. I want to change the character before commands. For example saving is done by: :w enter Can it be made slightly easier by just pressing 'g' or some other key that's not taken? I don't know why every command has to be

Customizing vim: How to change the char before commands

2007-03-21 Thread Some user
Hello, I'm new to Vim. I want to change the character before commands. For example saving is done by: :w enter Can it be made slightly easier by just pressing 'g' or some other key that's not taken? I don't know why every command has to be pre-pended by a difficult to reach character like

Re: Customizing vim: How to change the char before commands

2007-03-21 Thread Yakov Lerner
On 3/21/07, Some user [EMAIL PROTECTED] wrote: Hello, I'm new to Vim. I want to change the character before commands. For example saving is done by: :w enter Can it be made slightly easier by just pressing 'g' or some other key that's not taken? I don't know why every command has to be

Re: Customizing vim: How to change the char before commands

2007-03-21 Thread Tim Chase
I'm new to Vim. I want to change the character before commands. For example saving is done by: :w enter Can it be made slightly easier by just pressing 'g' or some other key that's not taken? I don't know why every command has to be pre-pended by a difficult to reach character like colon. In an

Re: Customizing vim: How to change the char before commands

2007-03-21 Thread A.J.Mechelynck
Tim Chase wrote: [...] Just my $0.02 adjusted for inflation, minus taxes, social security, and medicare. -tim LOL. Must be at least $20 after adjustment, no? Best regards, Tony. -- I believe that Ronald Reagan will someday make this country what it once was ... an arctic wilderness

Re: Customizing vim: How to change the char before commands

2007-03-21 Thread cga2000
On Wed, Mar 21, 2007 at 06:04:46PM EST, A.J.Mechelynck wrote: Tim Chase wrote: [...] Just my $0.02 adjusted for inflation, minus taxes, social security, and medicare. -tim LOL. Must be at least $20 after adjustment, no? Isn't the other way 'round..? With 0.02 cents left for the

Re: Customizing vim: How to change the char before commands

2007-03-21 Thread A.J.Mechelynck
cga2000 wrote: On Wed, Mar 21, 2007 at 06:04:46PM EST, A.J.Mechelynck wrote: Tim Chase wrote: [...] Just my $0.02 adjusted for inflation, minus taxes, social security, and medicare. -tim LOL. Must be at least $20 after adjustment, no? Isn't the other way 'round..? With 0.02 cents left

Re: Customizing vim: How to change the char before commands

2007-03-21 Thread cga2000
On Wed, Mar 21, 2007 at 07:16:58PM EST, A.J.Mechelynck wrote: cga2000 wrote: On Wed, Mar 21, 2007 at 06:04:46PM EST, A.J.Mechelynck wrote: Tim Chase wrote: [...] Just my $0.02 adjusted for inflation, minus taxes, social security, and medicare. -tim LOL. Must be at least $20 after