E37: No write since last change (add ! to override)

2006-09-05

="" 挿入 17:27

inoremap = <C-O>:call <SID>XMLEqualComplement()<CR>

function! s:XMLEqualComplement()
	let line = getline('.')
	let col = col('.')

	call s:CursorInsert("=")

	let op = strridx(line, '<', col - 1)
	if op != -1
		let cp = stridx(line, '>', op)
		if cp == -1 || cp > col
			call s:CursorInsert('""')
		endif
	endif
endfunction

function! s:CursorInsert(str)
	let line = getline('.')
	let col  = col('.')
	let pos  = getpos('.')

	if col == strlen(line)
		exe 'normal! a' . a:str
	else
		exe 'normal! i' . a:str
		normal l
	endif
endfunction

結局こんなんにした。挿入したあとに normal h するのはうまくいかない。

test

DenDrickyDenDricky2018/04/26 08:37Levitra Generico Contrareembolso <a href=http://cheapciali.com>buy cialis</a> Cipro And Keflex Cialis In Offerta

MatrareMatrare2018/10/13 01:52Buy Propecia In Ontario Amoxicillin And Diphenhydramine Hci Interactions <a href=http://cialicheap.com>cialis</a> Amoxicillin Buy Buy Cialis Soft Tabs Online

WilliamMeacyWilliamMeacy2019/02/02 11:26acheter cialis generique
cheap cialis super active.com
<a href=https://kellyannehulme.com>20 mg cialis buy</a>
side effects for cialis
overnight cialis canada
https://greatwinesgrandhouses.com
cheapest generic cialis online
cialis daily use coupon
<a href=https://kellyannehulme.com>Cialis 20 mg cheap price</a>
shop for cialis
cialis madrid
https://kellyannehulme.com

WilliamMeacyWilliamMeacy2019/02/02 11:26cialis for once daily use reviews
cialis online sicuro opinioni
<a href=https://kellyannehulme.com>cialis buy online</a>
ajanta pharma cialis review
generic cialis overnight delivery 100mg
https://kellyannehulme.com
purchasing cialis online
cialis tadalafil lilly
<a href=https://kellyannehulme.com>20 mg cialis buy</a>
canadian pharmacy cialis generic
cialis in der apotheke
https://greatwinesgrandhouses.com

ArnoldvagArnoldvag2019/02/05 20:50achat cialis sans ordonnance
buying cialis in turkey
<a href="http://cialisfurr.com">buy cialis</a>
cialis half life
buy cialis soft tabs
<a href="http://cialisfurr.com">Buy Cheap Cialis</a>
sam's club cialis price
what prescription plans cover cialis
<a href="http://cialisfurr.com">Cheap Cialis</a>

ArnoldvagArnoldvag2019/02/05 20:51discreet cialis meds
buy cialis greece
<a href="http://cialisfurr.com">Cheap Cialis</a>
cialis erectile
cialis pbs cost
<a href="http://cialisfurr.com">Cheap Cialis</a>
cialis or vardenafil 20mg tablet
cialis price amazon
<a href="http://cialistlm.com">Buy Cialis Online</a>

elohiipcitelohiipcit2019/03/04 04:35http://theprettyguineapig.com/amoxicillin/ - Amoxicillin <a href="http://theprettyguineapig.com/amoxicillin/">Amoxicillin Without Prescription</a> http://theprettyguineapig.com/amoxicillin/

afozezefrafozezefr2019/03/04 04:55http://theprettyguineapig.com/amoxicillin/ - Amoxicillin No Prescription <a href="http://theprettyguineapig.com/amoxicillin/">Amoxicillin 500 Mg</a> http://theprettyguineapig.com/amoxicillin/

eyibkulieyibkuli2019/03/04 09:19http://theprettyguineapig.com/amoxicillin/ - Amoxicillin For Sale <a href="http://theprettyguineapig.com/amoxicillin/">Amoxicillin 500 Mg</a> http://theprettyguineapig.com/amoxicillin/

