mostly when I press "{", I have to press one more "}" after, because
they are always appears at the same time! the same as "()" "[]", and
also the quote mark(""). so I wonder how can I add the feature that when
I insert "{" or the other punctuations above, it will automatically add
"}" !!!
bes
Hi jaywee,
The simplest way is using a mapping
inoremap { {}O
which should do what you want.
But I myself find this terrible annying because it always inserts those
closing braces.
That's why I've written some kind of context sensitive completion
http://www.mawercer.de/marcweber/vim/installer/vi
On Fri, Jun 01, 2007 at 01:05:53PM +0800, jaywee wrote:
> mostly when I press "{", I have to press one more "}" after, because
> they are always appears at the same time! the same as "()" "[]", and
> also the quote mark(""). so I wonder how can I add the feature that when
> I insert "{" or the o
jaywee wrote:
*! Swap caps lock and escape, good for Vim
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
*to a file named .speedswapper to the home directory, and run *xmodmap
~/.speedswapper* in a terminal, I follow the guide and finally done! bu
Michael F. Lamb wrote:
jaywee wrote:
*! Swap caps lock and escape, good for Vim
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
*to a file named .speedswapper to the home directory, and run *xmodmap
~/.speedswapper* in a terminal, I follow the gu
Robert Cussons wrote:
Michael F. Lamb wrote:
jaywee wrote:
*! Swap caps lock and escape, good for Vim
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
*to a file named .speedswapper to the home directory, and run
*xmodmap ~/.speedswapper* in a te
[EMAIL PROTECTED] wrote:
Robert Cussons wrote:
Michael F. Lamb wrote:
jaywee wrote:
*! Swap caps lock and escape, good for Vim
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
*to a file named .speedswapper to the home directory, and run
*xmodma