Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] vim abbreviations
- Date: Wed, 8 Oct 2003 17:39:26 +0900
- From: Jim Tittsler <jwt-tlug@example.com>
- Subject: Re: [tlug] vim abbreviations
- References: <3F838F04.50503@example.com>
- Organization: 7J1AJH/AI8A Tokyo
- User-agent: Mutt/1.4.1i
On Wed, Oct 08, 2003 at 01:13:56PM +0900, Jean-Christian Imbeault wrote: > I'd like to have following abbreviated and the cursor positions at the * > mark > > myfunction () { > * > } There are lots of ways. Perhaps the easiest is remap '{' so that it does what you might do by hand: inoremap { {<CR><Tab><CR><C-D>}<Esc>kA or inoremap { {<CR><Tab><CR>}<C-D><Up><End> (The control-D may not be necessary, depending upon how you have your C formating options set.) -- Jim Tittsler GPG: 0x01159DB6 Kanto Computer Calendar http://www.OnJapan.net/calendar/ Python Starship http://Starship.Python.net/
- References:
- [tlug] vi abbreviations
- From: Jean-Christian Imbeault
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Fedora Project.
- Next by Date: Re: [tlug] Good binary distribution
- Previous by thread: [tlug] vi abbreviations
- Next by thread: [tlug] Steve Ballmer
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links