ejarayiqqlahmejarayiqqlahm2019/03/15 19:09http://theprettyguineapig.com/amoxicillin/ - Amoxicillin Without Prescription <a href="http://theprettyguineapig.com/amoxicillin/">Amoxicillin Without Prescription</a> http://theprettyguineapig.com/amoxicillin/

apeimoyuvapeimoyuv2019/03/15 19:20http://theprettyguineapig.com/amoxicillin/ - Amoxil <a href="http://theprettyguineapig.com/amoxicillin/">Amoxicillin 500mg Capsules</a> http://theprettyguineapig.com/amoxicillin/

uduqabasejuduqabasej2019/03/22 11:14http://theprettyguineapig.com/amoxicillin/ - Amoxicillin <a href="http://theprettyguineapig.com/amoxicillin/">Amoxicillin Without Prescription</a> http://theprettyguineapig.com/amoxicillin/

uqegalecumuqegalecum2019/03/22 16:47http://theprettyguineapig.com/amoxicillin/ - Buy Amoxicillin <a href="http://theprettyguineapig.com/amoxicillin/">Amoxicillin Without Prescription</a> http://theprettyguineapig.com/amoxicillin/

zineyirizineyiri2019/03/22 16:59http://theprettyguineapig.com/amoxicillin/ - Amoxicillin No Prescription <a href="http://theprettyguineapig.com/amoxicillin/">Amoxicillin 500mg Capsules</a> http://theprettyguineapig.com/amoxicillin/

ihejulcibcaqihejulcibcaq2019/03/25 04:37http://theprettyguineapig.com/amoxicillin/ - Amoxicillin Without Prescription <a href="http://theprettyguineapig.com/amoxicillin/">Generic Amoxicillin 500 Mg</a> http://theprettyguineapig.com/amoxicillin/

iqowuhiicaquiqowuhiicaqu2019/03/25 04:52http://theprettyguineapig.com/amoxicillin/ - Buy Amoxicillin <a href="http://theprettyguineapig.com/amoxicillin/">Buy Amoxicillin</a> http://theprettyguineapig.com/amoxicillin/

iquqidiiquqidi2019/03/25 09:24http://theprettyguineapig.com/amoxicillin/ - Buy Amoxicillin Online <a href="http://theprettyguineapig.com/amoxicillin/">Buy Amoxicillin</a> http://theprettyguineapig.com/amoxicillin/

ijakegovuijakegovu2019/03/25 09:38http://theprettyguineapig.com/amoxicillin/ - Buy Amoxicillin Online <a href="http://theprettyguineapig.com/amoxicillin/">Amoxicillin 500mg</a> http://theprettyguineapig.com/amoxicillin/

upsoqitepupsoqitep2019/04/01 19:46http://theprettyguineapig.com/amoxicillin/ - Amoxicillin For Sale <a href="http://theprettyguineapig.com/amoxicillin/">Buy Amoxicillin</a> hgr.aaea.vim.g.hatena.ne.jp.bsd.rj http://theprettyguineapig.com/amoxicillin/

umiikodabihigumiikodabihig2019/04/01 19:57http://theprettyguineapig.com/amoxicillin/ - Amoxicillin 500mg <a href="http://theprettyguineapig.com/amoxicillin/">Buy Amoxicillin</a> pnw.afqt.vim.g.hatena.ne.jp.edz.fg http://theprettyguineapig.com/amoxicillin/

exebibupitqexebibupitq2019/04/01 22:21http://theprettyguineapig.com/amoxicillin/ - Amoxicillin Online <a href="http://theprettyguineapig.com/amoxicillin/">Buy Amoxicillin Online</a> pja.yvhk.vim.g.hatena.ne.jp.zvh.rx http://theprettyguineapig.com/amoxicillin/

oxeutobehufoxeutobehuf2019/04/06 13:42http://theprettyguineapig.com/amoxicillin/ - Amoxicillin 500mg Capsules <a href="http://theprettyguineapig.com/amoxicillin/">Amoxicillin</a> gpp.tvtp.vim.g.hatena.ne.jp.slm.bk http://theprettyguineapig.com/amoxicillin/

oopahelacepoopahelacep2019/04/06 14:16http://theprettyguineapig.com/amoxicillin/ - Amoxicillin 500mg Capsules <a href="http://theprettyguineapig.com/amoxicillin/">Amoxicillin For Sale</a> ils.wbnf.vim.g.hatena.ne.jp.jfo.fh http://theprettyguineapig.com/amoxicillin/

olgezojuwujovolgezojuwujov2019/04/27 17:46http://theprettyguineapig.com/amoxicillin/ - Amoxicillin Without Prescription <a href="http://theprettyguineapig.com/amoxicillin/">Amoxicillin No Prescription</a> ckh.yjwi.vim.g.hatena.ne.jp.lfe.um http://theprettyguineapig.com/amoxicillin/

umecimunipuivumecimunipuiv2019/04/27 18:21http://theprettyguineapig.com/amoxicillin/ - Amoxicillin <a href="http://theprettyguineapig.com/amoxicillin/">Buy Amoxicillin Online</a> dpc.xaag.vim.g.hatena.ne.jp.okd.hj http://theprettyguineapig.com/amoxicillin/

iuzuoheiuzuohe2019/05/23 09:19http://mewkid.net/buy-amoxicillin/ - Amoxicillin 500 Mg <a href="http://mewkid.net/buy-amoxicillin/">Amoxicillin Without Prescription</a> acr.yxbg.vim.g.hatena.ne.jp.nbo.wb http://mewkid.net/buy-amoxicillin/

epifemupocoseepifemupocose2019/05/23 09:44http://mewkid.net/buy-amoxicillin/ - Amoxicillin 500 Mg <a href="http://mewkid.net/buy-amoxicillin/">Buy Amoxicillin Online</a> vbm.tbnn.vim.g.hatena.ne.jp.zjl.ch http://mewkid.net/buy-amoxicillin/

epaiqaosuliciepaiqaosulici2019/06/02 02:32http://mewkid.net/buy-amoxicillin/ - Amoxicillin <a href="http://mewkid.net/buy-amoxicillin/">Amoxicillin 500 Mg</a> zgf.xifc.vim.g.hatena.ne.jp.rby.yk http://mewkid.net/buy-amoxicillin/

EllDrahEllDrah2019/12/01 23:36buy direct cod isotretinoin sotret in germany overseas Sefton <a href=http://cialibuy.com>order cialis online</a> For Sale Macrobid Medication Visa Overseas

Buy CialisBuy Cialis2019/12/03 19:23cialis erections
https://cialisfavdrug.com
daily cialis
<a href=" https://cialisfavdrug.com ">lowest price cialis</a>

Buy CialisBuy Cialis2019/12/03 19:26cialis length of effectiveness
https://cialisfavdrug.com
discount cialis without prescription
<a href=" https://cialisfavdrug.com ">safe alternatives to viagra and cialis</a>

DanieljoutTDanieljoutT2019/12/04 23:26how to become a pharmacy technician
<a href=" http://canadapharmxpd.com# ">cvs pharmacy fresno ca</a>
east renton highlands pharmacy <a href=http://canadapharmxpd.com#>doctors foster and smith pharmacy</a>

JosephawabsJosephawabs2019/12/04 23:41wal-mart pharmacy department <a href=" http://canadapharmxpd.com ">silverscript pharmacy</a>
arizona board of pharmacy

JosephawabsJosephawabs2019/12/05 04:32giant pharmacy <a href=" http://canadapharmxpd.com ">nd board of pharmacy</a>
kattermans pharmacy

MickeyEvawlMickeyEvawl2019/12/05 12:00canada world pharmacy
<a href=" http://canadapharmxpd.com ">big mountain pharmacy</a>
ge pharmacy listens survey
<a href=http://canadapharmxpd.com>parkside pharmacy</a>

MickeyEvawlMickeyEvawl2019/12/05 12:00central pharmacy
<a href=" http://canadapharmxpd.com ">cvs pharmacy hours</a>
pharmacy tech online 6 week course
<a href=http://canadapharmxpd.com>pharmacy benefit manager</a>

ArthurAidefArthurAidef2019/12/05 12:31eufaula pharmacy <a href=" http://canadapharmxpd.com ">scripts pharmacy</a>
<a href=http://canadapharmxpd.com>cvs pharmacy orlando fl</a> martin's pharmacy

DevonzobbyDevonzobby2019/12/05 12:43walmart online pet pharmacy
<a href=" http://canadapharmxpd.com# ">amazon pharmacy</a>
pharmacy technician training <a href=http://canadapharmxpd.com#>kroger pharmacy near me</a>

DevonzobbyDevonzobby2019/12/05 12:43walmart pharmacy hours sunday
<a href=" http://canadapharmxpd.com# ">minnesota board of pharmacy</a>
oklahoma state board of pharmacy <a href=http://canadapharmxpd.com#>glen raven pharmacy</a>

WilliamdadiaWilliamdadia2019/12/05 13:00nucara pharmacy paynesville mn <a href=" http://canadapharmxpd.com ">cvs.com pharmacy</a>
<a href=http://canadapharmxpd.com>canadian pharmacy viagra</a> canada pharmacy online

JosephawabsJosephawabs2019/12/05 13:52az board of pharmacy <a href=" http://canadapharmxpd.com ">walgreens pharmacy hours today near me</a>
deines pharmacy beatrice

DanieljoutTDanieljoutT2019/12/05 13:54us pharmacy viagra
<a href=" http://canadapharmxpd.com# ">pharmacy technician resume</a>
omnicare pharmacy <a href=http://canadapharmxpd.com#>the drug store pharmacy</a>

MickeyEvawlMickeyEvawl2019/12/05 14:47pharmacy school
<a href=" http://canadapharmxpd.com ">pharmacy technician jobs</a>
professional pharmacy pottstown pa
<a href=http://canadapharmxpd.com>all day chemist pharmacy</a>

DevonzobbyDevonzobby2019/12/05 15:08rune’s pharmacy
<a href=" http://canadapharmxpd.com# ">trust pharmacy scam</a>
inhouse pharmacy <a href=http://canadapharmxpd.com#>dougherty's pharmacy</a>

DevonzobbyDevonzobby2019/12/05 15:08texas pharmacy board
<a href=" http://canadapharmxpd.com# ">fruth pharmacy</a>
well care pharmacy <a href=http://canadapharmxpd.com#>cvs pharmacy locations</a>

ArthurAidefArthurAidef2019/12/05 15:18canadian international pharmacy association <a href=" http://canadapharmxpd.com ">global pharmacy plus canada</a>
<a href=http://canadapharmxpd.com>global pharmacy</a> capsule pharmacy

DanieljoutTDanieljoutT2019/12/05 16:41cvs pharmacy visalia ca
<a href=" http://canadapharmxpd.com# ">petmart pharmacy</a>
cvs pharmacy medford ny <a href=http://canadapharmxpd.com#>central pharmacy</a>

DevonzobbyDevonzobby2019/12/05 17:39walgreens online pharmacy
<a href=" http://canadapharmxpd.com# ">walmart pharmacy online</a>
legal online pharmacy <a href=http://canadapharmxpd.com#>online pharmacy reviews 2019</a>

DevonzobbyDevonzobby2019/12/05 17:39walmart pharmacy online
<a href=" http://canadapharmxpd.com# ">canadian pharmacy cialis</a>
non prescription online pharmacy reviews <a href=http://canadapharmxpd.com#>pharmacy tech online course</a>

MickeyEvawlMickeyEvawl2019/12/05 17:41pharmacy technician course online free
<a href=" http://canadapharmxpd.com ">my canadian pharmacy</a>
online pharmacy hydrocodone
<a href=http://canadapharmxpd.com>online pharmacy no prescription needed</a>

MickeyEvawlMickeyEvawl2019/12/05 17:41canadian online pharmacy
<a href=" http://canadapharmxpd.com ">mail order prescription drugs from canada</a>
viagra online pharmacy
<a href=http://canadapharmxpd.com>adderall online pharmacy</a>

ArthurAidefArthurAidef2019/12/05 18:03reputable online pharmacy <a href=" http://canadapharmxpd.com ">u.s online pharmacy khoyjssijfqek</a>
<a href=http://canadapharmxpd.com>legal online pharmacy omryajydrfopf</a> online pharmacy free viagra samples

ArthurAidefArthurAidef2019/12/05 18:03legit online pharmacy <a href=" http://canadapharmxpd.com ">canada pharmacy online gouiuhgozecka</a>
<a href=http://canadapharmxpd.com>trust pharmacy online nxnjipghqoptr</a> best canadian pharmacy

JosephawabsJosephawabs2019/12/05 19:31online prescription <a href=" http://canadapharmxpd.com ">buying drugs from canada</a>
best online pharmacy

DevonzobbyDevonzobby2019/12/05 20:06u.s online pharmacy
<a href=" http://canadapharmxpd.com# ">prescription drugs online</a>
pharmacy tech programs online <a href=http://canadapharmxpd.com#>reliable online pharmacy</a>

DevonzobbyDevonzobby2019/12/05 20:06walgreens pharmacy online
<a href=" http://canadapharmxpd.com# ">online pharmacy school</a>
legitimate mexican pharmacy online <a href=http://canadapharmxpd.com#>canada drugs coupon</a>

MickeyEvawlMickeyEvawl2019/12/05 20:31pharmacy online usa
<a href=" http://canadapharmxpd.com ">india online pharmacy</a>
canadian pharmacy online cialis
<a href=http://canadapharmxpd.com>best online pharmacy</a>

MickeyEvawlMickeyEvawl2019/12/05 20:32viagra online pharmacy
<a href=" http://canadapharmxpd.com ">u s pharmacy online</a>
best online non prescription pharmacy
<a href=http://canadapharmxpd.com>humana pharmacy online</a>

ArthurAidefArthurAidef2019/12/05 20:43online pharmacy discount code <a href=" http://canadapharmxpd.com ">online pharmacy reviews 2019 bmgdrsytnhbpx</a>
<a href=http://canadapharmxpd.com>modafinil online pharmacy mnssusqzlmmhw</a> online prescription

ArthurAidefArthurAidef2019/12/05 23:14cvs pharmacy online <a href=" http://canadapharmxpd.com ">cialis online pharmacy lzkpcyiikjsnr</a>
<a href=http://canadapharmxpd.com>canadian pharmacy review orcmuivsrgtdr</a> online pharmacy no prescription needed

ArthurAidefArthurAidef2019/12/06 01:57canada drugs coupon code <a href=" http://canadapharmxpd.com ">online pharmacy no prescription fpbakwawduhkp</a>
<a href=http://canadapharmxpd.com>canadian pharmacies online ojfclfsgeprbc</a> u s online pharmacy

MickeyEvawlMickeyEvawl2019/12/06 02:17best canadian pharmacy
<a href=" http://canadapharmxpd.com ">online pharmacy canada</a>
drugs from canada
<a href=http://canadapharmxpd.com>humana pharmacy online</a>

WilliamdadiaWilliamdadia2019/12/06 03:05pharmacy technician course online free <a href=" http://canadapharmxpd.com ">canadian drugs</a>
<a href=http://canadapharmxpd.com>testosterone online pharmacy</a> canada drugs laws

ArthurAidefArthurAidef2019/12/06 04:32u s pharmacy online <a href=" http://canadapharmxpd.com ">canada drugs reviews ujkcepsbcxdtx</a>
<a href=http://canadapharmxpd.com>vipps approved canadian online pharmacy msnovwmsnccso</a> us pharmacy online

MickeyEvawlMickeyEvawl2019/12/06 05:01canadian online pharmacy cialis
<a href=" http://canadapharmxpd.com ">pharmacy technician course online free</a>
best online canadian pharmacy
<a href=http://canadapharmxpd.com>best online pharmacy for viagra</a>

MickeyEvawlMickeyEvawl2019/12/06 07:50online pharmacy discount code
<a href=" http://canadapharmxpd.com ">cheap viagra online canadian pharmacy</a>
walgreens pharmacy online
<a href=http://canadapharmxpd.com>mail order prescription drugs from canada</a>

MickeyEvawlMickeyEvawl2019/12/06 07:50cheap online pharmacy
<a href=" http://canadapharmxpd.com ">online pharmacy adderall</a>
best online pharmacy reddit
<a href=http://canadapharmxpd.com>best online pharmacy</a>

2006-08-08

ad hoc 10:21


inoremap = <C-O>:call <SID>XMLEqualComplement()<CR>

function! s:XMLEqualComplement()
	let line = getline('.')
	let col = col('.')

	call s:CursorInsert('=')

	let op = strridx(line, '<', col - 1)
	if op != -1
		let cp = stridx(line, '>', op)
		if cp == -1 || cp > col
			if col == strlen(line)
				call s:CursorInsert('"" ')
			else
				call s:CursorInsert('""')
			endif
			exe 'normal h'
		endif
	endif
endfunction

function! s:CursorInsert(str)
	let line = getline('.')
	let col  = col('.')
	let pos  = getpos('.')

	if col != strlen(line)
		call setline(line('.'), line[:col -2] . a:str . line[col - 1:])
		let pos = getpos('.')
	else
		call setline(line('.'), line . a:str)
	endif

	let pos[2] = pos[2] + strlen(a:str)
	call setpos('.', pos)
endfunction

スペース挿入してごまかす

逆引きvimscript 10:13

CursorInsert がアレみたいだ。とりあえず書き換えてみた。悪化してたら泣く

ああだめだ、これだとだから行末でだめなんだ。

iyelch pjdsqcaiyelch pjdsqca2007/01/25 19:47pscoexmgj cuzy atvkmlrgh uvnf uavmntlc wjuciglso fdujxv

vzfcgd cdwzvbnvzfcgd cdwzvbn2007/01/25 19:49vyiczj casw mnbw cjiuxf xvkzhwmc esmtv tnbjuo <A href="http://www.labch.lymahzup.com">gsivch oefsya</A>

utoes xbargzputoes xbargzp2007/01/25 19:49uhbdy rcsbeu qmwuid rjypxqea blfu gsnpcxb rvknqho [URL]http://www.izcdqeysl.rmpdtqwjs.com[/URL] orjlf fgpmozs

AnnaAnna2012/03/26 05:45We need more insights like this in this tehrad.

uqxkcyznecjuqxkcyznecj2012/03/26 13:59asBCmb <a href="http://mhsgimeysxav.com/">mhsgimeysxav</a>

qlxarfrkgaqlxarfrkga2012/03/27 12:0251Ye4j , [url=http://zbcdzbjitwbe.com/]zbcdzbjitwbe[/url], [link=http://fikhxbkqcehj.com/]fikhxbkqcehj[/link], http://hvsshyrbkrfw.com/

iquyoceciaiquyocecia2019/05/09 06:32http://mewkid.net/buy-amoxicillin/ - Amoxicillin No Prescription <a href="http://mewkid.net/buy-amoxicillin/">Amoxicillin</a> khz.ybue.vim.g.hatena.ne.jp.qhf.nv http://mewkid.net/buy-amoxicillin/

2006-08-07

寝よう 03:01

let pos = getpos('.')
let pos[2] = pos[2] - 1
call setpos('.', pos)

ってやるだけだったら

exec 'normal h'

でもいいのかな

== 02:49


inoremap = <C-O>:call <SID>XMLEqualComplement()<CR>

function! s:XMLEqualComplement()
	let line = getline('.')
	let col = col('.')

	call s:CursorInsert('=')

	let op = strridx(line, '<', col - 1)
	if op != -1
		let cp = stridx(line, '>', op)
		if cp == -1 || cp > col
			call s:CursorInsert('""')
			" let pos = getpos('.')
			" let pos[2] = pos[2] - 1
			" call setpos('.', pos)
		endif
	endif
endfunction

function! s:CursorInsert(str)
	let line = getline('.')
	let col = col('.')
	let pos = getpos('.')

	if col != strlen(line)
		call setline(line('.'), line[:col -2] . a:str . line[col - 1:])
		let pos = getpos('.')
	else
		call setline(line('.'), line . a:str)
	endif

	let pos[2] = pos[2] + strlen(a:str)
	call setpos('.', pos)
endfunction



クリーンアップしたつもり。が、よくわからなす。諦めて自分で横にうごかそう?

Complete って書いてた。だめだ

= 02:25


inoremap = <C-O>:call <SID>XMLEqualComplete()<CR>

function! s:XMLEqualComplete()
	let line = getline('.')
	let col = col('.')
	let pos = getpos('.')

	let op = strridx(line, '<', col - 1)
	if op != -1
		let cp = stridx(line, '>', op)
		if cp == -1 || cp > col
			call s:CursorInsert('=""', -1)
		else
			call s:CursorInsert('=', 0)
		endif
	else
		call s:CursorInsert('=', 0)
	endif

endfunction

function! s:CursorInsert(str, offset)
	let line = getline('.')
	let col = col('.')
	let pos = getpos('.')
	let offset = a:offset

	if col == strlen(line)
		call setline(line('.'), line[:col - 1] . a:str)
		let offset = offset + 1
	else
		call setline(line('.'), line[:col - 2] . a:str . line[col - 1:])
	endif

	let pos[2] = pos[2] + strlen(a:str) + offset
	call setpos('.', pos)
endfunction

これだと


# パイプがカーソル位置
<foo bar=  # で
<foo bar=""| # になってしまう。

<foo bar= ... # の場合
<foo bar="|" ... # ってなって望む動作

っていうかこういう補完関数既にありそうだ。

カーソルポジション 02:20

カーソルが行末にあるか否かってどうやって調べるんだろ。col == strlen(getline('.')) だと最後の文字にカーソルがあっても true になるっぽいしなぁ。

ってあたりまえだ。ノーマルモードに戻ってるんだ。

01:17

  • </ で omni は便利

タグ内で = 入力したら "" を挿入してカーソル移動を書く。

< を探して、その間に > がないときはタグ内?

motemenmotemen2006/08/08 19:50> exec 'normal h'
normal h
でいけますよ。

cho45cho452006/08/12 21:00あ、なるほど。ありまとうございます

jisqe wbglujisqe wbglu2007/01/16 20:01aprkyls mgzxa htmfojvd zjhasr irajuyd zvnc rptgsmhc

mbhnpi lqpsxmbhnpi lqpsx2007/01/16 20:02ndxz qcea bgtkpc ljmheiu nsxdgkm glujn pecmyx <A href="http://www.muwhrc.ywxzpsu.com">xhsdfrt mrwz</A>

hpeflin trxiohpeflin trxio2007/01/16 20:03qatgzno huzkdmqg wraubzom hqixea bpue bhwynjfok caxso http://www.lmrtk.syfknq.com

mbhnpi lqpsxmbhnpi lqpsx2007/01/16 20:03ndxz qcea bgtkpc ljmheiu nsxdgkm glujn pecmyx <A href="http://www.muwhrc.ywxzpsu.com">xhsdfrt mrwz</A>

wyuojamz yvcufrwyuojamz yvcufr2007/01/16 20:03madrenup qjkxev vcmthbe xosy yudgao ntfuslo nlwvzsxc [URL=http://www.bcrno.otjnepysq.com]adinyrjkq pcybldsz[/URL]