todo.txt 301 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152
  1. *todo.txt* For Vim version 9.0. Last change: 2022 Dec 11
  2. VIM REFERENCE MANUAL by Bram Moolenaar
  3. TODO list for Vim *todo*
  4. This is a veeeery long list of known bugs, current work and desired
  5. improvements. To make it a little bit accessible, the older items are grouped
  6. by subject. In the first column of the line a classification is used to be
  7. able to look for "the next thing to do":
  8. Priority classification:
  9. 9 next point release
  10. 8 next release
  11. 7 as soon as possible
  12. 6 soon
  13. 5 should be included
  14. 4 nice to have
  15. 3 consider including
  16. 2 maybe not
  17. 1 probably not
  18. - unclassified
  19. *votes-for-changes*
  20. See |develop.txt| for development plans. You can vote for which items should
  21. be worked on, but only if you sponsor Vim development. See |sponsor|.
  22. Issues can also be entered online: https://github.com/vim/vim/issues
  23. Only use this for bug reports, not for questions! Those belong on the
  24. maillist. Updates will be forwarded to the |vim_dev| maillist. Issues
  25. entered there will not be repeated below, unless there is extra information.
  26. The #1234 numbers refer to an issue or pull request on github. To see it in a
  27. browser use: https://github.com/vim/vim/issues/1234
  28. (replace 1234 with the issue/pull number)
  29. *known-bugs*
  30. -------------------- Known bugs and current work -----------------------
  31. Upcoming larger works:
  32. - Make spell checking work with recent .dic/.aff files, e.g. French. #4916
  33. Make Vim understand the format somehow? Search for "spell" below.
  34. Make sure suggestions are speedy, also with composed words (German).
  35. - Discuss alternatives for using other grammars (treesitter, TextMate).
  36. - Possibly conversion to Vim syntax rules.
  37. - Other mechanism than group and cluster to nest syntax items, to be used
  38. for grammars.
  39. - Possibly keeping the parsed syntax tree and incremental updates.
  40. - tree-sitter doesn't handle incorrect syntax (while typing) properly.
  41. - Make clear how it relates to LSP.
  42. - example plugin: https://github.com/uga-rosa/dps-vsctm.vim
  43. Further Vim9 improvements, possibly after launch:
  44. - implement :class and :interface: See |vim9-classes| #11544
  45. make default constructor use "this.member = void"
  46. make public / default read access / private work for members.
  47. string value of class and object in echo_string_core()
  48. object empty(), len() - can class define a method?
  49. tv_equal() should compare values, not identity.
  50. garbage collection: set_ref_in_item(): Mark items in class as used ?
  51. type() should return different type for each class?
  52. how about lock/unlock?
  53. - implement :type
  54. - implement :enum
  55. - Use Vim9 for more runtime files.
  56. - Inline call to map() and filter(), better type checking.
  57. - When evaluating constants for script variables, some functions could work:
  58. has(featureName), len(someString)
  59. - Implement as part of an expression: ++expr, --expr, expr++, expr--.
  60. Popup windows:
  61. - Add a function to redraw a specific popup window. Esp. to be used when
  62. editing the command line, when screen updating doesn't happen. (Shougo)
  63. #10210 Example that shows the need on the issue.
  64. Probably need to update all popup windows (they may overlap)
  65. If the display is scrolled need to redraw everything later.
  66. - Add a flag to make a popup window focusable?
  67. CTRL-W P cycle over any preview window or focusable popup, end up back in
  68. current window.
  69. ? - switch between current window and all popup windows
  70. Esc in popup window goes back to previous current window
  71. - Add a termcap entry for changing the cursor when it goes under the popup and
  72. back. like t_SI and t_EI (t_SU and t_EU, where "U" means under?)
  73. - With terminal in popup, allow for popup_hide() to temporarily hide it.?
  74. - Make it possible to scroll horizontally when 'wrap' is off. Does this
  75. require an ascii scrollbar, like with the vertical one?
  76. - Fire some autocommand event after a new popup window was created and
  77. positioned? PopupNew? Could be used to set some options or move it out of
  78. the way. (#5737)
  79. However, it may also cause trouble, changing the popup of another plugin.
  80. - Width is not computed correctly when minwidth and maxwidth are &columns
  81. and padding and a scrollbar are used. (#6676)
  82. - Should popup_getoptions() also return the mask? #7774
  83. - Add a way to use popup_menu() synchronously: instead of invoking the
  84. callback, return the choice. (Ben Jackson, #6534)
  85. - When using a popup for the info of a completion menu, and there is not
  86. enough space, let the popup overlap with the menu. (#4544)
  87. - Implement flip option.
  88. - Make redrawing more efficient and avoid flicker:
  89. - put popup menu also in popup_mask?
  90. - Match does not have right BG color if line length equals popup width.
  91. (#5658)
  92. - Figure out the size and position better if wrapping inserts indent
  93. 'incsearch' with :s:
  94. - :s/foo using CTRL-G moves to another line, should not happen, or use the
  95. correct line (it uses the last but one line) (Lifepillar, Aug 18, #3345)
  96. - Also support range: :/foo/,/bar/delete
  97. - Also support for user command, e.g. Cfilter
  98. - :%s/foo should take the first match below the cursor line, unless there
  99. isn't one?
  100. Then :%s?foo should take the first match above the cursor line.
  101. Prompt buffer:
  102. - Add a command line history, using up/down keys. issue #5010
  103. - delay next prompt until plugin gives OK?
  104. - add prompt_addtext({buf}, {expr}) none add text to a prompt buffer
  105. Terminal debugger:
  106. - Add a mechanism for configuration. Instead of several global variables use
  107. a dictionary. Use callbacks for some things, e.g. opening a debug window in
  108. a certain position.
  109. - Make prompt-buffer variant work better.
  110. - Add option to not open the program window. It's not used when attaching to
  111. an already running program. (M. Kelly)
  112. - Use the optional token on requests, match the result with it. #10300
  113. - When only gdb window exists, on "quit" edit another buffer.
  114. - Termdebug does not work when Vim was built with mzscheme: gdb hangs just
  115. after "run". Everything else works, including communication channel. Not
  116. initializing mzscheme avoid the problem, thus it's not some #ifdef.
  117. - Add support for lldb? issue #3565
  118. - Could we do something similar for debugging Vim scripts? At least see the
  119. script while stepping through it. Simple version would use an extra window.
  120. More complete solution would actually run Vim in a Terminal and control it
  121. with another Vim instance.
  122. Terminal emulator window:
  123. - Can escape a terminal popup with win_gotoid(), should be an error
  124. - No support for underline color, t_8u.
  125. - When in terminal-Normal mode when the job finishes, the cursor jumps to the
  126. end but the window is not updated. This only happens when typing "a".
  127. :term bash -c "for V in {0..5}; do echo $V; sleep 1; done"
  128. - When started with ":terminal ++close" and the shell exits but there is a
  129. background process, the window remains open, because the channel still
  130. exists (and output still shows). Perhaps close the window when an explicit
  131. ++close was used? (#5931)
  132. - Using "CTRL-W :confirm quite" and selecting "yes" should work like ":quit!".
  133. (Harm te Hennepe, #6129)
  134. - When the job in the terminal doesn't use mouse events, let the scroll wheel
  135. scroll the scrollback, like a terminal does at the shell prompt. #2490
  136. A bit like using CTRL-W N first.
  137. Jump back like with "a" when any key is typed.
  138. And use modeless selection. #2962
  139. - Use CTRL-W CTRL-K to enter a digraph? #5371
  140. - When Vim runs in the terminal and changes the title, the statusline needs to
  141. be redrawn.
  142. - GUI: When using ":set go+=!" a system() call causes the hit-enter prompt.
  143. (#3327)
  144. - Allow for specifying the directory, with ++cwd={dir}.
  145. - When pasting should call vterm_keyboard_start_paste(), e.g. when using
  146. K_MIDDLEMOUSE, calling insert_reg().
  147. - Users expect parsing the :term argument like a shell does, also support
  148. single quotes. E.g. with: :term grep 'alice says "hello"' (#1999)
  149. - Win32: Redirecting input does not work, half of Test_terminal_redir_file()
  150. is disabled.
  151. - Win32: Redirecting output works but includes escape sequences.
  152. - Win32: Make terminal used for :!cmd in the GUI work better. Allow for
  153. redirection.
  154. - When the job only outputs lines, we could handle resizing the terminal
  155. better: store lines separated by line breaks, instead of screen lines,
  156. then when the window is resized redraw those lines.
  157. - Redrawing is slow with Motif. (Ramel Eshed)
  158. - For the GUI fill termios with default values, perhaps like pangoterm:
  159. http://bazaar.launchpad.net/~leonerd/pangoterm/trunk/view/head:/main.c#L134
  160. - When 'encoding' is not utf-8, or the job is using another encoding, setup
  161. conversions.
  162. Crash when a variable is removed while listing variables (Issue #11435)
  163. Autoconf: must use autoconf 2.69, later version generates lots of warnings
  164. - try using autoconf 2.71 and fix all "obsolete" warnings #11322
  165. Problem with Visual highlight when 'linebreak' and 'showbreak' are set.
  166. #11272
  167. Can deref_func_name() and deref_function_name() be merged?
  168. After patch 8.2.4915 w_botline is computed much more often. Can this be
  169. reduced?
  170. Add BufDeletePost. #11041
  171. Add winid arg to col() and charcol() #11466 (request #11461)
  172. Can we make 'noendofline' and 'endoffile' visible? Should show by default,
  173. since it's an unusual situation.
  174. - Show 'noendofline' when it would be used for writing ('fileformat' "dos")
  175. with an upside down exclamation mark? NonText highlighting.
  176. - Show 'endoffile' when it would be used for writing ('fileformat' "dos") with
  177. "CTRL-Z", NonText highlighting.
  178. - Add 'fillchars' items to change this, default behavior like:
  179. noeol:¡
  180. eof:CTRL-Z
  181. Test property disappears when using CR twice in a row. OK when some text was
  182. entered. (#11151)
  183. Add 'keywordprg' to various ftplugin files:
  184. https://github.com/vim/vim/pull/5566
  185. PR #11579 to add visualtext(), return Visually selected text.
  186. Issue #10512: Dynamic loading broken with Perl 5.36
  187. Damien has a patch (2022 Dec 4)
  188. Add some kind of ":whathappend" command and functions to make visible what the
  189. last few typed keys and executed commands are. To be used when the user
  190. wonders what went wrong.
  191. - typed keys - Normal mode command - like what is recorded in a register and
  192. displayed by 'showcmd'.
  193. - executed command lines
  194. - with more verbosity: what scripts/functions/autocommands were executed
  195. NFA regexp does not handle composing characters well: #10286
  196. [ɔ̃] matches both ɔ and ɔ̃
  197. \(ɔ\|ɔ̃\) matches ɔ and not ɔ̃
  198. Is there a way to make 'autowriteall' make a clean exit when the xterm is
  199. closed? (Dennis Nazic says files are preserved, okt 28). Perhaps handle TERM
  200. like HUP?
  201. Better terminal emulator support:
  202. > Somehow request the terminfo entry from the terminal itself. The $TERM
  203. value then is only relevant for whether this feature is supported or not.
  204. Replaces the xterm mechanism to request each entry separately. #6609
  205. Multiplexers (screen, tmux) can request it to the underlying terminal, and
  206. pass it on with modifications.
  207. How to get all the text quickly (also over ssh)? Can we use a side channel?
  208. > When xterm supports sending an Escape sequence for the Esc key, should
  209. have a way to request this state. That could be an XTGETTCAP entry, e.g.
  210. "k!". Add "esc_sends_sequence" flag.
  211. If we know this state, then do not pretend going out of Insert mode in
  212. vgetorpeek(), where kitty_protocol_state is checked.
  213. > If a response ends up in a shell command, one way to avoid this is by
  214. sending t_RV last and delay starting a shell command until the response
  215. has been seen.
  216. > Can we use the req_more_codes_from_term() mechanism with more terminals?
  217. Should we repeat it after executing a shell command?
  218. Can also add this to the 'keyprotocol' option: "mok2+tcap"
  219. > In the table of terminal names pointing to the list of termcap entries,
  220. add an optional additional one. So that "xterm-kitty" can first load
  221. "xterm" and then add "kitty" entries.
  222. Using "A" and "o" in manually created fold (in empty buffer) does not behave
  223. consistenly (James McCoy, #10698)
  224. In a timer callback, when using ":echo" and then input() the message is
  225. overwritten. Could use ":echowin" and call redraw_cmd() in get_user_input().
  226. #11299
  227. Syntax include problem: #11277. Related to Patch 8.2.2761
  228. To avoid flicker: add an option that when a screen clear is requested, instead
  229. of clearing it draws everything and uses "clear to end of line" for every line.
  230. Resetting 't_ut' already causes this?
  231. When scheme can't be found by configure there is no clear "not found" message:
  232. configure:5769: checking MzScheme install prefix
  233. configure:5781: result:
  234. Can "CSI nr X" be used instead of outputting spaces? Is it faster? #8002
  235. Typed keys invisible after calling interrupt() from a timer. #10631
  236. With a window height of 6 and 'scrolloff' set to 3, using "j" does not scroll
  237. evenly. (#10545) Need to handle this in scroll_cursor_bot().
  238. Idea: when typing ":e /some/dir/" and "dir" does not exist, highlight in red.
  239. ":set shellpipe&" and ":set shellredir&" should use the logic from
  240. initialization to figure out the default value from 'shell'. Add a test for
  241. this.
  242. Support translations for plugins: #11637
  243. - Need a tool like xgettext for Vim script, generates a .pot file.
  244. Need the equivalent of _() and N_(), perhaps TR() and TRN().
  245. - Instructions for how to create .po files and translate.
  246. - Script or Makefile to generate .mo files.
  247. - Instructions and perhaps a script to install the .mo files in the right
  248. place.
  249. - Add variant of gettext() that takes a package name.
  250. With concealed text mouse click doesn't put the cursor in the right position.
  251. (Herb Sitz) Fix by Christian Brabandt, 2011 Jun 16. Doesn't work properly,
  252. need to make the change in where RET_WIN_BUF_CHARTABSIZE() is called.
  253. IDEA: when drawing the text, store the text byte index in ScreenLinesIdx[].
  254. When converting screen column to text position use this.
  255. The line number can be obtained from win->w_lines[].
  256. MS-Windows: did path modifier :p:8 stop working? #8600
  257. Version of getchar() that does not move the cursor - #10603 Use a separate
  258. argument for the new flag.
  259. test_arglist func Test_all_not_allowed_from_cmdwin() hangs on MS-Windows.
  260. Can we add highlighting to ":echowindow"?
  261. Information for a specific terminal (e.g. gnome, tmux, konsole, alacritty) is
  262. spread out. Make a section with copy/paste examples of script and pointers to
  263. more information.
  264. Problem that a previous silent ":throw" causes a following try/catch not to
  265. work. (ZyX, 2013 Sep 28) With examples: (Malcolm Rowe, 2015 Dec 24)
  266. Also see #8487 for an example.
  267. Request to use "." for the cursor column in search pattern \%<.c and \%<.v.
  268. (#8179)
  269. ":filter set termcap" only filters terminal codes, not keys. (#9297)
  270. Add an option to restrict 'incsearch' to not scroll the view. (Tavis Ormandy)
  271. Remove SPACE_IN_FILENAME ? It is only used for completion.
  272. When 'term' starts with "foot" then default t_TI and t_TE to the values used
  273. for the builtin xterm termcap.
  274. Adding "10" to 'spellsuggest' causes spell suggestions to become very slow.
  275. (#4087) Did patch 8.2.2379 help?
  276. Also, z= in German on a long word can take a very long time, but CTRL-C to
  277. interrupt does not work. Where to add ui_breakcheck()?
  278. New English spell files also have very slow suggestions.
  279. When 'spelloptions' is "camel" then zG doesn't work on some words.
  280. (Gary Johnson, 17 Oct 2022)
  281. Make "g>" and "g<" in Visual mode move the text right or left.
  282. Also for a block selection. #8558
  283. When using dictionary insert completion with 'ignorecase', the leading capital
  284. in a word should be preserved.
  285. Add optional argument to virtcol() that specifies "start", "cursor" or "end"
  286. to tell which value from getvvcol() should be used. (#7964)
  287. Value returned by virtcol() changes depending on how lines wrap. This is
  288. inconsistent with the documentation.
  289. globpath() does not use 'wildignorecase' at all? (related to #8350)
  290. mksession uses :buffer instead of :edit in one place but not another. #10629
  291. Add 'termguiattr' option, use "gui=" attributes in the terminal? Would work
  292. with 'termguicolors'. #1740
  293. Patch for blockwise paste reporting changes: #6660. Asked for a PR.
  294. Missing filetype test for bashrc, PKGBUILD, etc.
  295. Add an option to not fetch terminal codes in xterm, to avoid flicker when t_Co
  296. changes.
  297. Add ??= operator, "a ??= b" works like "a = a ?? b". #10343
  298. When ":redir" is used while already active, the previous one is ended. But
  299. when redirecting to a local variable (function or script) storing the value
  300. won't work. At least give an error. Is there a way to make it work?
  301. #10616
  302. Completion for ":runtime" should show valid values, not what's in the current
  303. directory. (#11447)
  304. Add an option to start_timer() to return from the input loop with K_IGNORE.
  305. This is useful e.g. when a popup was created that disables mappings, we need
  306. to return from vgetc() to make this happen. #7011
  307. Expanding <mods> should put the tab number from cmdmod.tab before "tab".
  308. Any way to convert "$" back by using a special value? (#6901)
  309. Can we detect true color support? https://gist.github.com/XVilka/8346728
  310. Try setting a color then request the current color, like using t_u7.
  311. Make the jumplist behave like a tag stack. (#7738) Should there be a more
  312. time bound navigation, like with undo?
  313. For testing, make a copy of ml_line_ptr instead of pointing it into the data
  314. block, so that valgrind can do out of bounds check. Set ML_LINE_DIRTY flag or
  315. add ML_LINE_ALLOCED.
  316. Changing a capturing group to non-capturing changes the result: #7607
  317. :echo matchstr('aaa bbb', '\(.\{-1,}\>\)\|.*')
  318. aaa
  319. :echo matchstr('aaa bbb', '\%(.\{-1,}\>\)\|.*')
  320. aaa bbb
  321. Should also work without any group:
  322. :echo matchstr('aaa bbb', '.\{-1,}\>\|.*')
  323. aaa bbb (should be aaa)
  324. Should add a match/str/list/pos method that also returns the test and position
  325. of submatches. #8355
  326. Check out PR #543 (Roland Puntaier).
  327. Patch for multibyte characters in langmap and applying a mapping on them.
  328. (Christian Brabandt, 2015 Jun 12, update July 25)
  329. Is this the right solution? Need to cleanup langmap behavior:
  330. - in vgetorpeek() apply langmap to the typeahead buffer and put the result in
  331. a copy-buffer, only when langmap is appropriate for the current mode. Then
  332. check for mapping and let gotchars() work on the copy-buffer.
  333. - Remove LANGMAP_ADJUST() in other parts of the code. Make sure the mode is
  334. covered by the above change.
  335. So that replaying the register doesn't use keymap/langmap and still does the
  336. same thing.
  337. Also see #737: langmap not applied to replaying recording.
  338. Perhaps also related: #5147
  339. Matchparen doesn't remove highlight after undo. (#7054)
  340. Is OK when syntax HL is active.
  341. Currently Del can be used to delete the last character of a typed count.
  342. Can it also be used to delete an incomplete Normal mode command? (#7096)
  343. After an operator: should work. After "a" or "i" for text objects: should
  344. work.
  345. Using "au!" after "filetype on" is a bit slow. Can the matching of
  346. autocommands be made faster? (#7056)
  347. Append in Visual block mode inserts the wrong character.
  348. Test_visual_block_mode() already has the proper check, which is commented out.
  349. (#8288)
  350. Add the <=> (spaceship) operator and "cond ?< expr ?= expr ?> expr"
  351. replace this:
  352. let left = GetLeftFunc()
  353. let right = GetRightFunc()
  354. let res = left < right ? lower : left == right ? equal : upper
  355. by:
  356. let res = GetLeftFunc() <=> GetRightFunc() ?< lower ?= equal ?> upper
  357. Patch to make :q work with local arglist. (Christian Brabandt, #6286)
  358. Why does Test_invalid_sid() not work in the GUI?
  359. ":pedit" ignores the local working directory when 'pvp' is set (#7267)
  360. Lua: updating wrong buffer when using newly created, unloaded buffer.
  361. (#6539)
  362. File marks merging has duplicates since 7.4.1925. (Ingo Karkat, #5733)
  363. A syntax plugin cannot use autocommands, it could be sourced from setting
  364. 'syntax' in a modeline. Add a function that indicates whether "secure"
  365. and/or "sandbox" are set.
  366. Problem with auto-formatting - inserting space and putting cursor before added
  367. character. (#6154)
  368. Auto-formatting comments joins a following non-comment line when the comment
  369. ends in a space. (Adam Levy, 18 Oct 2022)
  370. When 'lazyredraw' is set sometimes the title is not updated.
  371. (Jason Franklin, 2020 Feb 3) Looks like a race condition.
  372. With bash ":make" does not set v:shell_error. Possible solution: set
  373. 'shellpipe' to "2>&1| tee %s; exit ${PIPESTATUS[0]}" #5994
  374. Using mode() when "/pat" is used in Visual mode returns "v" instead of "c",
  375. which is not useful. Return "c/v" instead. And "c/o" when using "d/pat".
  376. #6127
  377. Add a cterm attribute for "dimmed" or "faint" text. (#8269)
  378. When 'fileignorecase' is set ":e testfile.c" works to edit TestFile.c, but
  379. ":find testfile.c" does not ignore case.
  380. Might be related to #6088.
  381. Error for reverse range when using :vimgrep in file "[id-01] file.txt".
  382. (#6919)
  383. When changing the crypt key the buffer should be considered modified.
  384. Like when changing 'fileformat'. Save the old key in save_file_ff().
  385. (Ninu-Ciprian Marginean)
  386. Strange sequence of BufWipeout and BufNew events while doing omni-complete.
  387. (Paul Jolly, #5656)
  388. Get BufDelete without preceding BufNew. (Paul Jolly, #5694)
  389. Later more requests for what to track.
  390. Should we add new events that don't allow any buffer manipulation?
  391. Really only for dealing with appearing and disappearing buffers, load and
  392. unload.
  393. BufWinenter event not fired when saving unnamed buffer. (Paul Jolly, #5655)
  394. Another spurious BufDelete. (Dani Dickstein, #5701)
  395. Wrong error when using local arglist. (Harm te Hennepe, #6133)
  396. Test loose_clipboard() by selecting text before suspending.
  397. :unmap <c-n> gives error but does remove the mapping. (Antony Scriven, 2019
  398. Dec 19)
  399. Patch to add an option to enable/disable VTP. (Nobuhiro Takasaki, #5344)
  400. Should have three values: empty, "off", "on". Name it 'winterm'?
  401. Patch to fix session file when using multiple tab pages. (Jason Franklin, 2019
  402. May 20)
  403. Also put :argadd commands at the start for all buffers, so that their order
  404. remains equal? Then %argdel to clean it up. Do try this with 'hidden' set.
  405. Also #5326: netrw buffers are not restored.
  406. When 'backupdir' has a path ending in double slash (meaning: use full path of
  407. the file) combined with 'patchmode' the file name is wrong. (#5791)
  408. Completion mixes results from the current buffer with tags and other files.
  409. Happens when typing CTRL-N while still searching for results. E.g., type "b_"
  410. in terminal.c and then CTRL-N twice.
  411. Should do current file first and not split it up when more results are found.
  412. (Also #1890)
  413. Help for ":argadd fname" says that if "fname" is already in the argument list
  414. that entry is used. But instead it's always added. (#6210)
  415. Add flag AL_FIND_ADD, if there is one argument find it in the list.
  416. Statusline highlighting error, off by one. (#5599)
  417. ":find" with 'path' set to "data*" does not find files, while completion does
  418. find them. (Max Kukartsev, #6218)
  419. Enable 'termbidi' if $VTE_VERSION >= 5703 ?
  420. Python 3.8 doesn't work. (Antonios Hadjigeorgalis, #5509)
  421. "--cleanFOO" does not result in an error. (#5537)
  422. Output from assert_equalfile() doesn't give a hint about what's different.
  423. Assuming the files are text, print the line with the difference.
  424. Result of synID() sometimes wrong in help files. (#5252)
  425. When a help file is opened that doesn't have "ft=help" in the modeline then
  426. the FileType is first set to "text" before it is set to "help". (#8099)
  427. Problem showing a line if the number column width changes when using "o".
  428. (Mateusz Morusiewicz, #4245)
  429. When using :packadd for a replacement language plugin, it is loaded after the
  430. default one. #4698
  431. When using :packadd files under "later" are not used, which is inconsistent
  432. with packages under "start". (xtal8, #1994)
  433. Patch to add new motion ]( and ]{. (Yasuhiro Matsumoto, #5320)
  434. Better: use the "z" prefix. or ]t) and [t(.
  435. Visual highlight not removed when 'display' is "lastline" and line doesn't
  436. fit. (Kevin Lawler, #4457)
  437. Current position in the changelist should be local to the buffer. (#2173)
  438. Does not build with MinGW out of the box:
  439. - _stat64 is not defined, need to use "struct stat" in vim.h
  440. - WINVER conflict, should use 0x0600 by default?
  441. - INT_MAX not defined: need to include <limits.h> in vim.h
  442. Display messed up with matchparen, wrapping and scrolling. (#5638)
  443. Screen update bug related to matchparen. (Chris Heath, 2017 Mar 4, #1532)
  444. When getting a focus event halfway a mapping this aborts the mapping. E.g.
  445. when "qq" is mapped and after the first "q" the mouse is moved outside of the
  446. gvim window (with focus follows mouse), then the K_FOCUSLOST key is put in the
  447. input buffer. (#5302)
  448. Check_external_diff() is used too often. (Daniel Hahler, #4800)
  449. Win32: after "[I" showing matches, scroll wheel messes up screen. (Tsakiridis,
  450. 2007 Feb 18)
  451. Patch by Alex Dobrynin, 2007 Jun 3. Also fixes other scroll wheel problems.
  452. Add a WindowScrolled event. Trigger around the same time as CursorMoved.
  453. Can be used to update highlighting. #3127 #5181
  454. Incorrect formatting with autoindent. (Sebastian Gniazdowski, #4909)
  455. Patch to add the :bvimgrep command. (Christian Brabandt, 2014 Nov 12)
  456. Updated 2016 Jun 10, #858 Update 2017 Mar 28: use <buffer>.
  457. Better use ":bufgrep" ?
  458. Improve fallback for menu translations, to avoid having to create lots of
  459. files that source the actual file. E.g. menu_da_de -> menu_da
  460. Include part of #3242?
  461. Patch to have text objects defined by arbitrary single characters. (Daniel
  462. Thau, 2013 Nov 20, 2014 Jan 29, 2014 Jan 31)
  463. Added tests (James McCoy, 2016 Aug 3, #958). Still needs more work.
  464. Would be nice to set tab-local values for 'diffexpr' and 'diffopt'. Use
  465. t:diffexpr_option t:diffopt_option? (#4782)
  466. Internal diff doesn't handle binary file like external diff does. (Mike
  467. Williams, 2018 Oct 30)
  468. '[ mark in wrong column after put. (#4776)
  469. Problem with :tlmenu: Detach item added with all modes? Issue #3563.
  470. Add an argument to expandcmd() to expand like ":next" does.
  471. When both "a" and "l" is in 'formatoptions' then auto-formatting also happens
  472. in a long line. #5189
  473. The quoting of the [command] argument of :terminal is not clearly documented.
  474. Give a few examples. (#4288)
  475. Opening a file with --remote-tab-silent that matches 'wildignore' does not
  476. work, results in "E479: No match". (#4610)
  477. 7 Add an option to add one pixel column to the character width? Lucida
  478. Console italic is wider than the normal font ("d" overlaps with next char).
  479. Opposite of 'linespace': 'columnspace'.
  480. Patch for this (Tristan Konolige, #1011, only added the option, no implem.)
  481. Bug: script written with "-W scriptout" contains Key codes, while the script
  482. read with "-s scriptin" expects escape codes. Probably "scriptout" needs to
  483. be adjusted. (Daniel Steinberg, 2019 Feb 24, #4041)
  484. Window size changes after closing a tab. (#4741)
  485. Problem with colors in terminal window. (Jason Franklin, 2019 May 12)
  486. Color schemes:
  487. NOTE: modernizing the default colorschemes _AND_ introducing new ones is now
  488. a project in its own right: https://github.com/vim/colorschemes. Feel free to
  489. reach out if you want to lend a hand.
  490. - Lifepillar: Updated/cleaned up color schemes:
  491. https://github.com/lifepillar/vim8-colorschemes.
  492. - Include a few color schemes, based on popularity:
  493. - http://www.vim.org/scripts/script_search_results.php?keywords=&script_type=color+scheme&order_by=rating&direction=descending&search=search
  494. http://vimawesome.com/?q=tag:color-scheme
  495. - Use names that indicate their appearance (Christian Brabandt, 2017 Aug 3)
  496. - monokai - Xia Crusoe (2017 Aug 4)
  497. - seoul256 - Christian Brabandt (2017 Aug 3)
  498. - gruvbox - Christian Brabandt (2017 Aug 3) (simplified version from
  499. Lifepillar, 2018 Jan 22, #2573)
  500. - janah - Marco Hinz (2017 Aug 4)
  501. - apprentice - Romain Lafourcade (2017 Aug 6) remarks about help file #1964
  502. - Suggested by Hiroki Kokubun:
  503. - [Iceberg](https://github.com/cocopon/iceberg.vim) (my one)
  504. - [hybrid](https://github.com/w0ng/vim-hybrid)
  505. - Include solarized color scheme?, it does not support termguicolors.
  506. - Sanitized version of pablo (Lifepillar, 2017 Nov 21)
  507. Bug: "vipgw" does not put cursor back where it belongs. (Jason Franklin, 2019
  508. Mar 5)
  509. Some composing characters actually add a cell width to the character they are
  510. on top off, making the whole thing two characters wide. (#4526)
  511. Should we include some part of pull request #4505, not increment changedtick
  512. in some cases? E.g. for ":write" when the changed flag was already off, the
  513. buffer didn't change at all.
  514. When using a timer callback vgetc_busy is reset, allowing for using input().
  515. But in a channel callback this does not happen. We need to do something
  516. similar to check_due_timer(). Also see #3809.
  517. C syntax: {} inside () causes following {} to be highlighted as error.
  518. (Michalis Giannakidis, 2006 Jun 1)
  519. Check: __attribute__((format(printf, on semsg() and siemsg(). Where was this
  520. added?
  521. Add test for urxvt mouse codes. Also test that mouse coordinates can be
  522. negative. (see #4326)
  523. 'cmdheight' has a tab-local value, but it cannot be obtained with
  524. `:echo gettabwinvar(2, 1, '&cmdheight')` returns the value for the _current_
  525. tab page. (Ingo Karkat, #4324)
  526. :call settabwinvar(1, 1, '&cmdheight', 2) also doesn't work well.
  527. When opening a file, allow for specifying the initial column position:
  528. vim +12:5 file.txt line 12 column 5
  529. :edit +12:5 file.txt
  530. Should probably use the column as the character index.
  531. This modeline throws unexpected errors: (#4165)
  532. vim: syn=nosyntax
  533. Make balloon_show() work outside of 'balloonexpr'? Users expect it to work:
  534. #2948. (related to #1512?)
  535. Also see #2352, want better control over balloon, perhaps set the position.
  536. Should also be possible to add highlighting, like in the status line?
  537. balloonexpr() on MS-Windows GUI doesn't handle accented chars? (nivaemail,
  538. 2018 Sep 14)
  539. More warnings from static analysis:
  540. https://lgtm.com/projects/g/vim/vim/alerts/?mode=list
  541. Not existing directory in CDPATH leads to two shell calls. (#4525)
  542. Use dict_iterate_start() / dict_iterate_next() instead of relying on the
  543. internals of the dict structure.
  544. nvo-mode mapping works on Windows, not on Linux. (#3678)
  545. Redo only remembers the last change. Could use "{count}g." to redo an older
  546. change. How does the user know which change? At least have a way to list
  547. them: ":repeats". Add to history, like search history and command line history.
  548. When 'confirm' is set a "silent q" doesn't show the prompt. It should in this
  549. case. (Nate Peterson, 2019 Jan 31, #3892)
  550. For "silent! q" it should not prompt and just fail.
  551. Add <aevent>, which expands to the currently triggered autocommand event name.
  552. (Daniel Hahler, #4232) Or add it to v:event (easier to use but slightly more
  553. expensive).
  554. Some xterm responses are not properly handled: (Markus Gömmel, 2019 Apr 1)
  555. DCS 0 $ r Pt ST should be ignored.
  556. DCS 0 + r/Pt/ ST already ignored?
  557. Using CTRL-L to add a character to the search string that contains \v,
  558. punctuation is repeated. (Smylers, 2018 Nov 17, #3621)
  559. Using single wide base character with double wide composing character gives
  560. drawing errors. Fill up the base character? (Dominique, #4328)
  561. When 'sidescrolloff' is set, using "zl" to go to the end of the line, suddenly
  562. scrolls back. Should allow for this scrolling, like 'scrolloff' does when
  563. using CTRL-E. (Yee Cheng Chin, #3721)
  564. Add function to make use of internal diff, working on two lists and returning
  565. unified diff (list of lines).
  566. When splitting a window with few text lines, the relative cursor position is
  567. kept, which means part of the text isn't displayed. Better show all the text
  568. when possible. (Dylan Lloyd, #3973)
  569. Make ":interactive !cmd" stop termcap mode, also when used in an autocommand.
  570. (#3692)
  571. Add something like 'fillchars' local to window, but allow for specifying a
  572. highlight name. Esp. for the statusline.
  573. And "extends" and "precedes" are also useful without 'list' set. Also in
  574. 'fillchars' or another option?
  575. Sourceforge Vim pages still have content, make them empty, keep redirect.
  576. Check for PHP errors. (Wayne Davison, 2018 Oct 26)
  577. Problem with Visual yank when 'linebreak' and 'showbreak' are set.
  578. Patch with tests, but it's not clear how it is supposed to work. (tommm, 2018
  579. Nov 17) Asked about this, Dec 22. Christian will have a look.
  580. Update for xim-input-style help (Tony Mechelynck, 2019 Jan 10).
  581. Feedback from someone who uses this?
  582. Only output t_Cs when t_Ce is also set. do not use Cs and Ce termcap entries. (Daniel Hahler, 2018 Sep 25)
  583. Add t_cS and t_cR for cursor color select and reset. Use Cs and Cr terminfo
  584. values.
  585. Further xdiff changes:
  586. - More options, e.g. different kind of whitespace diff.
  587. - when editing text, update the surrounding diff blocks.
  588. - omit diff.exe from distribution
  589. - Can we make this show differences within a line?
  590. - add option to use external diff above a certain size.
  591. Difference between two regexp engines: #3373
  592. When the last line wraps, selecting with the mouse below that line only
  593. includes the first screen line. (2018 Aug 23, #3368)
  594. Refactored HTML indent file. (Michael Lee, #1821)
  595. Asked to write a test.
  596. Merge checking for 'cursorline' and 'concealcursor', see neovim #9492.
  597. Add a windowID argument to placing a sign, so that it only shows up in one
  598. window for the buffer.
  599. Compiler warning (geeknik, 2017 Oct 26):
  600. - undefined left shift in eval_string(), before hex2nr() (#2250)
  601. Use unsigned for "nr".
  602. Add Native language protocol server (LSP) support. (Yegappan Lakshmanan, 2018
  603. Oct 28)
  604. Patch to be able to use hex numbers with :digraph. (Lcd, 2015 Sep 6)
  605. Update Sep 7. Update by Christian Brabandt, 2015 Sep 8, 2016 Feb 1.
  606. Patch to be able to disable default digraphs (incomplete) (Eric Pruitt, 2018
  607. Nov 22).
  608. Patch to list user digraphs. (Christian Brabandt, 2012 Apr 14)
  609. Setting 'columns' in a BufEnter autocommand causes a second tab width to
  610. behave strangely, as if there is a gap and a vertical window separator.
  611. (Michael Soyka, 2018 Sep 23, #3477)
  612. Add an option similar to 'lazyredraw' to skip redrawing while executing a
  613. script or function.
  614. Using a menu item while the "more" prompt is displayed doesn't work well.
  615. E.g. after using help->version. Have a key that ends the "more" prompt and
  616. does nothing otherwise?
  617. MS-Windows: write may fail if another program is reading the file.
  618. If 'readonly' is not set but the file appears to be readonly later, try again
  619. (wait a little while).
  620. CreateFile() returns ERROR_SHARING_VIOLATION (Linwei, 2018 May 5)
  621. Using --remote to open a file in which a # appears does not work on
  622. MS-Windows. Perhaps in \# the \ is seen as a path separator. (Axel Bender,
  623. 2017 Feb 9) Can we expand wildcards first and send the path literally to the
  624. receiving Vim? Or make an exception for #, it's not useful remotely.
  625. Column number is wrong when using 'linebreak' and 'wrap'. (Keith Smiley, 2018
  626. Jan 15, #2555)
  627. Add Makefiles to the runtime/spell directory tree, since nobody uses Aap.
  628. Will have to explain the manual steps (downloading the .aff and .dic files,
  629. applying the diff, etc.
  630. User dictionary ~/.vim/spell/lang.utf-8.add not used for spell checking until a
  631. word is re-added to it. (Matej Cepl, 2018 Feb 6)
  632. Fold at end of the buffer behaves inconsistently. (James McCoy, 2017 Oct 9)
  633. Implement option_save() and option_restore():
  634. option_restore({list}) *option_restore()*
  635. Restore options previously saved by option_save().
  636. When buffer-local options have been saved, this function must
  637. be called when the same buffer is the current buffer.
  638. When window-local options have been saved, this function must
  639. be called when the same window is the current window.
  640. When in the wrong buffer and/or window an error is given and
  641. the local options won't be restored.
  642. option_save({list}) *option_save()*
  643. Saves the options named in {list}. The returned value can be
  644. passed to option_restore(). Example: >
  645. let s:saved_options = option_save([
  646. \ 'ignorecase',
  647. \ 'iskeyword',
  648. \ ])
  649. au <buffer> BufLeave *
  650. \ call option_restore(s:saved_options)
  651. < The advantage over using `:let` is that global and local
  652. values are handled and the script ID is restored, so that
  653. `:verbose set` will show where the option was originally set,
  654. not where it was restored.
  655. Alternatively: save and restore ALL options. Implementation needs to use
  656. copy-on-write. Return an ID from option_save(), when
  657. option_restore(ID) is called give an error if another option_save()
  658. was called in the meantime, they must be balanced.
  659. "gvim --remote" from a directory with non-word characters changes the current
  660. directory (Paulo Marcel Coelho Arabic, 2017 Oct 30, #2266)
  661. Also see #1689.
  662. When 'virtualedit' is "all" and 'cursorcolumn' is set, the wrong column may be
  663. highlighted. (van-de-bugger, 2018 Jan 23, #2576)
  664. No profile information for function that executes ":quit". (Daniel Hahler,
  665. 2017 Dec 26, #2501)
  666. A function on a dictionary is not profiled. (ZyX, 2010 Dec 25)
  667. Add script number to profile? (#3330 breaks tests).
  668. A function defined locally and lambda's are not easily recognized.
  669. Mention where they were defined somewhere.
  670. ml_get errors with buggy script. (Dominique, 2017 Apr 30)
  671. Error in emsg with buggy script. (Dominique, 2017 Apr 30)
  672. Join truncates xml comment. (Dmitrii Tcyganok, 2017 Dec 24, #2494)
  673. Requires 'formatoptions' to include "j". (Gary Johnson, 2017 Dec 24)
  674. Patch to support hunspell. (Matej Cepl, Jan 2018, #2500) Based on older patch
  675. in #846)
  676. Doesn't work on Windows yet. Not ready to included, hard coded paths.
  677. When a timer is running and typing CTRL-R on the command line, it is not
  678. redrawn properly. (xtal8, 2017 Oct 23, #2241)
  679. In an optional package the "after" directory is not scanned?
  680. (Renato Fabbri, 2018 Feb 22)
  681. Patch for Neovim concerning restoring when closing help window. (glacambre
  682. neovim #7431)
  683. Patch for improving detecting Ruby on Mac in configure. (Ilya Mikhaltsou, 2017
  684. Nov 21)
  685. When t_Co is changed from termresponse, the OptionSet autocommand event isn't
  686. triggered. Use the code from the end of set_num_option() in
  687. set_color_count().
  688. Add another autocommand like TermResponse that is fired for the other terminal
  689. responses, such as bg and fg. Use "bg", "fg", "blink", etc. for the name.
  690. When using command line window, CmdlineLeave is triggered without
  691. CmdlineEnter. (xtal8, 2017 Oct 30, #2263)
  692. Add some way to get the nested state. Although CmdwinEnter is obviously
  693. always nested.
  694. matchit hasn't been maintained for a long time. #955.
  695. Problem with 'delcombine'. (agguser, 2017 Nov 10, #2313)
  696. 'delcombine' does not work for the command line. (Tony Mechelynck, 2009 Jul
  697. 20)
  698. MS-Windows: buffer completion doesn't work when using backslash (or slash)
  699. for a path separator. (xtal8, #2201)
  700. Would be nice for Insert mode completion to highlight the text that was added
  701. (and may change when picking another completion).
  702. Test more runtime files.
  703. Window not closed when deleting buffer. (Harm te Hennepe, 2017 Aug 27, #2029)
  704. Add options_default() / options_restore() to set several options to Vim
  705. defaults for a plugin. Comments from Zyx, 2017 May 10.
  706. Perhaps use a vimcontext / endvimcontext command block.
  707. After using :noautocmd CursorMoved may still trigger. (Andy Stewart, 2017 Sep
  708. 13, #2084). Set old position after the command.
  709. When bracketed paste is used, pasting at the ":append" prompt does not get the
  710. line breaks. (Ken Takata, 2017 Aug 22)
  711. Cannot copy modeless selection when cursor is inside it. (lkintact, #2300)
  712. Test_writefile_fails_conversion failure on Solaris because if different iconv
  713. behavior. Skip when "uname" returns "SunOS"? (Pavel Heimlich, #1872)
  714. 'tagrelative' is broken in specific situation. (xaizek, 2017 Oct 19, #2221)
  715. The ++ options for the :edit command are also useful on the Vim command line.
  716. Overlong utf-8 sequence is displayed wrong. (Harm te Hennepe, 2017 Sep 14,
  717. #2089) Patch with possible solution by Björn Linse.
  718. X11: Putting more than about 262040 characters of text on the clipboard and
  719. pasting it in another Vim doesn't work. (Dominique Pelle, 2008 Aug 21-23)
  720. clip_x11_request_selection_cb() is called with zero value and length.
  721. Also: Get an error message from free() in the process that owns the selection.
  722. Seems to happen when the selection is requested the second time, but before
  723. clip_x11_convert_selection_cb() is invoked, thus in X library code.
  724. Kazunobu Kuriyama is working on a proper fix. (2017 Jul 25)
  725. Problem with three-piece comment. (Michael Lee, 2017 May 11, #1696)
  726. Creating a partial with an autoload function is confused about the "self"
  727. attribute of the function. For an unknown function assume "self" and make
  728. that optional? (Bjorn Linse, 2017 Aug 5)
  729. Cindent: returning a structure has more indent for the second item.
  730. (Sam Pagenkopf, 2017 Sep 14, #2090)
  731. Patch from Christian Brabandt to preserve upper case marks when wiping out a
  732. buffer. (2013 Dec 9)
  733. Also fixes #2166?
  734. Profile of a dict function is lost when the dict is deleted. Would it be
  735. possible to collect this? (Daniel Hahler, #2350)
  736. When checking if a bufref is valid, also check the buffer number, to catch the
  737. case of :bwipe followed by :new.
  738. Patch to skip writing a temp file for diffing if the buffer is equal to the
  739. existing file. (Akria Sheng, 2017 Jul 22)
  740. Could also skip writing lines that are the same.
  741. MS-Windows: Opening same file in a second gvim hangs. (Sven Bruggemann, 2017
  742. Jul 4)
  743. Setting 'clipboard' to "unnamed" makes a global command very slow (Daniel
  744. Drucker, 2017 May 8).
  745. This was supposed to be fixed, did it break again somehow?
  746. Christian cannot reproduce it.
  747. Using composing char in mapping does not work properly. maparg() shows the
  748. wrong thing. (Nikolai Pavlov, 2017 Jul 8, #1827)
  749. Or is this not an actual problem?
  750. Better TeX indent file. (Christian Brabandt, 2017 May 3)
  751. Use gvimext.dll from the nightly build? (Issue #249)
  752. 'synmaxcol' works with bytes instead of screen cells. (Llandon, 2017 May 31,
  753. #1736)
  754. Problem with using :cd when remotely editing a file. (Gerd Wachsmuth, 2017 May
  755. 8, #1690)
  756. Memory leak in test97? The string is actually freed. Weird.
  757. assert_fails() can only check for the first error. Make it possible to have
  758. it catch multiple errors and check all of them.
  759. Add a toolbar in the terminal. Can be global, above all windows, or specific
  760. for one window.
  761. Make maparg() also return the raw rhs, so that it doesn't depend on 'cpo'.
  762. (Brett Stahlman, 2017 May 23)
  763. Even better: add a way to disable a mapping temporarily and re-enable it
  764. later. This is for a sub-mode that is active for a short while (one buffer).
  765. Still need maplist() to find the mappings. What can we use to identify a
  766. mapping? Something unique would be better than the LHS.
  767. Perhaps simpler: actually delete the mappings. Use maplist() to list matching
  768. mappings (with a lhs prefix, like maparg()), mapdelete() to delete,
  769. maprestore() to restore (using the output of maplist()).
  770. Add an argument to :mkvimrc (or add another command) to skip mappings from
  771. plugins (source is a Vim script). No need to put these in a .vimrc, they will
  772. be defined when the plugin is loaded.
  773. Use tb_set(winid, [{'text': 'stop', 'cb': callback, 'hi': 'Green'}])
  774. tb_highlight(winid, 'ToolBar')
  775. tb_get(winid)
  776. json_encode(): should convert to utf-8. (Nikolai Pavlov, 2016 Jan 23)
  777. What if there is an invalid character?
  778. Json string with trailing \u should be an error. (Lcd)
  779. import can't be used in define option when include matches too.
  780. (Romain Lafourcade, 2017 Jun 18, #1519)
  781. Wrong diff highlighting with three files. (2016 Oct 20, #1186)
  782. Also get E749 on exit.
  783. Another example in #1309
  784. Suggestion to improve pt-br spell checking. (Marcelo D Montu, 2016 Dec 15,
  785. #1330)
  786. Error in test_startup_utf8 on Solaris. (Danek Duvall, 2016 Aug 17)
  787. Rule to use "^" for statusline does not work if a space is defined with
  788. highlighting for both stl and stlnc. Patch by Ken Hamada (itchyny, 2016 Dec 11)
  789. Using CTRL-G_U in InsertCharPre causes trouble for redo. (Israel Chauca
  790. Fuentes, 2017 Feb 12, #1470)
  791. Add a "keytrans()" function, which turns the internal byte representation of a
  792. key into a form that can be used for :map. E.g.
  793. let xx = "\<C-Home>"
  794. echo keytrans(xx)
  795. <C-Home>
  796. Check for errors E704 and E705 only does VAR_FUNC, should also do VAR_PARTIAL.
  797. (Nikolai Pavlov, 2017 Mar 13, #1557)
  798. Make a function to check for function-like type?
  799. Implement named arguments for functions with optional arguments:
  800. func Foo(start, count = 1, all = 1)
  801. call Foo(12, all = 0)
  802. Add a command to take a range of lines, filter them and put the output
  803. somewhere else. :{range}copy {dest} !cmd
  804. The TermResponse event is not triggered when a plugin has set 'eventignore' to
  805. "all". Netrw does this. (Gary Johnson, 2017 Jan 24)
  806. Postpone the event until 'eventignore' is reset.
  807. Expanding /**/ is slow. Idea by Luc Hermitte, 2017 Apr 14.
  808. Once .exe with updated installer is available: Add remark to download page
  809. about /S and /D options (Ken Takata, 2016 Apr 13)
  810. Or point to nightly builds: https://github.com/vim/vim-win32-installer/releases
  811. ":sbr" docs state it respects 'switchbuf', but "vsplit" does not cause a
  812. vertical split. (Haldean Brown, 2017 Mar 1)
  813. Use ADDR_OTHER instead of ADDR_LINES for many more commands.
  814. E.g. all the location list commands use a count.
  815. Add tests for using number larger than number of lines in buffer.
  816. Might be useful to have isreadonly(), like we have islocked().
  817. Avoids exceptions, e.g. when using the b: namespace as a dict.
  818. Patch to make v:shell_error writable. (Christian Brabandt, 2016 Sep 27)
  819. Useful to restore it. Is there another solution?
  820. "ci[" does not look for next [ like ci" does look for next ".
  821. (J.F. 2017 Jan 7)
  822. Patch for wrong cursor position on wrapped line, involving breakindent.
  823. (Ozaki Kiichi, 2016 Nov 25)
  824. Patch for 'cursorlinenr' option. (Ozaki Kiichi, 2016 Nov 30)
  825. Window resizing with 'winfixheight': With a vertical split the height changes
  826. anyway. (Tommy allen, 2017 Feb 21, #1502)
  827. Invalid behavior with NULL list. (Nikolai Pavlov, #768)
  828. E.g. deepcopy(test_null_list())
  829. Patch to make it possible to extend a list with itself.
  830. (Nikolai Pavlov, 2016 Sep 23)
  831. Patch to add Zstandard compressed file support. (Nick Terrell, 2016 Oct 24)
  832. On Windows buffer completion sees backslash as escape char instead of path
  833. separator. (Toffanim, 2016 Nov 24, #1274)
  834. Should :vmap in matchit.vim be :xmap? (Tony Mechelynck)
  835. Problem with whitespace in errorformat. (Gerd Wachsmuth, 2016 May 15, #807)
  836. Add "unicode true" to NSIS installer. Doesn't work with Windows 95, which we
  837. no longer support.
  838. Support sort(l, 'F'), convert strings to float. (#7857)
  839. sort() is not stable when using numeric/float sort (Nikolay Pavlov, 2016 Sep
  840. 4#1038)
  841. sort() does not use 'smartcase' for the skip pattern, even though 'ignorecase'
  842. is used. (Filipe Brandenburger, #7322)
  843. +channel:
  844. - Add a in_cb, invoked when the write buffer has become empty. (Matteo Landi)
  845. - Add ch_readlines(): for a channel in NL mode, reads as many lines as are
  846. available. Should be more efficient than looping over ch_read() with
  847. ch_status() to check for more.
  848. - If buffer contents is changed in a callback, set w_redr_status so that it
  849. gets redrawn in redraw_after_callback(). #6120
  850. - Add a separate timeout for opening a socket. Currently it's fixed at 50
  851. msec, which is too small for a remote connection. (tverniquet, #2130)
  852. - Writing raw mode to a buffer should still handle NL characters as line
  853. breaks. (Dmitry Zotikov, 2017 Aug 16)
  854. - When out_cb executes :sleep, the close_cb may be invoked. (Daniel Hahler,
  855. 2016 Dec 11, #1320)
  856. - Implement |job-term| ?
  857. - Calling a function when receiving a "call" on a channel, using feedkeys()
  858. does not work. It does work from a timer. (Qiming Zhao, #3852)
  859. - Channel test fails with Motif. Sometimes kills the X11 server.
  860. - When a message in the queue but there is no callback, drop it after a while?
  861. Add timestamp to queued messages and callbacks with ID, remove after a
  862. minute. Option to set the droptime.
  863. - Add an option to drop text of very long lines? Default to 1 Mbyte.
  864. - Add remark about undo sync, is there a way to force it?
  865. - When starting a job, have an option to open the server socket, so we know
  866. the port, and pass it to the command with --socket-fd {nr}. (Olaf Dabrunz,
  867. Feb 9) How to do this on MS-Windows?
  868. - For connection to server, a "keep open" flag would be useful. Retry
  869. connecting in the main loop with zero timeout.
  870. - job_start(): run job in a newly opened terminal (not a terminal window).
  871. With xterm could use -S{pty}.
  872. Although user could use "xterm -e 'cmd arg'".
  873. Regexp problems:
  874. - NFA engine can be slow for some patterns. Dominique found out that most
  875. time is spent in addstate_here() copying the threads. Instead of copying,
  876. let each thread point to the next one (by offset, the list is reallocated).
  877. (Dominique Pelle, 2019 Feb 18)
  878. - Old engine: using 'incsearch' /\Zabc does not highlight the "c" if it has a
  879. composing character. New engine is OK. (Tony Mechelynck, 2019 May 5)
  880. - When search pattern has the base character both with and without combining
  881. character, search fails. E.g. "รรีบ" in "การรีบรักใคร". (agguser, #2312)
  882. - [:space:] only matches ASCII spaces. Add [:white:] for all space-like
  883. characters, esp. including 0xa0. Use character class zero.
  884. - Since 7.4.704 the old regex engine fails to match [[:print:]] in 0xf6.
  885. (Manuel Ortega, 2016 Apr 24)
  886. Test fails on Mac. Avoid using isalpha(), isalnum(), etc? Depends on
  887. LC_CTYPE
  888. - The old engine does not find a match for "/\%#=1\(\)\{80}", the new engine
  889. matches everywhere.
  890. - Using win_linetabsize() can still be slow. Cache the result, store col and
  891. vcol. Reset them when moving to another line.
  892. - Very slow with a long line and Ruby highlighting. (John Whitley, 2014 Dec 4)
  893. - Bug with pattern: '\vblock (\d+)\.\n.*\d+%(\1)@<!\.$'
  894. (Lech Lorens, 2014 Feb 3)
  895. - Issue 164: freeze on regexp search.
  896. - Ignorecase not handled properly for multibyte characters. (Axel Bender,
  897. 2013 Dec 11)
  898. - Using \@> and \?. (Brett Stahlman, 2013 Dec 21) Remark from Marcin
  899. Szamotulski; Remark from Brett 2014 Jan 6 and 7.
  900. - NFA regexp doesn't handle \%<v correctly. (Ingo Karkat, 2014 May 12)
  901. - Does not work with NFA regexp engine:
  902. \%u, \%x, \%o, \%d followed by a composing character
  903. - Search for \%d0\+ may fail with E363. (Christian Brabandt, 2016 Oct 4)
  904. - \%'[ does not work. '%'] does work. (Masaaki Nakamura, 2016 Apr 4)
  905. - Bug relating to back references. (Ingo Karkat, 2014 Jul 24)
  906. - New RE does not give an error for empty group: "\(\)\{2}" (Dominique Pelle,
  907. 2015 Feb 7)
  908. - Using back reference before the capturing group sometimes works with the old
  909. engine, can we do this with the new engine? E.g. with
  910. "/\%(<\1>\)\@<=.*\%(<\/\(\w\+\)>\)\@=" matching text inside HTML tags.
  911. This problem is probably the same: "\%(^\1.*$\n\)\@<=\(\d\+\).*$".
  912. (guotuofeng, 2015 Jun 22)
  913. - Strange matching with "\(Hello\n\)\@<=A". (Anas Syed, 2015 Feb 12)
  914. - Problem with \v(A)@<=b+\1c. (Issue 334)
  915. - Diff highlighting can be very slow. (Issue 309)
  916. - Using %> for a virtual column has a check based on 'tabsize'. Better would
  917. be to cache the result of win_linetabsize(col), storing both col and vcol,
  918. and use them to decide whether win_linetabsize() needs to be called. Reset
  919. col and vcol when moving to another line.
  920. - this doesn't work: "syntax match ErrorMsg /.\%9l\%>20c\&\%<28c/". Leaving
  921. out the \& works. Seems any column check after \& fails.
  922. - Difference between two engines: ".*\zs\/\@>\/" on text "///"
  923. (Chris Paul, 2016 Nov 13) New engine not greedy enough?
  924. Another one: echom matchstr(" sdfsfsf\n sfdsdfsdf",'[^\n]*')
  925. (2017 May 15, #1252)
  926. Idea from Sven: record sequence of keys. Useful to show others what they are
  927. doing (look over the shoulder), and also to see what happened.
  928. Probably list of keystrokes, with some annotations for mode changes.
  929. Could store in logfile to be able to analyse it with an external command.
  930. E.g. to see when's the last time a plugin command was used.
  931. cmap using execute() has side effects. (Killthemule, 2016 Aug 17, #983)
  932. :map X may print invalid data. (Nikolay Pavlov, 2017 Jul 3, #1816)
  933. Patch to order results from taglist(). (Duncan McDougall, 2016 Oct 25)
  934. ml_get errors when reloading file. (Chris Desjardins, 2016 Apr 19)
  935. Also with latest version.
  936. Completion for input() does not expand environment variables. (chdiza, 2016
  937. Jul 25, #948)
  938. Patch to add 'systemencoding', convert between 'encoding' and this for file
  939. names, shell commands and the like. (Kikuchan, 2010 Oct 14)
  940. Assume the system converts between the actual encoding of the filesystem to
  941. the system encoding (usually utf-8).
  942. MS-Windows: use WS_HIDE instead of SW_SHOWMINNOACTIVE in os_win32.c?
  943. Otherwise task flickers in taskbar.
  944. Second problem in #966: ins_compl_add_tv() uses get_dict_string() multiple
  945. times, overwrites the one buffer. (Nikolay Pavlov, 2016 Aug 5)
  946. Patch to improve map documentation. Issue #799.
  947. We can use '. to go to the last change in the current buffer, but how about
  948. the last change in any buffer? Can we use ', (, is next to .)?
  949. Ramel Eshed: system() is much slower than job_start(), why? (Aug 26)
  950. When generating the Unicode tables with runtime/tools/unicode.vim the
  951. emoji_width table has only one entry.
  952. It's possible to add ",," to 'wildignore', an empty entry. Causes problems.
  953. Reject the value? #710.
  954. When doing "vi buf.md" a BufNew autocommand for *.md is not triggered.
  955. Because of using the initial buffer? (Dun Peal, 2016 May 12)
  956. Neovim patch for utfc_ptr2char_len() https://github.com/neovim/neovim/pull/4574
  957. No test, needs some work to include.
  958. Patch to improve indenting for C++ constructor with initializer list.
  959. (Hirohito Higashi, 2016 Mar 31)
  960. Zero-out krypt key information when no longer in use. (Ben Fritz, 2017 May 15)
  961. Add stronger encryption. Could use libsodium (NaCl).
  962. https://github.com/jedisct1/libsodium/
  963. Possibly include the needed code so that it can be built everywhere.
  964. Add a way to restart a timer. It's similar to timer_stop() and timer_start(),
  965. but the reference remains valid.
  966. Need to try out instructions in INSTALLpc.txt about how to install all
  967. interfaces and how to build Vim with them.
  968. Appveyor build with self-installing executable, includes getting most
  969. interfaces: https://github.com/k-takata/vim/tree/chrisbra-appveyor-build
  970. result: https://ci.appveyor.com/project/k-takata/vim/history
  971. Problem using ":try" inside ":execute". (ZyX, 2013 Sep 15)
  972. Patch to make tests pass with EBCDIC. (Owen Leibman, 2016 Apr 10)
  973. Add ":read :command", to insert the output of an Ex command?
  974. Can already do it with ":$put =execute('command')".
  975. exists(":tearoff") does not tell you if the command is implemented. (Tony
  976. Mechelynck) Perhaps use exists("::tearoff") to check?
  977. Use vim.vim syntax highlighting for help file examples, but without ":" in
  978. 'iskeyword' for syntax.
  979. Installation of .desktop files does not work everywhere.
  980. It's now fixed, but the target directory probably isn't right.
  981. Add configure check?
  982. Should use /usr/local/share/applications or /usr/share/applications.
  983. Or use $XDG_DATA_DIRS.
  984. Also need to run update-desktop-database (Kuriyama Kazunobu, 2015 Nov 4)
  985. Test object i{ and it do not behave the same. #1379
  986. Do not include the linebreak at the start?
  987. Feature request: add the "al" text object, to manipulate a screen line.
  988. Especially useful when using 'linebreak'
  989. ":cd C:\Windows\System32\drivers\etc*" does not work, even though the
  990. directory exists. (Sergio Gallelli, 2013 Dec 29)
  991. Patch to avoid redrawing tabline when the popup menu is visible.
  992. (Christian Brabandt, 2016 Jan 28)
  993. When the CursorMovedI event triggers, and CTRL-X was typed, a script cannot
  994. restore the mode properly. (Andrew Stewart, 2016 Apr 20)
  995. Do not trigger the event?
  996. Patch to make the behavior of "w" more straightforward, but not Vi compatible.
  997. With a 'cpo' flag. (Christian Brabandt, 2016 Feb 8)
  998. Patch to add optionproperties(). (Anton Lindqvist, 2016 Mar 27, update Apr 13)
  999. Patch to add TagNotFound autocommand. (Anton Lindqvist, 2016 Feb 3)
  1000. Patch to add Error autocommand. (Anton Lindqvist, 2016 Feb 17)
  1001. Only remembers one error.
  1002. GVim: when both Tab and CTRL-I are mapped, use CTRL-I not for Tab.
  1003. Unexpected delay when using CTRL-O u. It's not timeoutlen.
  1004. (Gary Johnson, 2015 Aug 28)
  1005. Instead of separately uploading patches to the ftp site, we can get them from
  1006. github with a URL like this:
  1007. https://github.com/vim/vim/compare/v7.4.920%5E...v7.4.920.diff
  1008. Diff for version.c contains more context, can't skip a patch.
  1009. Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
  1010. Comparing nested structures with "==" uses a different comparator than when
  1011. comparing individual items.
  1012. Using uninitialized memory. (Dominique Pelle, 2015 Nov 4)
  1013. MS-Windows: When editing a file with a leading space, writing it uses the
  1014. wrong name. (Aram, 2014 Nov 7) Vim 7.4.
  1015. Can't recognize the $ProgramFiles(x86) environment variable. Recognize it
  1016. specifically? First try with the parens, then without.
  1017. Patch to add :mapgroup, put mappings in a group like augroup.
  1018. (Yasuhiro Matsumoto, 2016 Feb 19)
  1019. Can we cache the syntax attributes, so that updates for 'relativenumber' and
  1020. 'cursorline'/'cursorcolumn' are a lot faster? Thus store the attributes
  1021. before combining them.
  1022. C highlighting: modern C allows: /* comment */ #ifdef
  1023. and also line continuation after #include.
  1024. I can't recommend it though.
  1025. Build with Python on Mac does not always use the right library.
  1026. (Kazunobu Kuriyama, 2015 Mar 28)
  1027. To support Thai (and other languages) word boundaries, include the ICU
  1028. library: http://userguide.icu-project.org/boundaryanalysis
  1029. Patch to use two highlight groups for relative numbers. (Shaun Brady, 2016 Jan
  1030. 30)
  1031. MS-Windows: Crash opening very long file name starting with "\\".
  1032. (Christian Brock, 2012 Jun 29)
  1033. The OptionSet autocommand event is not always triggered. (Rick Howe, 2015 Sep
  1034. 24): :diffthis, :diffoff.
  1035. ":set all&" still does not handle all side effects. Centralize handling side
  1036. effects for when set by the user, on init and when reset to default.
  1037. ":tag" does not jump to the right entry of a :tselect. (James Speros, 2015 Oct
  1038. 9)
  1039. The argument for "-S" is not taken literally, the ":so" command expands
  1040. wildcards. Add a ":nowild" command modifier? (ZyX, 2015 March 4)
  1041. Proposal to make options.txt easier to read. (Arnaud Decara, 2015 Aug 5)
  1042. Update Aug 14.
  1043. When using --remote-tab on MS-Windows 'encoding' hasn't been initialized yet,
  1044. the file name ends up encoded wrong. (Raul Coronado, 2015 Dec 21)
  1045. Example in editing.txt uses $HOME with the expectation that it ends in a
  1046. slash. For me it does, but perhaps not for everybody. Add a function that
  1047. inserts a slash when needed? pathconcat(dir, path) (Thilo Six, 2015 Aug 12)
  1048. ml_updatechunk() is slow when retrying for another encoding. (John Little,
  1049. 2014 Sep 11)
  1050. Patch to fix checking global option value when not using it.
  1051. (Arnaud Decara, 2015 Jul 23)
  1052. When 'showbreak' is set repeating a Visual operation counts the size of the
  1053. 'showbreak' text as part of the operation. (Axel Bender, 2015 Jul 20)
  1054. Patch to add grepfile(). (Scott Prager, 2015 May 26)
  1055. Work in progress.
  1056. Would be useful to have a treemap() or deepmap() function. Like map() but
  1057. when an item is a list or dict would recurse into it.
  1058. Patch for global-local options consistency. (Arnaud Decara, 2015 Jul 22)
  1059. Is this right?
  1060. Patch to make getregtype() return the right size for non-linux systems.
  1061. (Yasuhiro Matsumoto, 2014 Jul 8)
  1062. Breaks test_eval. Inefficient, can we only compute y_width when needed?
  1063. Patch to use different terminal mode settings for system(). (Hayaki Saito)
  1064. Does this work for everybody?
  1065. Patch for man.vim. (SungHyun Nam, 2015 May 20)
  1066. Doesn't work completely (Dominique Orban)
  1067. Patch to add a "literal" argument to bufnr(). (Olaf Dabrunz, 2015 Aug 4)
  1068. Extended file attributes lost on write (backupcopy=no). Issue 306.
  1069. Patch to add :lockjumps. (Carlo Baldassi, 2015 May 25)
  1070. OK to not block marks?
  1071. Patch on Issue 72: 'autochdir' causes problems for :vimgrep.
  1072. When two SIGWINCH arrive very quickly, the second one may be lost.
  1073. (Josh Triplett, 2015 Sep 17)
  1074. Make comments in the test Makefile silent. (Kartik Agaram, 2014 Sep 24)
  1075. Result of systemlist() does not show whether text ended in line break.
  1076. (Bjorn Linse, 2014 Nov 27)
  1077. When in 'comments' "n:x" follows after three-part comment directly it repeats
  1078. any one-character from the previous line. (Kartik Agaram, 2014 Sep 19)
  1079. Adding "~" to 'cdpath' doesn't work for completion? (Davido, 2013 Aug 19)
  1080. Patch: Let rare word highlighting overrule good word highlighting.
  1081. (Jakson A. Aquino, 2010 Jul 30, again 2011 Jul 2)
  1082. Patch to add digits argument to round(). (Yasuhiro Matsumoto, 2015 Apr 26)
  1083. Can assign to s:type when a function s:type has been defined.
  1084. Also the other way around: define a function while a variable with that name
  1085. was already defined.
  1086. (Yasuhiro Matsumoto, 2014 Nov 3)
  1087. Patch for ordered dict. (Ozaki Kiichi, 2015 May 7)
  1088. Patch for building a 32bit Vim with 64bit MingW compiler.
  1089. (Michael Soyka, 2014 Oct 15)
  1090. Patch: On MS-Windows shellescape() may have to triple double quotes.
  1091. (Ingo Karkat, 2015 Jan 16)
  1092. Patch for glob(), adding slash to normal files. (Ingo Karkat, 2014 Dec 22)
  1093. When entering and leaving the preview window autocommands are triggered, but
  1094. these may not work well. Perhaps set a flag to indicate that the preview
  1095. window is involved? (John Otter, 2015 Oct 27)
  1096. Using "." to repeat an Ex command puts that command in history. Probably
  1097. should not happen. If the command is the result of a mapping it's not put in
  1098. history either. (Jacob Niehus, 2014 Nov 2)
  1099. Patch from Jacob, Nov 2.
  1100. "hi link" does not respect groups with GUI settings only. (Mark Lodato, 2014
  1101. Jun 8)
  1102. Bug: Autocompleting ":tag/pat" replaces "/pat" with a match but does not
  1103. insert a space. (Micha Mos, 2014 Nov 7)
  1104. No error for missing endwhile. (ZyX, 2014 Mar 20)
  1105. Patch to make extend() fail early when it might fail at some point.
  1106. (Olaf Dabrunz, 2015 May 2) Makes extend() slower, do we still want it?
  1107. Perhaps only the checks that can be done without looping over the dict or
  1108. arguments.
  1109. Problem with transparent and matchgroup. Issue #475
  1110. Idea: For a window in the middle (has window above and below it), use
  1111. right-mouse-drag on the status line to move a window up/down without changing
  1112. its height? It's like dragging the status bar above it at the same time.
  1113. Patch to add a :domodeline command. (Christian Brabandt, 2014 Oct 21)
  1114. This does not give an error: (Andre Sihera, 2014 Mar 21)
  1115. vim -u NONE 1 2 3 -c 'bufdo if 1 | echo 1'
  1116. This neither: (ZyX)
  1117. vim -u NONE 1 2 3 -c 'bufdo while 1 | echo 1'
  1118. 'viewdir' default on MS-Windows is not a good choice, it's a system directory.
  1119. Change 'viewdir' to "$HOME/vimfiles/view" and use 'viewdiralt' to also read
  1120. from?
  1121. Include a plugin manager with Vim? vim-plug seems to be the best currently:
  1122. https://github.com/junegunn/vim-plug.
  1123. Also Vundle: https://github.com/gmarik/vundle
  1124. Or minpac: https://github.com/k-takata/minpac, since it leverages the builtin
  1125. package feature.
  1126. Long message about this from ZyX, 2014 Mar 23. And following replies.
  1127. Also see http://vim-wiki.mawercer.de/wiki/topic/vim%20plugin%20managment.html
  1128. User view:
  1129. - Support multiple sources, basically any http:// URL. Or a central place that
  1130. will work for everybody (github? redirects from vim.org?).
  1131. Be able to look into the files before deciding to install.
  1132. - Be able to try out a plugin and remove it again with (almost) no traces.
  1133. - Each plugin needs a "manifest" file that has the version, dependencies
  1134. (including Vim version and features), conflicts, list of files, etc.
  1135. Updater uses that to decide what/how to update.
  1136. Dependencies can use a URL for specific versions, or short name for scripts
  1137. on vim.org.
  1138. - Once a plugin is installed it remembers where it came from, updater checks
  1139. there. Can manually update when really needed.
  1140. - Must be possible to install for one user. Also system wide?
  1141. - Can edit plugin config with Vim. Can temporarily disable a plugin.
  1142. - Run the update manually, find latest version and install.
  1143. - Be able to download without special tools, must work for 95% of users.
  1144. Implementation:
  1145. - Avoid the 'runtimepath' getting long. Need some other way to keep each
  1146. plugin separate.
  1147. - When installing or updating, first figure out what needs to be done. This
  1148. may involve recursively fetching manifest files for dependencies. Then show
  1149. the user what's going to change and ask for OK.
  1150. - Scripts on Vim.org must be able to consist of several files. Is zip format
  1151. sufficient? Upload the manifest? Or refer to a site that has the manifest?
  1152. - Best is to fetch individual files or use a Vimball. Reduces dependency on
  1153. tools that might be missing and allows inspection of the files before
  1154. installing.
  1155. Out of scope:
  1156. - Overview of plugins, ratings, comments, etc. That's another world.
  1157. - Development work on plugins (although diff with distributed version would be
  1158. useful).
  1159. When typing the first character of a command, e.g. "f", then using a menu, the
  1160. menu item doesn't work. Clear typeahead when using a menu?
  1161. Editing an ascii file as ucs-2 or ucs-4 causes display errors.
  1162. (ZyX, 2014 Mar 30)
  1163. ":Next 1 some-arg" does not complain about trailing argument. Also for
  1164. various other commands. (ZyX, 2014 Mar 30)
  1165. Patch to skip sort if no line matches the expression.
  1166. (Christian Brabandt, 2014 Jun 25)
  1167. VMS: Select() doesn't work properly, typing ESC may hang Vim. Use sys$qiow
  1168. instead. (Samuel Ferencik, 2013 Sep 28)
  1169. Patch for XDG base directory support. (Jean François Bignolles, 2014 Mar 4)
  1170. Remark on the docs. Should not be a compile time feature. But then what?
  1171. Also see #2034.
  1172. Patch to define macros for hardcoded values. (Elias Diem, 2013 Dec 14)
  1173. Updated spec ftplugin. (Matěj Cepl, 2013 Oct 16)
  1174. Patch to handle integer overflow. (Aaron Burrow, 2013 Dec 12)
  1175. 7 Windows XP: When using "ClearType" for text smoothing, a column of yellow
  1176. pixels remains when typing spaces in front of a "D" ('guifont' set to
  1177. "lucida_console:h8").
  1178. Patch by Thomas Tuegel, also for GTK, 2013 Nov 24
  1179. :help gives example for z?, but it does not work. m? and t? do work.
  1180. Discussion about canonicalization of Hebrew. (Ron Aaron, 2011 April 10)
  1181. Checking runtime scripts: Thilo Six, 2012 Jun 6.
  1182. When evaluating expression in backticks, autoload doesn't work.
  1183. (Andy Wokula, 2013 Dec 14)
  1184. Using <nr>ifoobar<esc> can slow down Vim. Patch by Christian Brabandt, 2013
  1185. Dec 13. Only helps a bit, 10000ii<Esc> is still too slow.
  1186. Javascript file where indent gets stuck on: GalaxyMaster, 2012 May 3.
  1187. The BufUnload event is triggered when re-using the empty buffer.
  1188. (Pokey Rule, 2013 Jul 22)
  1189. Patch by Marcin Szamotulski, 2013 Jul 22.
  1190. Patch to allow more types in remote_expr(). (Lech Lorens, 2014 Jan 5)
  1191. Doesn't work for string in list. Other way to pass all types of variables
  1192. reliably?
  1193. Patch to add {lhs} to :mapclear: clear all maps starting with {lhs}.
  1194. (Christian Brabandt, 2013 Dec 9)
  1195. Exception caused by argument of return is not caught by try/catch.
  1196. (David Barnett, 2013 Nov 19)
  1197. Bug in try/catch: return with invalid compare throws error that isn't caught.
  1198. (ZyX, 2011 Jan 26)
  1199. try/catch not working for argument of return. (Matt Wozniski, 2008 Sep 15)
  1200. try/catch not working when inside a for loop. (ZyX, 2011 Jan 25)
  1201. Patch to fix that 'cedit' is recognized after :normal. (Christian Brabandt,
  1202. 2013 Mar 19, later message)
  1203. Patch to view coverage of the tests. (Nazri Ramliy, 2013 Feb 15)
  1204. Patch to add "Q" and "A" responses to interactive :substitute. They are
  1205. carried over when using :global. (Christian Brabandt, 2013 Jun 19)
  1206. Bug with 'cursorline' in diff mode. Line being scrolled into view gets
  1207. highlighted as the cursor line. (Alessandro Ivaldi, 2013 Jun 4)
  1208. Two highlighting bugs. (ZyX, 2013 Aug 18)
  1209. Patch to support 'u' in interactive substitute. (Christian Brabandt, 2012 Sep
  1210. 28) With tests: Oct 9.
  1211. Dialog is too big on Linux too. (David Fishburn, 2013 Sep 2)
  1212. - Add regex for 'paragraphs' and 'sections': 'parare' and 'sectre'. Combine
  1213. the two into a regex for searching. (Ned Konz)
  1214. Patch by Christian Brabandt, 2013 Apr 20, unfinished.
  1215. Bug: findfile("any", "file:///tmp;") does not work.
  1216. Patch to add getsid(). (Tyru, 2011 Oct 2) Do we want this? Update Oct 4.
  1217. Or use expand('<sid>')?
  1218. Patch to make confirm() display colors. (Christian Brabandt, 2012 Nov 9)
  1219. Problem with refresh:always in completion. (Tyler Wade, 2013 Mar 17)
  1220. b:undo_ftplugin cannot call a script-local function. (Boris Danilov, 2013 Jan
  1221. 7)
  1222. Win32: The Python interface only works with one version of Python, selected at
  1223. compile time. Can this be made to work with version 2.1 and 2.2 dynamically?
  1224. Python: Be able to define a Python function that can be called directly from
  1225. Vim script. Requires converting the arguments and return value, like with
  1226. vim.bindeval().
  1227. Patch for :tabcloseleft, after closing a tab go to left tab. (William Bowers,
  1228. 2012 Aug 4)
  1229. Patch to improve equivalence classes in regexp patterns.
  1230. (Christian Brabandt, 2013 Jan 16, update Jan 17)
  1231. Patch with suggestions for starting.txt. (Tony Mechelynck, 2012 Oct 24)
  1232. But use Gnome instead of GTK?
  1233. Should be possible to enable/disable matchparen per window or buffer.
  1234. Add a check for b:no_match_paren in Highlight_matching_Pair() (Marcin
  1235. Szamotulski, 2012 Nov 8)
  1236. 'iminsert' global value set when using ":setlocal iminsert"? (Wu, 2012 Jun 23)
  1237. Patch to append regexp to tag commands to make it possible to select one out
  1238. of many matches. (Cody Cutler, 2013 Mar 28)
  1239. The input map for CTRL-O in mswin.vim causes problems after CTRL-X CTRL-O.
  1240. Suggestion for another map. (Philip Mat, 2012 Jun 18)
  1241. But use "gi" instead of "a". Or use CTRL-\ CTRL-O.
  1242. When there are no command line arguments ":next" and ":argu" give E163, which
  1243. is confusing. Should say "the argument list is empty".
  1244. URXVT:
  1245. - will get stuck if byte sequence does not contain the expected semicolon.
  1246. - Use urxvt mouse support also in xterm. Explanations:
  1247. http://www.midnight-commander.org/ticket/2662
  1248. Patch to add tests for if_xcmdsrv.c., Jul 8, need some more work. (Brian Burns)
  1249. New tests Jul 13. Update Jul 17. Discussion Jul 18.
  1250. Patch for input method status. (Hirohito Higashi, 2012 Apr 18)
  1251. Update Vim app icon (for Gnome). (Jakub Steiner, 2013 Dec 6)
  1252. Patch to use .png icons for the toolbar on MS-Windows. (Martin Gieseking, 2013
  1253. Apr 18)
  1254. Patch for has('unnamedplus') docs. (Tony Mechelynck, 2011 Sep 27)
  1255. And one for gui_x11.txt.
  1256. ":cd" doesn't work when current directory path contains "**".
  1257. finddir() has the same problem. (Yukihiro Nakadaira, 2012 Jan 10)
  1258. Requires a rewrite of the file_file_in_path code.
  1259. Should use has("browsefilter") in ftplugins. Requires patch 7.3.593.
  1260. Update for vim2html.pl. (Tyru, 2013 Feb 22)
  1261. Patch to sort functions starting with '<' after others. Omit dict functions,
  1262. they can't be called. (Yasuhiro Matsumoto, 2011 Oct 11)
  1263. Patch to pass list to or(), and() and xor(). (Yasuhiro Matsumoto, 2012 Feb 8)
  1264. Patch to improve "it" and "at" text object matching. (Christian Brabandt, 2011
  1265. Nov 20)
  1266. Patch to improve GUI find/replace dialog. (Christian Brabandt, 2012 May 26)
  1267. Update Jun 2.
  1268. `] moves to character after insert, instead of the last inserted character.
  1269. (Yukihiro Nakadaira, 2011 Dec 9)
  1270. Plugin for Modeleasy. (Massimiliano Tripoli, 2011 Nov 29)
  1271. BufWinLeave triggers too late when quitting last window in a tab page. (Lech
  1272. Lorens, 2012 Feb 21)
  1273. Patch for 'transparency' option. (Sergiu Dotenco, 2011 Sep 17)
  1274. Only for MS-Windows. No documentation. Do we want this?
  1275. Patch to support cursor shape in Cygwin console. (Ben bgold, 2011 Dec 27)
  1276. On MS-Windows a temp dir with a & init causes system() to fail. (Ben Fritz,
  1277. 2012 Jun 19)
  1278. 'cursorline' is displayed too short when there are concealed characters and
  1279. 'list' is set. (Dennis Preiser)
  1280. Patch 7.3.116 was the wrong solution.
  1281. Christian Brabandt has another incomplete patch. (2011 Jul 13)
  1282. Win32: Patch to use task dialogs when available. (Sergiu Dotenco, 2011 Sep 17)
  1283. New feature, requires testing. Made some remarks.
  1284. Win32: Patch for alpha-blended icons and toolbar height. (Sergiu Dotenco, 2011
  1285. Sep 17) Asked for feedback from others.
  1286. Win32: Cannot cd into a directory that starts with a space. (Andy Wokula, 2012
  1287. Jan 19)
  1288. Need to escape $HOME on Windows for fnameescape()? (ZyX, 2011 Jul 21,
  1289. discussion 2013 Jul 4) Can't simply use a backslash, \$HOME has a different
  1290. meaning already. Would be possible to use $$HOME where $HOME is to be used.
  1291. "2" in 'formatoptions' not working in comments. (Christian Corneliussen, 2011
  1292. Oct 26)
  1293. Bug in repeating Visual "u". (Lawrence Kesteloot, 2010 Dec 20)
  1294. Windows keys not set properly on Windows 7? (cncyber, 2010 Aug 26)
  1295. When using a Vim server, a # in the path causes an error message.
  1296. (Jeff Lanzarotta, 2011 Feb 17)
  1297. When there is a ">" in a line that "gq" wraps to the start of the next line,
  1298. then the following line will pick it up as a leader. Should get the leader
  1299. from the first line, not a wrapped line. (Matt Ackeret, 2012 Feb 27)
  1300. Using ":break" or something else that stops executing commands inside a
  1301. ":finally" does not rethrow a previously uncaught exception. (ZyX, 2010 Oct
  1302. 15)
  1303. Vim using lots of memory when joining lines. (John Little, 2010 Dec 3)
  1304. BT regexp engine: After trying a \@> match and failing, submatches are not
  1305. cleared. See test64.
  1306. On 64 bit MS-Windows "long" is only 32 bits, but we sometimes need to store a
  1307. 64 bits value. Change all number options to use nropt_T and define it to the
  1308. right type.
  1309. string() can't parse back "inf" and "nan". Fix documentation or fix code?
  1310. (ZyX, 2010 Aug 23)
  1311. When doing "redir => s:foo" in a script and then "redir END" somewhere else
  1312. (e.g. in a function) it can't find s:foo.
  1313. When a script contains "redir => s:foo" but doesn't end redirection, a
  1314. following "redir" command gives an error for not being able to access s:foo.
  1315. (ZyX, 2011 Mar 27)
  1316. When setqflist() uses a filename that triggers a BufReadCmd autocommand Vim
  1317. doesn't jump to the correct line with :cfirst. (ZyX, 2011 Sep 18)
  1318. Behavior of i" and a" text objects isn't logical. (Ben Fritz, 2013 Nov 19)
  1319. When setting a local option value from the global value, add a script ID that
  1320. indicates this, so that ":verbose set" can give a hint. Check with options in
  1321. the help file.
  1322. After patch 7.3.097 still get E15. (Yukihiro Nakadaira, 2011 Jan 18)
  1323. Also for another example (ZyX, 2011 Jan 24)
  1324. "0g@$" puts '] on last byte of multibyte. (ZyX, 2011 Jan 22)
  1325. Patch for :tabrecently. (Hirokazu Yoshida, 2012 Jan 30)
  1326. Problem with "syn sync grouphere". (Gustavo Niemeyer, 2011 Jan 27)
  1327. Loading autoload script even when usage is inside "if 0". (Christian Brabandt,
  1328. 2010 Dec 18)
  1329. With a filler line in diff mode, it isn't displayed in the column with line
  1330. number, but it is in the sign column. Doesn't look right. (ZyX 2011 Jun 5)
  1331. Patch by Christian Brabandt, 2011 Jun 5. Introduces new problems.
  1332. Add jump() function. (Marcin Szamotulski, 2013 Aug 29)
  1333. Is this needed? CTRL-O and CTRL-I do the same, just more difficult to use.
  1334. 8 Add a command to jump to the next character highlighted with "Error".
  1335. Patch by Christian Brabandt, uses ]e [e ]t and [t. 2011 Aug 9.
  1336. Add event for when the text scrolls. A bit like CursorMoved. Also a similar
  1337. one for insert mode. Use the event in matchparen to update the highlight if
  1338. the match scrolls into view.
  1339. 7 Use "++--", "+++--" for different levels instead of "+---" "+----".
  1340. Patch by Christian Brabandt, 2011 Jul 27.
  1341. Update by Ben Fritz, with fix for TOhtml. (2011 Jul 30)
  1342. 9 Add %F to 'errorformat': file name without spaces. Useful on Unix to
  1343. avoid matching something up to a time 11:22:33.
  1344. Patch by Christian Brabandt, 2011 Jul 27.
  1345. Patch to add up to 99 match groups. (Christian Brabandt, 2010 Dec 22)
  1346. Also add named groups: \%{name}(re) and \%{name}g
  1347. In the sandbox it's not allowed to do many things, but it's possible to change
  1348. or set variables. Add a way to prevent variables from being changed in the
  1349. sandbox? E.g.: ":protect g:restore_settings".
  1350. Win32: tear-off menu does not work when menu language is German. (Markus
  1351. Bossler, 2011 Mar 2) Fixed by 7.3.095?
  1352. Wish for NetBeans commands:
  1353. - make it possible to have 'defineAnnoType' also handle terminal colors.
  1354. 7.3.014 changed how backslash at end of line works, but still get a NUL when
  1355. there is one backslash. (Ray Frush, 2010 Nov 18) What does the original ex
  1356. do?
  1357. New esperanto spell file can't be processed. (Dominique Pelle, 2011 Jan 30)
  1358. - move compflags to separate growarray?
  1359. - instead of a regexp use a hashtable. Expand '?', '*', '+'. What would be
  1360. the maximum repeat for * and +?
  1361. "L'Italie" noted as a spell error at start of the sentence. (Dominique Pelle,
  1362. 2011 Feb 27)
  1363. Editing a file with a ^M with 'ff' set to "mac", opening a help file, then the
  1364. ^M is displayed as ^J sometimes. Getting 'ff' value from wrong window/buffer?
  1365. When Vim is put in the background (SIGTSTP) and then gets a SIGHUP it doesn't
  1366. exit. It exists as soon as back in the foreground. (Stephen Liang, 2011 Jan
  1367. 9) Caused by vim_handle_signal(SIGNAL_BLOCK); in ui.c.
  1368. g` not working correctly when using :edit. It works OK when editing a file on
  1369. the command line. (Ingo Karkat, 2011 Jan 25)
  1370. Since patch 7.2.46 Yankring plugin has become very slow, eventually make Vim
  1371. crash? (Raiwil, 2010 Nov 17)
  1372. Regexp engine performance:
  1373. - Profiling:
  1374. ./vim -u NONE -s ~/vim/test/ruby.vim
  1375. ./vim -u NONE -s ~/vim/test/loop.vim
  1376. ./vim -u NONE -s ~/vim/test/alsa.vim
  1377. ./vim -s ~/vim/test/todo.vim
  1378. ./vim -s ~/vim/test/xml.vim
  1379. Dominique Pelle: xmlSyncDT is particularly slow (Jun 7)
  1380. - More test files from the src/pkg/regexp/testdata directory in the Go repo.
  1381. - Performance tests:
  1382. - Using asciidoc syntax. (Marek Schimara, 2013 Jun 6)
  1383. - ~/vim/text/FeiqCfg.xml (file from Netjune)
  1384. - ~/vim/text/edl.svg (also XML)
  1385. - glts has five tests. (May 25)
  1386. - ~/vim/test/slowsearch
  1387. - ~/vim/test/rgb.vim
  1388. - search for a.*e*exn in the vim executable. Go to last line to use
  1389. 'hlsearch'.
  1390. - Slow combination of folding and PHP syntax highlighting. Script to
  1391. reproduce it. Caused by "syntax sync fromstart" in combination with patch
  1392. 7.2.274. (Christian Brabandt, 2010 May 27) Generally, folding with
  1393. 'foldmethod' set to "syntax" is slow. Do profiling to find out why.
  1394. Problem producing tags file when hebrew.frx is present. It has a BOM.
  1395. Results in E670. (Tony Mechelynck, 2010 May 2)
  1396. 'beval' option should be global-local.
  1397. Ruby: ":ruby print $buffer.number" returns zero.
  1398. setpos() does not restore cursor position after :normal. (Tyru, 2010 Aug 11)
  1399. With "tw=55 fo+=a" typing space before ) doesn't work well. (Scott Mcdermott,
  1400. 2010 Oct 24)
  1401. Messages in message.txt are highlighted as examples.
  1402. When using cp850 the NBSP (0xff) is not drawn correctly. (Brett Stahlman, 2010
  1403. Oct 22) 'isprint' is set to "@,161-255".
  1404. ":echo "\x85" =~# '[\u0085]'" returns 1 instead of 0. (ZyX, 2010 Oct 3)
  1405. 'cindent' not correct when 'list' is set. (Zdravi Korusef, 2010 Apr 15)
  1406. C-indenting: A matching { in a comment is ignored, but intermediate { are not
  1407. checked to be in a comment. Implement FM_SKIPCOMM flag of findmatchlimit().
  1408. Issue 46.
  1409. Using CompilerSet doesn't record where an option was set from. E.g., in the
  1410. gcc compiler plugin. (Gary Johnson, 2010 Dec 13)
  1411. ":helpgrep" does not put the cursor in the correct column when preceded by
  1412. accented character. (Tony Mechelynck, 2010 Apr 15)
  1413. Don't call check_restricted() for histadd(), setbufvar(), settabvar(),
  1414. setwinvar().
  1415. Patch for gVimExt to show an icon. (Dominik Riebeling, 2010 Nov 7)
  1416. When 'lines' is 25 and 'scrolloff' is 12, "j" scrolls zero or two lines
  1417. instead of one. (Constantin Pan, 2010 Sep 10)
  1418. Gui menu edit/paste in block mode insert only inserts in one line (Bjorn
  1419. Winckler, 2011 May 11)
  1420. Requires a map mode for Insert mode started from blockwise Visual mode.
  1421. Problem with cursor in the wrong column. (SungHyun Nam, 2010 Mar 11)
  1422. Additional info by Dominique Pelle. (also on 2010 Apr 10)
  1423. CreateFile and CreateFileW are used without sharing, filewritable() fails when
  1424. the file was already open (e.g. script is being sourced). Add FILE_SHARE_READ|
  1425. FILE_SHARE_WRITE in mch_access()? (Philippe Vaucher, 2010 Nov 2)
  1426. Is ~/bin (literally) in $PATH supposed to work? (Paul, 2010 March 29)
  1427. Looks like only bash can do it. (Yakov Lerner)
  1428. Cscope "cs add" stopped working somewhat before 7.2.438. (Gary Johnson, 2010
  1429. Jun 29) Caused by 7.2.433?
  1430. Jumplist doesn't work properly in Insert mode? (Jean Johner, 2010 Mar 20)
  1431. Problem with transparent cmdline. Also: Terminal title is wrong with
  1432. non-ASCII character. (Lily White, 2010 Mar 7)
  1433. iconv() doesn't fail on an illegal character, as documented. (Yongwei Wu, 2009
  1434. Nov 15, example Nov 26) Add argument to specify whether iconv() should fail
  1435. or replace with a character and continue?
  1436. Add local time at start of --startuptime output.
  1437. Requires configure check for localtime().
  1438. Use format year-month-day hr:min:sec.
  1439. Patch to make ":hi link" also take arguments. (Nate Soares, 2012 Dec 4)
  1440. Shell not recognized properly if it ends in "csh -f". (James Vega, 2009 Nov 3)
  1441. Find tail? Might have a / in argument. Find space? Might have space in
  1442. path.
  1443. Test 51 fails when language set to German. (Marco, 2011 Jan 9)
  1444. Dominique can't reproduce it.
  1445. 'ambiwidth' should be global-local.
  1446. ":function f(x) keepjumps" creates a function where every command is executed
  1447. like it has ":keepjumps" before it.
  1448. Coverity: Check if there are new reported defects:
  1449. https://scan.coverity.com/projects/241
  1450. Problem with editing file in binary mode. (Ingo Krabbe, 2009 Oct 8)
  1451. Display error when 'tabline' that includes a file name with double-width
  1452. characters. (2010 Aug 14, bootleq)
  1453. Problem with stop directory in findfile(). (Adam Simpkins, 2009 Aug 26)
  1454. Using ']' as the end of a range in a pattern requires double escaping:
  1455. /[@-\\]] (Andy Wokula, 2011 Jun 28)
  1456. For running gvim on a USB stick: avoid the OLE registration. Use a command
  1457. line argument -noregister.
  1458. When using an expression in 'statusline' leading white space sometimes goes
  1459. missing (but not always). (ZyX, 2010 Nov 1)
  1460. When a mapping exists both for insert mode and lang-insert mode, the last one
  1461. doesn't work. (Tyru, 2010 May 6) Or is this intended?
  1462. Still a problem with ":make" in the wrong directory. Caused by ":bufdo".
  1463. (Ajit Thakkar, 2009 Jul 1) More information Jul 9, Jul 15.
  1464. Caused by "doautoall syntaxset BufEnter *" in syntax/nosyntax.vim ?
  1465. There also is a BufLeave/BufEnter aucmd to save/restore view.
  1466. Does the patch to save/restore globaldir work?
  1467. ":bufdo normal gg" while 'hidden' is set leaves buffers without syntax
  1468. highlighting. Don't disable Syntax autocommands then? Or add a flag/modifier
  1469. to avoid changing 'eventignore'?
  1470. Patch for displaying 0x200c and 0x200d. (Ali Gholami Rudi, 2009 May 6)
  1471. Probably needs a bit of work.
  1472. List of encoding aliases. (Takao Fujiwara, 2009 Jul 18)
  1473. Are they all OK? Update Jul 22.
  1474. Win32: Improved Makefile for MSVC. (Leonardo Valeri Manera, 2010 Aug 18)
  1475. Win32: Expanding 'path' runs into a maximum size limit. (bgold12, 2009 Nov 15)
  1476. Win32: Patch for using .png files for icons. (Charles Peacech, 2012 Feb 5)
  1477. Putting a Visual block while 'visualedit' is "all" does not leave the cursor
  1478. on the first character. (John Beckett, 2010 Aug 7)
  1479. Setting 'tags' to "tagsdir/*" does not find "tagsdir/tags". (Steven K. Wong,
  1480. 2009 Jul 18)
  1481. Patch to add "focusonly" to 'scrollopt', so that scrollbind also applies in
  1482. window that doesn't have focus. (Jonathon Mah, 2009 Jan 12)
  1483. Needs more work.
  1484. Problem with <script> mappings (Andy Wokula, 2009 Mar 8)
  1485. When starting Vim with "gvim -f -u non_existent_file > foo.txt" there are a
  1486. few control characters in the output. (Dale Wiles, 2009 May 28)
  1487. 'cmdwinheight' is only used in last window when 'winheight' is a large value.
  1488. (Tony Mechelynck, 2009 Apr 15)
  1489. Status line containing winnr() isn't updated when splitting the window (Clark
  1490. J. Wang, 2009 Mar 31)
  1491. When $VIMRUNTIME is set in .vimrc, need to reload lang files. Already done
  1492. for GTK, how about others? (Ron Aaron, 2010 Apr 10)
  1493. ":tab split fname" doesn't set the alternate file in the original window,
  1494. because win_valid() always returns FALSE. Below win_new_tabpage() in
  1495. ex_docmd.c.
  1496. Space before comma in function definition not allowed: "function x(a , b)"
  1497. Give a more appropriate error message. Add a remark to the docs.
  1498. string_convert() should be able to convert between utf-8 and utf-16le. Used
  1499. for GTK clipboard. Avoid requirement for iconv.
  1500. Now that colnr_T is int instead of unsigned, more type casts can be removed.
  1501. Don't load macmap.vim on startup, turn it into a plugin. (Ron Aaron,
  1502. 2009 Apr 7) Reminder Apr 14.
  1503. Add "no_hlsearch" to winsaveview().
  1504. Bug: When reloading a buffer changed outside of Vim, BufRead autocommands
  1505. are applied to the wrong buffer/window. (Ben Fritz, 2009 Apr 2, May 11)
  1506. Ignore window options when not in the right window?
  1507. Perhaps we need to use a hidden window for applying autocommands to a buffer
  1508. that doesn't have a window.
  1509. When using "ab foo bar" and mapping <Tab> to <Esc>, pressing <Tab> after foo
  1510. doesn't trigger the abbreviation like <Esc> would. (Ramana Kumar, 2009 Sep 6)
  1511. getbufvar() to get a window-local option value for a buffer that's not
  1512. displayed in a window should return the value that's stored for that buffer.
  1513. ":he ctrl_u" can be auto-corrected to ":he ctrl-u".
  1514. Diff mode out of sync. (Gary Johnson, 2010 Aug 4)
  1515. Win32: completion of file name ":e c:\!test" results in ":e c:\\!test", which
  1516. does not work. (Nieko Maatjes, 2009 Jan 8, Ingo Karkat, 2009 Jan 22)
  1517. opening/closing window causes other window with 'winfixheight' to change
  1518. height. Also happens when there is another window in the frame, if it's not
  1519. very high. (Yegappan Lakshmanan, 2010 Jul 22, Michael Peeters, 2010 Jul 22)
  1520. Using ~ works OK on 'a' with composing char, but not on 0x0418 with composing
  1521. char 0x0301. (Tony Mechelynck, 2009 Mar 4)
  1522. This does not work yet: "a\(%C\)" (get composing characters into a submatch).
  1523. Inconsistent: starting with $LANG set to es_ES.utf-8 gives Spanish
  1524. messages, even though locale is not supported. But ":lang messages
  1525. es_ES.utf-8" gives an error and doesn't switch messages. (Dominique Pelle,
  1526. 2009 Jan 26)
  1527. When $HOME contains special characters, such as a comma, escape them when used
  1528. in an option. (Michael Hordijk, 2009 May 5)
  1529. Turn "esc" argument of expand_env_esc() into string of chars to be escaped.
  1530. Should make 'ignorecase' global-local, so that it makes sense setting it from
  1531. a modeline.
  1532. Add cscope target to Makefile. (Tony Mechelynck, 2009 Jun 18, replies by
  1533. Sergey Khorev)
  1534. Completion for ":buf" doesn't work properly on Win32 when 'shellslash' is off.
  1535. (Henrik Ohman, 2009, Jan 29)
  1536. shellescape() depends on 'shellslash' for quoting. That doesn't work when
  1537. 'shellslash' is set but using cmd.exe. (Ben Fritz)
  1538. Use a different option or let it depend on whether 'shell' looks like a
  1539. unix-like shell?
  1540. Bug: in Ex mode (after "Q") backslash before line break, when yanked into a
  1541. register and executed, results in <Nul>: instead of line break.
  1542. (Konrad Schwarz, 2010 Apr 16)
  1543. Have a look at patch for utf-8 line breaking. (Yongwei Wu, 2008 Mar 1, Mar 23)
  1544. Now at: http://vimgadgets.sourceforge.net/liblinebreak/
  1545. Greek sigma character should be lower cased depending on the context. Can we
  1546. make this work? (Dominique Pelle, 2009 Sep 24)
  1547. When changing 'encoding' convert all the swap file names, so that we can
  1548. still delete them. Also convert all buffer file names?
  1549. "gqip" in Insert mode has an off-by-one error, causing it to reflow text.
  1550. (Raul Coronado, 2009 Nov 2)
  1551. MS-Windows: editing the first, empty buffer, 'ffs' set to "unix,dos", ":enew"
  1552. doesn't set 'ff' to "unix". (Ben Fritz, 2008 Dec 5) Reusing the old buffer
  1553. probably causes this.
  1554. 'scrollbind' is not respected when deleting lines or undo. (Milan Vancura,
  1555. 2009 Jan 16)
  1556. Having "Syntax" in 'eventignore' for :bufdo may cause problems, e.g. for
  1557. ":bufdo e" when buffers are open in windows. ex_listdo(eap) could set the
  1558. option only for when jumping to another buffer, not when the command argument
  1559. is executed.
  1560. ":pedit %" with a BufReadPre autocommand causes the cursor to move to the
  1561. first line. (Ingo Karkat, 2008 Jul 1) Ian Kelling is working on this.
  1562. Similar problem with ":e". (Marc Montu, 2014 Apr 22)
  1563. Cursor line moves in other window when using CTRL-W J that doesn't change
  1564. anything. (Dasn, 2009 Apr 7)
  1565. On Unix "glob('does not exist~')" returns the string. Without the "~" it
  1566. doesn't. (John Little, 2008 Nov 9)
  1567. Shell expansion returns unexpanded string?
  1568. Don't use shell when "~" is not at the start?
  1569. When using ":e ++enc=foo file" and the file is already loaded with
  1570. 'fileencoding' set to "bar", then do_ecmd() uses that buffer, even though the
  1571. fileencoding differs. Reload the buffer in this situation? Need to check for
  1572. the buffer to be unmodified.
  1573. Unfinished patch by Ian Kelling, 2008 Jul 11. Followup Jul 14, need to have
  1574. another look at it.
  1575. c.vim: XXX in a comment is colored yellow, but not when it's after "#if 0".
  1576. (Ilya Dogolazky, 2009 Aug 7)
  1577. You can type ":w ++bad=x fname", but the ++bad argument is ignored. Give an
  1578. error message? Or is this easy to implement? (Nathan Stratton Treadway, 2008
  1579. Aug 20) This is in ucs2bytes(), search for 0xBF. Using the ++bad argument is
  1580. at the other match for 0xBF.
  1581. When adding "-complete=file" to a user command this also changes how the
  1582. argument is processed for <f-args>. (Ivan Tishchenko, 2008 Aug 19)
  1583. Win32: associating a type with Vim doesn't take care of space after a
  1584. backslash? (Robert Vibrant, 2008 Jun 5)
  1585. When 'rightleft' is set, cursorcolumn isn't highlighted after the end of a
  1586. line. It's also wrong in folds. (Dominique Pelle, 2010 Aug 21)
  1587. ":help s/~" jumps to *s/\~*, while ":help s/\~" doesn't find anything. (Tim
  1588. Chase) Fix by Ian Kelling, 2008 Jul 14.
  1589. When mapping : to ; and ; to :, @; doesn't work like @: and @: doesn't work
  1590. either. Matt Wozniski: nv_at() calls do_execreg() which uses
  1591. put_in_typebuf(). Char mapped twice?
  1592. Despite adding save_subexpr() this still doesn't work properly:
  1593. Regexp: matchlist('12a4aaa', '^\(.\{-}\)\(\%5c\@<=a\+\)\(.\+\)\?')
  1594. Returns ['12a4', 'aaa', '4aaa'], should be ['12a4', 'aaa', '']
  1595. Backreference not cleared when retrying after \@<= fails?
  1596. (Brett Stahlman, 2008 March 8)
  1597. Problem with remote_send(). (Charles Campbell, 2008 Aug 12)
  1598. ftplugin for help file should set 'isk' to help file value.
  1599. Win32: remote editing fails when the current directory name contains "[".
  1600. (Ivan Tishchenko, Liu Yubao) Suggested patch by Chris Lubinski: Avoid
  1601. escaping characters where the backslash is not removed later. Asked Chris for
  1602. an alternate solution, also for src/ex_getln.c.
  1603. This also fails when the file or directory name contains "%". (Thoml, 2008
  1604. July 7)
  1605. Using --remote-silent while the current directory has a # in the name does not
  1606. work, the # needs to be escaped. (Tramblay Bruno, 2012 Sep 15)
  1607. When using remote-silent the -R flag is not passed on. (Axel Bender, 2012 May
  1608. 31)
  1609. Win32: A --remote command that has a directory name starting with a ( doesn't
  1610. work, the backslash is removed, assuming that it escapes the (. (Valery
  1611. Kondakoff, 2009 May 13)
  1612. Win32: Using "gvim --remote-tab-silent elŝuti.txt" doesn't work, the
  1613. multibyte character isn't passed and edits elsuti.txt.
  1614. (Raúl Núñez de Arenas Coronado, 2015 Dec 18)
  1615. Problem with CTRL-F. (Charles Campbell, 2008 March 21)
  1616. Only happens with "gvim -geometry "160x26+4+27" -u NONE -U NONE prop.c".
  1617. 'lines' is 54. (2008 March 27)
  1618. Problem with pointer wrapping around in getvcol(). (Wolfgang Kroworsch, 2008
  1619. Oct 19) Check for "col" being "MAXCOL" separately?
  1620. Unexpectedly inserting a double quote. (Anton Woellert, 2008 Mar 23)
  1621. Works OK when 'cmdheight' is 2.
  1622. 8 Use a mechanism similar to omni completion to figure out the kind of tab
  1623. for CTRL-] and jump to the appropriate matching tag (if there are
  1624. several).
  1625. The utf class table is missing some entries:
  1626. 0x2212, minus sign
  1627. 0x2217, star
  1628. 0x2500, bar
  1629. 0x26ab, circle
  1630. Visual line mode doesn't highlight properly when 'showbreak' is used and the
  1631. line doesn't fit. (Dasn, 2008 May 1)
  1632. GUI: In Normal mode can't yank the modeless selection. Make "gy" do this?
  1633. Works like CTRL-Y in Command line mode.
  1634. C't: On utf-8 system, editing file with umlaut through Gnome results in URL
  1635. with %nn%nn, which is taken as two characters instead of one.
  1636. Try to reproduce at work.
  1637. Patch for default choice in file changed dialog. (Bjorn Winckler, 2008 Oct 19)
  1638. Is there a way to list all the files first?
  1639. Fail to edit file after failed register access. Error flag remains set?
  1640. (Lech Lorens, 2010 Aug 30)
  1641. Problem with 'ts' set to 9 and 'showbreak' to ">>>". (Matthew Winn, 2007 Oct
  1642. 1)
  1643. ":tab help" always opens a new tab, while ":help" re-uses an existing window.
  1644. Would be more consistent when an existing tab is re-used. (Tony Mechelynck)
  1645. Using Aap to build Vim: add remarks about how to set personal preferences.
  1646. Example on http://www.calmar.ws/tmp/aap.html
  1647. When 'diffopt' has "context:0" a single deleted line causes two folds to merge
  1648. and mess up syncing. (Austin Jennings, 2008 Jan 31)
  1649. Gnome improvements: Edward Catmur, 2007 Jan 7
  1650. Also use Save/Discard for other GUIs
  1651. New PHP syntax file, use it? (Peter Hodge)
  1652. ":echoe" in catch block stops processing, while this doesn't happen outside of
  1653. a catch block. (ZyX, 2011 Jun 2)
  1654. Test 54 uses shell commands, that doesn't work on non-Unix systems. Use some
  1655. other way to test buffer-local autocommands.
  1656. The documentation mentions the priority for ":2match" and ":3match", but it
  1657. appears the last one wins. (John Beckett, 2008 Jul 22) Caused by adding
  1658. matchadd()? Suggested patch by John, 2008 Jul 24.
  1659. When 'encoding' is utf-8 the command line is redrawn as a whole on every
  1660. character typed. (Tyler Spivey, 2008 Sep 3) Only redraw cmdline for
  1661. 'arabicshape' when there is a character on the command line for which
  1662. (ARABIC_CHAR(u8c)) is TRUE.
  1663. Cheng Fang made javacomplete. (2007 Aug 11)
  1664. Asked about latest version: 0.77.1 is on www.vim.org.
  1665. More AmigaOS4 patches. (Peter Bengtsson, Nov 9)
  1666. Amiga patches with vbcc. (Adrien Destugues, 2010 Aug 30)
  1667. http://pulkomandy.ath.cx/drop/vim73_vbcc_amiga.diff
  1668. Problem with compound words? (Bert, 2008 May 6)
  1669. No warning for when flags are defined after they are used in an affix.
  1670. Screen redrawing when continuously updating the buffer and resizing the
  1671. terminal. (Yakov Lerner, 2006 Sept 7)
  1672. Add option settings to help ftplugin. (David Eggum, 2006 Dec 18)
  1673. Autoconf problem: when checking for iconv library we may add -L/usr/local/lib,
  1674. but when compiling further tests -liconv is added without the -L argument,
  1675. that may fail (e.g., sizeof(int)). (Blaine, 2007 Aug 21)
  1676. Problem with ".add" files when using two languages and restarting Vim. (Raul
  1677. Coronado, 2008 Oct 30)
  1678. Popup menu redraw: Instead of first redrawing the text and then drawing the
  1679. popup menu over it, first draw the new popup menu, remember its position and
  1680. size and then redraw the text, skipping the characters under the popup menu.
  1681. This should avoid flicker. Other solution by A.Politz, 2007 Aug 22.
  1682. When the file name has parenthesis, e.g., "foo (bar).txt", ":!ls '%'" has the
  1683. parenthesis escaped but not the space. That's inconsistent. Either escape
  1684. neither or both. No escaping might be best, because it doesn't depend on
  1685. particularities of the shell. (Zvi Har'El, 2007 Nov 10) (Teemu Likonen, 2008
  1686. Jun 3)
  1687. However, for backwards compatibility escaping might be necessary. Check if
  1688. the user put quotes around the expanded item?
  1689. A throw in a function causes missing an endif below the call. (Spiros
  1690. Bousbouras, 2011 May 16)
  1691. Error E324 can be given when a cron script has wiped out our temp directory.
  1692. Give a clear error message about this (and tell them not to wipe out /tmp).
  1693. Color for cUserLabel should differ from case label, so that a mistake in a
  1694. switch list is noticed:
  1695. switch (i)
  1696. {
  1697. case 1:
  1698. foobar:
  1699. }
  1700. Look at http://www.gtk-server.org/ . It has a Vim script implementation.
  1701. Netbeans problem. Use "nc -l 127.0.0.1 55555" for the server, then run gvim
  1702. with "gvim -nb:localhost:55555:foo". From nc do: '1:editFile!0 "foo"'. Then
  1703. go to Insert mode and add a few lines. Then backspacing every other time
  1704. moves the cursor instead of deleting. (Chris Kaiser, 2007 Sep 25)
  1705. Windows installer could add a "open in new tab of existing Vim" menu entry.
  1706. GvimExt: patch to add "Edit with single Vim &tabbed" menu entry.
  1707. Just have two choices, always using one Vim and selecting between using an
  1708. argument list or opening each file in a separate tab.
  1709. (Erik Falor, 2008 May 21, 2008 Jun 26)
  1710. Windows installer: licence text should not use indent, causes bad word wrap.
  1711. (Benjamin Fritz, 2010 Aug 16)
  1712. Changes for Win32 makefile. (Mike Williams, 2007 Jan 22, Alexei Alexandrov,
  1713. 2007 Feb 8)
  1714. Win32: Can't complete shell command names. Why is setting xp_context in
  1715. set_one_cmd_context() inside #ifndef BACKSLASH_IN_FILENAME?
  1716. Win32: Patch for cscope external command. (Mike Williams, 2007 Aug 7)
  1717. Win32: XPM support only works with path without spaces. Patch by Mathias
  1718. Michaelis, 2006 Jun 9. Another patch for more path names, 2006 May 31.
  1719. New version: http://members.tcnet.ch/michaelis/vim/patches.zip (also for other
  1720. patches by Mathias, see mail Feb 22)
  1721. Win32: compiling with normal features and OLE fails. Patch by Mathias
  1722. Michaelis, 2006 Jun 4.
  1723. Win32: using CTRL-S in Insert mode doesn't remove the "+" from the tab pages
  1724. label. (Tsakiridis, 2007 Feb 18) Patch from Ian Kelling, 2008 Aug 6.
  1725. Win32: using "gvim --remote-tab-silent fname" sometimes gives an empty screen
  1726. with the more prompt. Caused by setting the guitablabel? (Thomas Michael
  1727. Engelke, 2007 Dec 20 - 2008 Jan 17)
  1728. Win32: patch for fullscreen mode. (Liushaolin, 2008 April 17)
  1729. Win32: When 'shell' is bash shellescape() doesn't always do the right thing.
  1730. Depends on 'shellslash', 'shellquote' and 'shellxquote', but shellescape()
  1731. only takes 'shellslash' into account.
  1732. Menu item that does "xxd -r" doesn't work when 'fileencoding' is utf-16.
  1733. Check for this and use iconv? (Edward L. Fox, 2007 Sep 12)
  1734. Does the conversion in the other direction work when 'fileencodings' is set
  1735. properly?
  1736. Cursor displayed in the wrong position when using 'numberwidth'. (James Vega,
  1737. 2007 Jun 21)
  1738. When $VAR contains a backslash expand('$VAR') removes it. (Teemu Likonen, 2008
  1739. Jun 18)
  1740. C++ indenting wrong with "=". (James Kanze, 2007 Jan 26)
  1741. ":lockvar" should use copyID to avoid endless loop.
  1742. When using --remote-silent and the file name matches 'wildignore' get an E479
  1743. error. without --remote-silent it works fine. (Ben Fritz, 2008 Jun 20)
  1744. GVim: dialog for closing Vim should check if Vim is busy writing a file. Then
  1745. use a different dialog: "busy saving, really quit? yes / no".
  1746. Check other interfaces for changing curbuf in a wrong way. Patch like for
  1747. if_ruby.c.
  1748. ":helpgrep" should use the directory from 'helpfile'.
  1749. The need_fileinfo flag is messy. Instead make the message right away and put
  1750. it in keep_msg?
  1751. Editing a file remotely that matches 'wildignore' results in a "no match"
  1752. error. Should only happen when there are wildcards, not when giving the file
  1753. name literally, and esp. if there is only one name.
  1754. Test 61 fails sometimes. This is a timing problem: "sleep 2" sometimes takes
  1755. longer than 2 seconds.
  1756. Using ":au CursorMoved * cmd" invokes mch_FullName(), which can be slow.
  1757. Can this be avoided? (Thomas Waba, 2008 Aug 24)
  1758. Also for ":w" without a file name.
  1759. The buffer has the full path in ffname, should pass this to the autocommand.
  1760. "vim -C" often has 'nocompatible', because it's set in some startup script.
  1761. Set 'compatible' after startup is done? Patch by James Vega, 2008 Feb 7.
  1762. VMS: while editing a file found in complex, Vim will save file into the first
  1763. directory of the path and not to the original location of the file.
  1764. (Zoltan Arpadffy)
  1765. VMS: VFC files are in some cases truncated during reading (Zoltan Arpadffy)
  1766. input() completion should not insert a backslash to escape a space in a file
  1767. name?
  1768. Ruby completion is insecure. Can this be fixed?
  1769. When 'backupskip' is set from $TEMP special characters need to be escaped.
  1770. (patch by Grembowietz, 2007 Feb 26, not quite right)
  1771. Another problem is that file_pat_to_reg_pat() doesn't recognize "\\", so "\\("
  1772. will be seen as a path separator plus "\(".
  1773. gvim d:\path\path\(FILE).xml should not remove the \ before the (.
  1774. This also fails with --remote.
  1775. When doing ":quit" the Netbeans "killed" event isn't sent. (Xavier de Gaye,
  1776. 2008 Nov 10) call netbeans_file_closed() at the end of buf_freeall(), or in
  1777. all places where buf_freeall() is called?
  1778. aucmd_prepbuf() should also use a window in another tab page.
  1779. When unloading a buffer in a BufHidden autocommand the hidden flag is reset?
  1780. (Bob Hiestand, 2008 Aug 26, Aug 27)
  1781. Substituting an area with a line break with almost the same area does change
  1782. the Visual area. Can this be fixed? (James Vega, 2006 Sept 15)
  1783. GUI: When combining fg en bg make sure they are not equal.
  1784. Use different pt_br dictionary for spell checking. (Jackson A. Aquino, 2006
  1785. Jun 5)
  1786. Use different romanian dictionary for spell checking. (Andrei Popescu, Nov
  1787. 2008) Use http://downloads.sourceforge.net/rospell/ro_RO.3.2.zip
  1788. Or the hunspell-ro.3.2.tar.gz file, it also has a iso-8859-2 list.
  1789. In a C file with spell checking, in "% integer" "nteger" is seen as an error,
  1790. but "]s" doesn't find it. "nteger" by itself is found. (Ralf Wildenhues, 2008
  1791. Jul 22)
  1792. There should be something about spell checking in the user manual.
  1793. Add an option to specify the character to use when a double-width character is
  1794. moved to the next line. Default '>', set to a space to blank it out. Check
  1795. that char is single width when it's set (compare with 'listchars').
  1796. The generated vim.bat can avoid the loop for NT. (Carl Zmola, 2006 Sep 3)
  1797. When showing a diff between a non-existent file and an existing one, with the
  1798. cursor in the empty buffer, the other buffer only shows the last line. Change
  1799. the "insert" into a change from one line to many? (Yakov Lerner, 2008 May 27)
  1800. These two abbreviations don't give the same result:
  1801. let asdfasdf = "xyz\<Left>"
  1802. cabbr XXX <C-R>=asdfasdf<CR>
  1803. cabbr YYY xyz<Left>
  1804. Michael Dietrich: maximized gvim sometimes displays output of external command
  1805. partly. (2006 Dec 7)
  1806. In FileChangedShell command it's no longer allowed to switch to another
  1807. buffer. But the changed buffer may differ from the current buffer, how to
  1808. reload it then?
  1809. For Aap: include a config.arg.example file with hints how to use config.arg.
  1810. Default for 'background' is wrong when using xterm with 256 colors.
  1811. Table with estimates from Matteo Cavalleri, 2014 Jan 10.
  1812. Setting 'background' resets the Normal background color:
  1813. highlight Normal ctermbg=DarkGray
  1814. set background=dark
  1815. This is undesired, 'background' is supposed to tell Vim what the background
  1816. color is, not reset it.
  1817. Completion menu: For a wrapping line, completing a long file name, only the
  1818. start of the path is shown in the menu. Should move the menu to the right to
  1819. show more text of the completions. Shorten the items that don't fit in the
  1820. middle?
  1821. Accessing file#var in a function should not need the g: prepended.
  1822. When exiting detects a modified buffer, instead of opening the buffer in the
  1823. current tab, use an existing tab, if possible. Like finding a window where
  1824. the buffer is displayed. (Antonios Tsakiridis)
  1825. When ":cn" moves to an error in the same line the message isn't shortened.
  1826. Only skip shortening for ":cc"?
  1827. Problem with ":call" and dictionary function. Hari Krishna Dara, Charles
  1828. Campbell 2006 Jul 06.
  1829. A custom completion function in a ":command" cannot be a Funcref. (Andy
  1830. Wokula, 2007 Aug 25)
  1831. Problem with using :redir in user command completion function? (Hari Krishna
  1832. Dara, 2006 June 21)
  1833. Another resizing problem when setting 'columns' and 'lines' to a very large
  1834. number. (Tony Mechelynck, 2007 Feb 6)
  1835. After starting Vim, using '0 to jump somewhere in a file, ":sp" doesn't center
  1836. the cursor line. It works OK after some other commands.
  1837. Win32: Is it possible to have both postscript and Win32 printing?
  1838. Problem with 'cdpath' on MS-Windows when a directory is equal to $HOME. (2006
  1839. Jul 26, Gary Johnson)
  1840. Using UTF-8 character with ":command" does not work properly. (Matt Wozniski,
  1841. 2008 Sep 29)
  1842. In the Netbeans interface add a "vimeval" function, so that the other side can
  1843. check the result of has("patch13").
  1844. Cursor line at bottom of window instead of halfway after saving view and
  1845. restoring. Only with 'nowrap'. (Robert Webb, 2008 Aug 25)
  1846. Netrw has trouble executing autocommands only for a directory. Add <isdir>
  1847. and <notisdir> to autocommand patterns? Also <isfile>?
  1848. Add command modifier that skips wildcard expansion, so that you don't need to
  1849. put backslashes before special chars, only for white space.
  1850. In mswin.vim: Instead of mapping <C-V> for Insert mode in a complicated way,
  1851. can it be done like ":imap <C-V> <MiddleMouse>" without negative side effects?
  1852. When right after "vim file", "M" then CTRL-W v the windows are scrolled
  1853. differently and unexpectedly. Caused by patch 7.2.398?
  1854. The magic clipboard format "VimClipboard2" appears in several places. Should
  1855. be only one.
  1856. Win32, NTFS: When editing a specific infostream directly and 'backupcopy' is
  1857. "auto" should detect this situation and work like 'backupcopy' is "yes". File
  1858. name is something like "c:\path\foo.txt:bar", includes a colon. (Alex
  1859. Jakushev, 2008 Feb 1)
  1860. Small problem displaying diff filler line when opening windows with a script.
  1861. (David Luyer, 2007 Mar 1 ~/Mail/oldmail/mool/in.15872 )
  1862. Is it allowed that 'backupext' is empty? Problems when backup is in same dir
  1863. as original file? If it's OK don't compare with 'patchmode'. (Thierry Closen)
  1864. Patch for adding ":lscscope". (Navdeep Parhar, 2007 Apr 26; update 2008 Apr
  1865. 23)
  1866. ":mkview" isn't called with the right buffer argument. Happens when using
  1867. tabs and the autocommand "autocmd BufWinLeave * mkview". (James Vega, 2007
  1868. Jun 18)
  1869. When completing from another file that uses a different encoding completion
  1870. text has the wrong encoding. E.g., when 'encoding' is utf-8 and file is
  1871. latin1. Example from Gombault Damien, 2007 Mar 24.
  1872. In gvim the backspace key produces a backspace character, but on Linux the
  1873. VERASE key is Delete. Set VERASE to Backspace? (patch by Stephane Chazelas,
  1874. 2007 Oct 16)
  1875. TermResponse autocommand isn't always triggered when using vimdiff. (Aron
  1876. Griffis, 2007 Sep 19)
  1877. Create a gvimtutor.1 file and change Makefiles to install it.
  1878. When 'encoding' is utf-8 typing text at the end of the line causes previously
  1879. typed characters to be redrawn. Caused by patch 7.1.329. (Tyler Spivey, 2008
  1880. Sep 3, 11)
  1881. ":vimgrep" does not recognize a recursive symlink. Is it possible to detect
  1882. this, at least for Unix (using device/inode)?
  1883. When switching between windows the cursor is often put in the middle.
  1884. Remember the relative position and restore that, just like lnum and col are
  1885. restored. (Luc St-Louis)
  1886. Add an option for a minimal text length before inserting a line break for
  1887. 'textwidth'. Avoids very short lines when a very long word follows.
  1888. (Kartik Agaram)
  1889. Better plugin support (not plugin manager, see elsewhere for that):
  1890. - Avoid use of feedkeys, add eval functions where needed:
  1891. - manipulating the Visual selection?
  1892. - Add createmark(): add a mark like mM, but return a unique ID. Need some way
  1893. to clean them up again... Use a name + the script ID.
  1894. Add createmark( , 'c') to track inserts/deletes before the column.
  1895. - Plugins need to make a lot of effort, lots of mappings, to know what
  1896. happened before pressing the key that triggers a plugin action. How about
  1897. keeping the last N pressed keys, so that they do not need to be mapped?
  1898. - equivalent of netbeans_beval_cb(). With an autocommand?
  1899. - Add something to enable debugging when a remote message is received.
  1900. More patches:
  1901. - Another patch for Javascript indenting. (Hari Kumar, 2010 Jul 11)
  1902. Needs a few tests.
  1903. - Add 'cscopeignorecase' option. (Liang Wenzhi, 2006 Sept 3)
  1904. - Extra argument to strtrans() to translate special keys to their name (Eric
  1905. Arnold, 2006 May 22)
  1906. - Mac: indicate whether a buffer was modified. (Nicolas Weber, 2006 Jun 30)
  1907. - Allow negative 'nrwidth' for left aligning. (Nathan Laredo, 2006 Aug 16)
  1908. - ml_append_string(): efficiently append to an existing line. (Brad
  1909. Beveridge, 2006 Aug 26) Use in some situations, e.g., when pasting a
  1910. character at a time?
  1911. - recognize hex numbers better. (Mark Manning, 2006 Sep 13)
  1912. - Add <AbbrExpand> key, to expand an abbreviation in a mapping. (Kana
  1913. Natsuno, 2008 Jul 17)
  1914. - Add 'wspara' option, also accept blank lines like empty lines for "{" and
  1915. "}". (Mark Lundquist, 2008 Jul 18)
  1916. - Patch to add CTRL-T to delete part of a path on cmdline. (Adek, 2008 Jul
  1917. 21)
  1918. - Instead of creating a copy of the tutor in all the shell scripts, do it in
  1919. vimtutor.vim. (Jan Minar, 2008 Jul 20)
  1920. - When fsync() fails there is no hint about what went wrong. Patch by Ben
  1921. Schmidt, 2008 Jul 22.
  1922. - testdir/Make_dos_sh.mak for running tests with MingW. (Bill McCarthy, 2008
  1923. Sep 13)
  1924. - Replace ccomplete.vim by cppcomplete.vim from www.vim.org? script 1520 by
  1925. Vissale Neang. (Martin Stubenschrott) Asked Vissale to make the scripts
  1926. more friendly for the Vim distribution.
  1927. New version received 2008 Jan 6.
  1928. No maintenance in two years...
  1929. - Patch to open dropped files in new tabs. (Michael Trim, 2010 Aug 3)
  1930. Awaiting updated patches:
  1931. 9 Mac unicode patch (Da Woon Jung, Eckehard Berns):
  1932. 8 Add patch from Muraoka Taro (Mar 16) to support input method on Mac?
  1933. New patch 2004 Jun 16
  1934. - selecting proportional font breaks display
  1935. - UTF-8 text causes display problems. Font replacement causes this.
  1936. - Command-key mappings do not work. (Alan Schmitt)
  1937. - With 'nopaste' pasting is wrong, with 'paste' Command-V doesn't work.
  1938. (Alan Schmitt)
  1939. - remove 'macatsui' option when this has been fixed.
  1940. - when 'macatsui' is off should we always convert to "macroman" and ignore
  1941. 'termencoding'?
  1942. 9 HTML indenting can be slow. Caused by using searchpair(). Can search()
  1943. be used instead? A.Politz is looking into a solution.
  1944. 8 Win32: Add minidump generation. (George Reilly, 2006 Apr 24)
  1945. 7 Completion of network shares, patch by Yasuhiro Matsumoto.
  1946. Update 2004 Sep 6.
  1947. How does this work? Missing comments.
  1948. 8 Add a few more command names to the menus. Patch from Jiri Brezina
  1949. (28 feb 2002). Will mess the translations...
  1950. 7 ATTENTION dialog choices are more logical when "Delete it" appears
  1951. before "Quit". Patch by Robert Webb, 2004 May 3.
  1952. - Include flipcase patch: ~/vim/patches/wall.flipcase2 ? Make it work
  1953. for multibyte characters.
  1954. - Win32: add options to print dialog. Patch from Vipin Aravind.
  1955. - Patch to add highlighting for whitespace. (Tom Schumm, 2003 Jul 5)
  1956. use the patch that keeps using HLF_8 if HLF_WS has not
  1957. been given values.
  1958. Add section in help files for these highlight groups?
  1959. 7 Add "DefaultFG" and "DefaultBG" for the colors of the menu. (Marcin
  1960. Dalecki has a patch for Motif and Carbon)
  1961. - Add possibility to highlight specific columns (for Fortran). Or put a
  1962. line in between columns (e.g., for 'textwidth').
  1963. Patch to add 'hlcolumn' from Vit Stradal, 2004 May 20.
  1964. confirm() add "flags" argument, with 'v' for vertical
  1965. layout and 'c' for console dialog. (Haegg)
  1966. Flemming Madsen has a patch for the 'c' flag
  1967. (2003 May 13)
  1968. raisewin() raise gvim window (see HierAssist patch for
  1969. Tcl implementation ~/vim/HierAssist/ )
  1970. taglist() add argument to specify maximum number of matches.
  1971. useful for interactive things or completion.
  1972. col('^') column of first non-white character.
  1973. Can use "len(substitute(getline('.'), '\S.*', '', ''))
  1974. + 1", but that's ugly.
  1975. 7 Add patch from Benoit Cerrina to integrate Vim and Perl functions
  1976. better. Now also works for Ruby (2001 Nov 10)
  1977. 7 When 'rightleft' is set, the search pattern should be displayed right
  1978. to left as well? See patch of Dec 26. (Nadim Shaikli)
  1979. 8 Option to lock all used memory so that it doesn't get swapped to disk
  1980. (unencrypted). Patch by Jason Holt, 2003 May 23. Uses mlock.
  1981. 7 Add ! register, for shell commands. (patch from Grenie)
  1982. 8 In the gzip plugin, also recognize *.gz.orig, *.gz.bak, etc. Like it's
  1983. done for filetype detection. Patch from Walter Briscoe, 2003 Jul 1.
  1984. 7 Add a "-@ filelist" argument: read file names from a file. (David
  1985. Kotchan has a patch for it)
  1986. 7 Add ":justify" command. Patch from Vit Stradal 2002 Nov 25.
  1987. - findmatch() should be adjusted for Lisp. See remark at
  1988. get_lisp_indent(). Esp. \( and \) should be skipped. (Dorai Sitaram,
  1989. incomplete patch Mar 18)
  1990. - For GUI Find/Replace dialog support using a regexp. Patch for Motif
  1991. and GTK by degreneir (nov 10 and nov 18).
  1992. - Patch for "paranoid mode" by Kevin Collins, March 7. Needs much more work.
  1993. - Patch for redo register. (Ben Schmidt, 2007 Oct 19)
  1994. Await response to question to make the register writable.
  1995. Better 'rightleft' or BIDI support:
  1996. - Minimal Vi with bidi support: https://github.com/aligrudi/neatvi
  1997. By Ali Gholami Rudi, also worked on arabic.c
  1998. Spell checking:
  1999. - List of common misspellings in English:
  2000. https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines
  2001. German:
  2002. https://de.wikipedia.org/wiki/Wikipedia:Liste_von_Tippfehlern/F%C3%BCr_Maschinen
  2003. There are other languages.
  2004. - [s does not find missing capital at start of the line. #10838
  2005. Probably because the dot at the end of the previous line isn't seen.
  2006. - When 'cursorline' is set and the first word should have SpellCap
  2007. highlighting, redrawing the line removes it when moving the cursor away
  2008. from the line. (#7085) Would need to inspect the end of the previous line
  2009. and update "capcol_lnum" and "cap_col".
  2010. - Mixup of highlighting when there is a match and SpellBad. (ZyX, 2015 Jan 1)
  2011. - Spell files use a latin single quote. Unicode also has another single
  2012. quote: 0x2019. (Ron Aaron, 2014 Apr 4)
  2013. New OpenOffice spell files support this with ICONV. But they are not
  2014. compatible with Vim spell files. The old files can no longer be
  2015. downloaded.
  2016. - Add a feature to only consider two spaces after a dot to start a new
  2017. sentence. Don't give the capitalization error when there is one space.
  2018. - Add a way to specify punctuation characters. Add the superscript numbers
  2019. by default: 0x2070, 0xb9, 0xb2, 0xb3, 0x2074 - 0x2079.
  2020. - In popup menu: If the only problem is the case of the first character,
  2021. don't offer "ignore" and "add to word list".
  2022. - Spell menu: When using the Popup menu to select a replacement word,
  2023. ":spellrepeat" doesn't work. SpellReplace() uses setline(). Can it use
  2024. "z=" somehow? Or use a new function.
  2025. Quickfix/Location List:
  2026. - Window size is wrong when using quickfix window. (Lifepillar, 2018 Aug 24,
  2027. #2999)
  2028. - When using CTRL-W CR in the quickfix window, the jumplist in the opened
  2029. window is cleared, to avoid going back to the list of errors buffer (would
  2030. have two windows with it). Can we just remove the jump list entries for
  2031. the quickfix buffer?
  2032. - When an item in the quickfix list has a file name that does not exist,
  2033. behave like the item was not a match for :cnext.
  2034. - When adding an item to a new quickfix list make ":cnext" jump to that
  2035. item. Make a difference being at the first item and not having used
  2036. :cnext at all. (Afanasiy Fet, 2017 Jan 3)
  2037. - When opening quickfix window, disable spell checking?
  2038. - Patch for supporting count before CR in quickfix window. (AOYAMA Shotaro,
  2039. 2007 Jan 1)
  2040. - Patch from Herculano de Lima Einloft Neto for better formatting of the
  2041. quickfix window (2004 dec 2)
  2042. - Amiga: When using quickfix with the Manx compiler we only get the first 25
  2043. errors. How do we get the rest?
  2044. 8 The quickfix file is read without conversion, thus in 'encoding'. Add an
  2045. option to specify the encoding of the errorfile and convert it. Also for
  2046. ":grep" and ":helpgrep".
  2047. More generic solution: support a filter (e.g., by calling a function).
  2048. 7 Add a command that goes back to the position from before jumping to the
  2049. first quickfix location.
  2050. Vi incompatibility:
  2051. - Try new POSIX tests, made after my comments. (Geoff Clare, 2005 April 7)
  2052. Version 1.5 is in ~/src/posix/1.5. (Lynne Canal)
  2053. 8 With undo/redo only marks in the changed lines should be changed. Other
  2054. marks should be kept. Vi keeps each mark at the same text, even when it
  2055. is deleted or restored. (Webb)
  2056. Also: A mark is lost after: make change, undo, redo and undo.
  2057. Example: "{d''" then "u" then "d''": deletes an extra line, because the ''
  2058. position is one line down. (Veselinovic)
  2059. 8 When stdin is not a tty, and Vim reads commands from it, an error should
  2060. make Vim exit.
  2061. 7 Unix Vim (not gvim): Typing CTRL-C in Ex mode should finish the line
  2062. (currently you can continue typing, but it's truncated later anyway).
  2063. Requires a way to make CTRL-C interrupt select() when in cooked input.
  2064. 8 When loading a file in the .exrc, Vi loads the argument anyway. Vim skips
  2065. loading the argument if there is a file already. When no file argument
  2066. given, Vi starts with an empty buffer, Vim keeps the loaded file. (Bearded)
  2067. 6 In Insert mode, when using <BS> or <Del>, don't wipe out the text, but
  2068. only move back the cursor. Behaves like '$' in 'cpoptions'. Use a flag
  2069. in 'cpoptions' to switch this on/off.
  2070. 8 When editing a file which is a symbolic link, and then opening another
  2071. symbolic link on the same file, Vim uses the name of the first one.
  2072. Adjust the file name in the buffer to the last one used? Use several file
  2073. names in one buffer???
  2074. Also: When first editing file "test", which is symlink to "test2", and
  2075. then editing "test2", you end up editing buffer "test" again. It's not
  2076. logical that the name that was first used sticks with the buffer.
  2077. 7 The ":undo" command works differently in Ex mode. Edit a file, make some
  2078. changes, "Q", "undo" and _all_ changes are undone, like the ":visual"
  2079. command was one command.
  2080. On the other hand, an ":undo" command in an Ex script only undoes the last
  2081. change (e.g., use two :append commands, then :undo).
  2082. 7 The ":map" command output overwrites the command. Perhaps it should keep
  2083. the ":map" when it's used without arguments?
  2084. 7 CTRL-L is not the end of a section? It is for Posix! Make it an option.
  2085. 7 Add a way to send an email for a crashed edit session. Create a file when
  2086. making changes (containing name of the swap file), delete it when writing
  2087. the file. Supply a program that can check for crashed sessions (either
  2088. all, for a system startup, or for one user, for in a .login file).
  2089. 7 Vi doesn't do autoindenting when input is not from a tty (in Ex mode).
  2090. 7 "z3<CR>" should still use the whole window, but only redisplay 3 lines.
  2091. 7 ":tag xx" should move the cursor to the first non-blank. Or should it go
  2092. to the match with the tag? Option?
  2093. 7 Implement 'autoprint'/'ap' option.
  2094. 7 Add flag in 'cpoptions' that makes <BS> after a count work like <Del>
  2095. (Sayre).
  2096. 7 Add flag in 'cpoptions' that makes operator (yank, filter) not move the
  2097. cursor, at least when cancelled. (default Vi compatible).
  2098. 7 This Vi-trick doesn't work: "Q" to go to Ex mode, then "g/pattern/visual".
  2099. In Vi you can edit in visual mode, and when doing "Q" you jump to the next
  2100. match. Nvi can do it too.
  2101. 7 Support '\' for line continuation in Ex mode for these commands: (Luebking)
  2102. g/./a\ g/pattern1/ s/pattern2/rep1\\
  2103. line 1\ line 2\\
  2104. line 2\ line 3\\
  2105. . line4/
  2106. 6 ":e /tmp/$tty" doesn't work. ":e $uid" does. Is $tty not set because of
  2107. the way the shell is started?
  2108. 6 Vi compatibility (optional): make "ia<CR><ESC>10." do the same strange
  2109. thing. (only repeat insert for the first line).
  2110. GTK+ GUI:
  2111. 9 Crash with X command server over ssh. (Ciaran McCreesh, 2006 Feb 6)
  2112. 8 GTK 2: Combining UTF-8 characters not displayed properly in menus (Mikolaj
  2113. Machowski) They are displayed as separate characters. Problem in
  2114. creating a label?
  2115. 8 GTK 2: Combining UTF-8 characters are sometimes not drawn properly.
  2116. Depends on the font size, "monospace 13" has the problem. Vim seems to do
  2117. everything right, must be a GTK bug. Is there a way to work around it?
  2118. 9 Can't paste a Visual selection from GTK-gvim to vim in xterm or Motif gvim
  2119. when it is longer than 4000 characters. Works OK from gvim to gvim and
  2120. vim to vim. Pasting through xterm (using the shift key) also works.
  2121. It starts working after GTK gvim loses the selection and gains it again.
  2122. - Gnome2: When moving the toolbar out of the dock, so that it becomes
  2123. floating, it can no longer be moved. Therefore making it float has been
  2124. blocked for now.
  2125. - Mapping with partial match not executed properly in GTK. (Ingo Karkat,
  2126. #7082)
  2127. - Add more testing of the GTK GUI.
  2128. - gtk_test_widget_click() can be used to simulate a click in a widget.
  2129. - Tests failing for "make testgui" with GTK:
  2130. - Test_setbufvar_options()
  2131. - Test_exit_callback_interval()
  2132. - When adding a timer from 'balloonexpr' it won't fire, because
  2133. g_main_context_iteration() doesn't return. Need to trigger an event when
  2134. the timer expires.
  2135. - problem with 'L' in 'guioptions' changing the window width. (Aaron
  2136. Cornelius, 2012 Feb 6)
  2137. - Patch to invert characters differently in GTK. (Yukihiro Nakadaira, 2013
  2138. May 5)
  2139. - drawing a double-width combining character over single-width characters
  2140. doesn't look right. (Dominique Pelle, 2010 Aug 8)
  2141. - tear-off menu does not work. (Kurt Sonnenmoser, 2010 Oct 25)
  2142. - Patch for GTK buttons X1Mouse and X2Mouse. (Christian J. Robinson, 2010
  2143. Aug 9)
  2144. - When setting 'columns' in a startup script and doing ":vertical diffsplit"
  2145. the window isn't redrawn properly, see two vertical bars.
  2146. - when the Tab pages bar appears or disappears while the window is maximized
  2147. the window is no longer maximized. Patch that has some idea but doesn't
  2148. work from Geoffrey Antos, 2008 May 5. Also: the window may no longer fit
  2149. on the screen, thus the command line is not visible.
  2150. - Patch to support horizontal scroll wheel in GTK. Untested. (Bjorn
  2151. Winckler, 2010 Jun 30)
  2152. Win32 GUI known bugs:
  2153. - Win32: tearoff menu window should have a scrollbar when it's taller than
  2154. the screen.
  2155. 8 The -P argument doesn't work very well with many MDI applications.
  2156. The last argument of CreateWindowEx() should be used, see MSDN docs.
  2157. Tutorial: http://win32assembly.online.fr/tut32.html
  2158. 6 Win32 GUI: With "-u NONE -U NONE" and doing "CTRL-W v" "CTRL-W o", the ":"
  2159. of ":only" is highlighted like the cursor. (Lipelis)
  2160. 8 When 'encoding' is "utf-8", should use 'guifont' for both normal and wide
  2161. characters to make Asian languages work. Win32 fonts contain both
  2162. type of characters.
  2163. 7 When font smoothing is enabled, redrawing can become very slow. The reason
  2164. appears to be drawing with a transparent background. Would it be possible
  2165. to use an opaque background in most places?
  2166. 7 The cursor color indicating IME mode doesn't work properly. (Shizhu Pan,
  2167. 2004 May 9)
  2168. 8 Win32: When clicking on the gvim title bar, which gives it focus, produces
  2169. a file-changed dialog, after clicking on a button in that dialog the gvim
  2170. window follows the mouse. The button-up event is lost. Only with
  2171. MS-Windows 98?
  2172. Try this: ":set sw ts", get enter-prompt, then change the file in a
  2173. console, go back to Vim and click "reload" in the dialog for the changed
  2174. file: Window moves with the cursor!
  2175. Put focus event in input buffer and let generic Vim code handle it?
  2176. 8 Win32 GUI: With maximized window, ":set go-=r" doesn't use the space that
  2177. comes available. (Poucet) It works OK on Win 98 but doesn't work on Win
  2178. NT 4.0. Leaves a grey area where the scrollbar was. ":set go+=r" also
  2179. doesn't work properly.
  2180. 8 When Vim is minimized and when maximizing it a file-changed dialog pops
  2181. up, Vim isn't maximized. It should be done before the dialog, so that it
  2182. appears in the right position. (Webb)
  2183. 9 When selecting at the more-prompt or hit-enter-prompt, the right mouse
  2184. button doesn't give popup menu.
  2185. At the hit-enter prompt CTRL-Y doesn't work to copy the modeless
  2186. selection.
  2187. On the command line, don't get a popup menu for the right mouse button.
  2188. Let the middle button paste selected text (not the clipboard but the
  2189. non-Visual selection)? Otherwise CTRL-Y has to be used to copy the text.
  2190. 8 When 'grepprg' doesn't execute, the error only flashes by, the
  2191. user can hardly see what is wrong. (Moore)
  2192. Could use vimrun with an "-nowait" argument to only wait when an error
  2193. occurs, but "command.com" doesn't return an error code.
  2194. 8 When the 'shell' cannot be executed, should give an appropriate error msg.
  2195. Esp. for a filter command, currently it only complains the file could not
  2196. be read.
  2197. 7 At the hit-enter prompt scrolling now no longer works. Need to use the
  2198. keyboard to get around this. Pretend <CR> was hit when the user tries to
  2199. scroll?
  2200. 7 Scrollbar width doesn't change when selecting other windows appearance.
  2201. Also background color of Toolbar and rectangle below vert. scrollbar.
  2202. 6 Drawing text transparently doesn't seem to work (when drawing part cursor).
  2203. 8 CTRL key doesn't always work in combination with ALT key. It does work
  2204. for function keys, not for alphabetic characters. Perhaps this is because
  2205. CTRL-ALT is used by Windows as AltGr?
  2206. 8 CTRL-- doesn't work for AZERTY, because it's CTRL-[ for QWERTY. How do we
  2207. know which keyboard is being used?
  2208. 7 When scrolling, and a background color is dithered, the dither pattern
  2209. doesn't always join correctly between the scrolled area and the new drawn
  2210. area (Koloseike).
  2211. 8 When gui_init_font() is called with "*", p_guifont is freed while it might
  2212. still be used somewhere. This is too tricky, do the font selection first,
  2213. then set the new font by name (requires putting all logfont parameters in
  2214. the font name).
  2215. - When running a fast timer, the cursor no longer blinks. Was reported:
  2216. cursor blinks in terminal on widows with a timer. (xtal8, #2142)
  2217. - Last message from startup doesn't show up when there is an echoerr
  2218. command. (Cyril Slobin, 2009 Mar 13)
  2219. Motif:
  2220. 6 New Motif toolbar button from Marcin Dalecki:
  2221. - When the mouse pointer is over an Agide button the red becomes black.
  2222. Something with the way colors are specified in the .xpm file.
  2223. - The pixmap is two pixels smaller than it should be. The gap is filled
  2224. with grey instead of the current toolbar background color.
  2225. 9 Can configure be changed to disable netbeans if the Xpm library is
  2226. required and it's missing?
  2227. 8 When using the resource "Vim*borderwidth 2" the widgets are positioned
  2228. wrong.
  2229. 9 XIM is disabled by default for SGI/IRIX. Fix XIM so that 'imdisable' can
  2230. be off by default.
  2231. 9 XIM doesn't work properly for Motif. (Yasuhiro Matsumoto) For now,
  2232. keep XIM active at all times when the input method has the preediting
  2233. flag.
  2234. 8 X11: A menu that contains an umlaut is truncated at that character.
  2235. Happens when the locale is "C", which uses ASCII instead of IS0-8859-1.
  2236. Is there a way to use latin1 by default? Gnome_init() seems to do this.
  2237. 8 Perhaps use fontsets for everything?
  2238. 6 When starting in English and switching the language to Japanese, setting
  2239. the locale with ":lang", 'guifontset' and "hi menu font=", deleting all
  2240. menus and setting them again, the menus don't use the new font. Most of
  2241. the tooltips work though...
  2242. 7 Motif: when using a file selection dialog, the specified file name is not
  2243. always used (when specifying a filter or another directory).
  2244. 8 When 'encoding' is different from the current locale (e.g., utf-8) the
  2245. menu strings don't work. Requires conversion from 'encoding' to the
  2246. current locale. Workaround: set 'langmenu'.
  2247. Motif GUI:
  2248. - gui_mch_browsedir() is missing, browsedir() doesn't work nicely.
  2249. 7 Use XmStringCreateLocalized() instead of XmStringCreateSimple()?
  2250. David Harrison says it's OK (it exists in Motif 1.2).
  2251. 8 Lesstif: When deleting a menu that's torn off, the torn off menu becomes
  2252. very small instead of disappearing. When closing it, Vim crashes.
  2253. (Phillipps)
  2254. GUI:
  2255. 9 On Solaris, creating the popup menu causes the right mouse button no
  2256. longer to work for extending the selection. (Halevy)
  2257. 9 When running an external program, it can't always be killed with CTRL-C.
  2258. e.g., on Solaris 5.5, when using "K" (Keech). Other 'guipty' problems on
  2259. Solaris 2.6. (Marley)
  2260. 9 On Solaris: Using a "-geometry" argument, bigger than the window where Vim
  2261. is started from, causes empty lines below the cmdline. (raf)
  2262. 8 When setting 'langmenu', it should be effective immediately. Store both
  2263. the English and the translated text in the menu structure. Re-generate
  2264. the translation when 'langmenu' has changed.
  2265. 8 Basic flaw in the GUI code: NextScreen is updated before calling
  2266. gui_write(), but the GUI code relies on NextScreen to represent the state
  2267. of where it is processing the output.
  2268. Need better separation of Vim core and GUI code.
  2269. 8 When fontset support is enabled, setting 'guifont' to a single font
  2270. doesn't work.
  2271. 8 Menu priority for sub-menus for: Amiga.
  2272. 8 When translating menus ignore the part after the Tab, the shortcut. So
  2273. that the same menu item with a different shortcut (e.g., for the Mac) are
  2274. still translated.
  2275. 8 Add menu separators for Amiga.
  2276. 8 Add way to specify the file filter for the browse dialog. At least for
  2277. browse().
  2278. 8 Add dialog for search/replace to other GUIs? Tk has something for this,
  2279. use that code? Or use console dialog.
  2280. 8 When selecting a font with the font dialog and the font is invalid, the
  2281. error message disappears too quick.
  2282. 7 More features in the find/replace dialog:
  2283. - regexp on/off
  2284. - search in selection/buffer/all buffers/directory
  2285. when all buffers/directory is used:
  2286. - filter for file name
  2287. when directory is used:
  2288. - subdirectory on/off
  2289. - top directory browser
  2290. 8 gui_check_colors() is not called at the right moment. Do it much later,
  2291. to avoid problems.
  2292. 8 gui_update_cursor() is called for a cursor shape change, even when there
  2293. are mappings to be processed. Only do something when going to wait for
  2294. input. Or maybe every 100 ms?
  2295. 8 X11: When the window size is reduced to fit on screen, there are blank
  2296. lines below the text and bottom scrollbar. "gvim -geometry 80x78+0+0".
  2297. When the "+0+0" is omitted it works.
  2298. 8 When starting an external command, and 'guipty' set, BS and DEL are mixed
  2299. up. Set erase character somehow?
  2300. 8 The compose key doesn't work properly (Cepas). Both for Win32 and X11.
  2301. 7 The cursor in an inactive window should be hollow. Currently it's not
  2302. visible.
  2303. 7 GUI on Solaris 2.5.1, using /usr/dt/..: When gvim starts, cursor is
  2304. hollow, after window lowered/raised it's OK. (Godfrey)
  2305. 7 When starting GUI with ":gui", and window is made smaller because it
  2306. doesn't fit on the screen, there is an extra redraw.
  2307. 8 When setting font with .Xdefaults, there is an extra empty line at the
  2308. bottom, which disappears when using ":set guifont=<Tab>". (Chadzelek)
  2309. 8 When font shape changes, but not the size, doing ":set font=" does not
  2310. redraw the screen with the new font. Also for Win32.
  2311. When the size changes, on Solaris 2.5 there isn't a redraw for the
  2312. remaining part of the window (Phillipps).
  2313. - Flashes really badly in certain cases when running remotely from a Sun.
  2314. 4 Re-write the code so that the highlighting isn't changed multiple times
  2315. when doing a ":hi clear". The color changes happen three or more times
  2316. currently. This is very obvious on a 66Mhz 486.
  2317. Win32 console:
  2318. 8 Should $USERPROFILE be preferred above $HOMEDRIVE/$HOMEPATH? No, but it's
  2319. a good fallback, thus use:
  2320. $HOME
  2321. $HOMEDRIVE$HOMEPATH
  2322. SHGetSpecialFolderPath(NULL, lpzsPath, CSIDL_APPDATA, FALSE);
  2323. $USERPROFILE
  2324. SHGetSpecialFolderPath(NULL, lpzsPath, CSIDL_COMMON_APPDATA, FALSE);
  2325. $ALLUSERSPROFILE
  2326. $SYSTEMDRIVE\
  2327. C:\
  2328. 8 Win32 console: <M-Up> and <M-Down> don't work. (Geddes) We don't have
  2329. special keys for these. Should use modifier + key.
  2330. 8 Win32 console: caps-lock makes non-alpha keys work like with shift.
  2331. Should work like in the GUI version.
  2332. 8 Environment variables in DOS are not case sensitive. Make a define for
  2333. STRCMP_ENV(), and use it when comparing environment var names.
  2334. 8 Setting 'shellslash' has no immediate effect. Change all file names when
  2335. it is set/reset? Or only use it when actually executing a shell command?
  2336. 8 When editing a file on a Samba server, case might matter. ":e file"
  2337. followed by ":e FILE" will edit "file" again, even though "FILE" might be
  2338. another one. Set last used name in buflist_new()? Fix do_ecmd(), etc.
  2339. 8 When a buffer is editing a file like "ftp://mach/file", which is not going
  2340. to be used like a normal file name, don't change the slashes to
  2341. backslashes. (Ronald Hoellwarth)
  2342. Win32 console:
  2343. 9 When editing a file by its short file name, it should be expanded into its
  2344. long file name, to avoid problems like these: (Mccollister)
  2345. 1) Create a file called ".bashrc" using some other editor.
  2346. 2) Drag that file onto a shortcut or the actual executable.
  2347. 3) Note that the file name is something like BASHRC~1
  2348. 4) Go to File->Save As menu item and type ".bashrc" as the file name.
  2349. 5) Press "Yes" to indicate that I want to overwrite the file.
  2350. 6) Note that the message "File exists (add ! to override)" is displayed
  2351. and the file is not saved.
  2352. Use FindFirstFile() to expand a file name and directory in the path to its
  2353. long name.
  2354. 8 Also implement 'conskey' option for the Win32 console version? Look at
  2355. how Xvi does console I/O under Windows NT.
  2356. 7 Re-install the use of $TERM and support the use of different terminals,
  2357. besides the console.
  2358. 8 Use of <altgr> modifier doesn't work? 5.3 was OK. (Garcia-Suarez/Guckes)
  2359. 9 Mapping <C-S-Tab> doesn't work correctly. How to see the difference with
  2360. <C-S-i>?
  2361. 9 tmpnam() uses file in root of file system: "\asdf". That doesn't work on
  2362. a Netware network drive. Use same function as for Win32 GUI?
  2363. 8 In os_win32.h, HAVE_STRICMP and HAVE_STRNICMP are defined only if __GNUC__
  2364. is not defined. Shouldn't that be the other way around?
  2365. Amiga:
  2366. 8 In mch_inchar() should use convert_input_safe() to handle incomplete byte
  2367. sequences.
  2368. 9 In mch_expandpath() a "*" is to be expanded, but "\*" isn't. Remove
  2369. backslashes in result.
  2370. 8 Executing a shell, only one option for 'shell' is separated. Should do
  2371. all options, using white space separation.
  2372. Macintosh:
  2373. - GUI: gui_mch_browsedir() is missing.
  2374. 7 Loading the Perl library only works on OS/X 10.2 or 10.3, never on both.
  2375. Load the Perl library dynamically see Python sources file dynload_mac
  2376. (Jack)
  2377. dynamic linking: http://developer.apple.com/technotes/tn2002/tn2064.html
  2378. 8 inputdialog() doesn't resize when giving more text lines. (David Fishburn,
  2379. 2006 Sept 28)
  2380. 8 Define vim_mkdir() for Macintosh.
  2381. 8 Define mch_writable() for Macintosh.
  2382. 9 When DiskLock is running, using a swap file causes a crash. Appears to be
  2383. a problem with writing a file that starts with a dot. (Giacalone)
  2384. 9 In mac_expandpath() check that handling of backslashes is done properly.
  2385. - Build problem with small features on Mac OS X 10.6. (Rainer, 2011 Jan 24)
  2386. - Version of netbeans.c for use with MacVim. (Kazuki Sakamoto, 2010 Nov 18)
  2387. - Mac with X11: clipboard doesn't work properly. (Raf, 2010 Aug 16)
  2388. - Move Carbon todo items to os_mac.txt. Note that this version is frozen,
  2389. try the Cocoa version.
  2390. - After a ":vsplit" the left scrollbar doesn't appear until 'columns' is
  2391. changed or the window is resized.
  2392. - Patch for configure: remove arch from ruby link args. (Knezevic, 2008 Mar
  2393. 5) Alternative: Kazuki Sakamoto, Mar 7.
  2394. - trouble compiling with Motif, requires --disable-darwin. (Raf, 2008 Aug 1)
  2395. Reply by Ben Schmidt.
  2396. - Using gvim: netrw window disappears. (Nick Lo, 2006 Jun 21)
  2397. "Small" problems:
  2398. - When using e_secure in do_one_cmd() mention the command being executed,
  2399. otherwise it's not clear where it comes from.
  2400. 9 For Turkish vim_tolower() and vim_toupper() also need to use utf_
  2401. functions for characters below 0x80. (Sertacyildiz)
  2402. 9 When the last edited file is a help file, using '0 in a new Vim doesn't
  2403. edit the file as a help file. 'filetype' is OK, but 'iskeyword' isn't,
  2404. file isn't readonly, etc.
  2405. 8 When an ":edit" is inside a try command and the ATTENTION prompt is used,
  2406. the :catch commands are always executed, also when the file is edited
  2407. normally. Should reset did_emsg and undo side effects. Also make sure
  2408. the ATTENTION message shows up. Servatius Brandt works on this.
  2409. 7 Vimtutor leaves escape sequence in terminal. This is the xterm response to
  2410. requesting the version number. (Yasuhiro Matsumoto)
  2411. 8 When redirecting and using ":silent" the current column for displaying and
  2412. redirection can be different. Use a separate variable to hold the column
  2413. for redirection.
  2414. 7 The messages for "vim --help" and "vim --version" don't use
  2415. 'termencoding'.
  2416. - Could the hit-enter prompt be avoided when a message only overlaps the
  2417. 'showcmd' area? Clear that area when the next cmd is typed.
  2418. 8 When 'scrollbind' is set, a window won't scroll horizontally if the cursor
  2419. line is too short. Add a word in 'scrollopt' to allow moving the cursor
  2420. to longer line that is visible. A similar thing is done for the GUI when
  2421. using the horizontal scrollbar.
  2422. 8 When giving a ":bwipeout" command a file-changed dialog may popup for this
  2423. buffer, which is pointless. (Mike Williams)
  2424. 8 On MS-Windows ":make" doesn't show output while it is working. Use the
  2425. tee.exe from http://unxutils.sourceforge.net/ ? About 16 Kbyte in the
  2426. UnxUtils.zip archive.
  2427. Is it better than what we have in src/tee?
  2428. 8 When doing Insert mode completion a mapping cannot recursively call
  2429. edit(), because the completion information is global. Put everything in
  2430. an allocated structure?
  2431. 7 mb_off2cells() doesn't work correctly on the tail byte of a double-byte
  2432. character. (Yasuhiro Matsumoto) It should return 1 when used on a tail
  2433. byte, like for utf-8. Store second byte of double-byte in ScreenLines2[]
  2434. (like for DBCS_JPNU) and put a zero in the second byte (like for UTF-8).
  2435. 7 Inside a function with "perl <<EOF" a line with "$i++" is recognized as an
  2436. ":insert" command, causing the following "endfunction" not to be found.
  2437. Add skipping this perl construction inside function definitions.
  2438. 7 When 'ttimeoutlen' is 10 and 'timeoutlen' is 1000, there is a keycode
  2439. "<Esc>a" and a mapping <Esc>x", when typing "<Esc>a" with half a second
  2440. delay should not be interpreted as a keycode. (Hans Ginzel)
  2441. 7 ":botright 1 new" twice causes all window heights to be changed. Make the
  2442. bottom window only bigger as much as needed.
  2443. 7 The Cygwin and MingW makefiles define "PC", but it's not used anywhere.
  2444. Remove? (Dan Sharp)
  2445. 9 User commands use the context of the script they were defined in. This
  2446. causes a "s:var" argument to unexpectedly use a variable in the defining
  2447. script, not the calling script. Add an argument to ":command":
  2448. "-keepcontext". Do replace <SID>, so that a function in the defining
  2449. script can be called.
  2450. 8 The Japanese message translations for MS-Windows are called ja.sjis.po,
  2451. but they use encoding cp932. Rename the file and check that it still
  2452. works.
  2453. 8 A very long message in confirm() can't be quit. Make this possible with
  2454. CTRL-C.
  2455. 8 "gf" always excludes trailing punctuation characters. file_name_in_line()
  2456. is currently fixed to use ".,:;!". Add an option to make this
  2457. configurable?
  2458. 8 'hkmap' should probably be global-local.
  2459. 8 Using ":s" in a function changes the previous replacement string. Save
  2460. "old_sub" in save_search_patterns()?
  2461. 8 Should allow multibyte characters for the delimiter: ":s+a+b+" where "+"
  2462. is a multibyte character.
  2463. 8 When appending to a file and 'patchmode' isn't empty, a backup file is
  2464. always written, even when the original file already exists.
  2465. 9 When getting focus while writing a large file, could warn for this file
  2466. being changed outside of Vim. Avoid checking this while the file is being
  2467. written.
  2468. 7 The message in bt_dontwrite_msg() could be clearer.
  2469. 8 The script ID that is stored with an option and displayed with ":verbose
  2470. set" isn't reset when the option is set internally. For example when
  2471. 'foldlevel' is set from 'foldlevelstart'.
  2472. 8 Also store the line number with the script ID and use it for ":verbose",
  2473. so that "set nocompatible" is found when it changes other option values.
  2474. When an option is set indirectly mention the command? E.g. when
  2475. ":diffsplit" sets 'foldmethod'.
  2476. 8 In the fileformat dialog, "Cancel" isn't translated. Add a global
  2477. variable for this. (Eduardo Fernandez)
  2478. 9 When editing a file with 'readonly' set, there is no check for an existing
  2479. swap file. Then using ":write" (without making any changes) doesn't give
  2480. a warning either. Should check for an existing swap file without creating
  2481. one. Unfinished patch by Ian Kelling, 2008 July 14.
  2482. 7 When 'showbreak' is set, the amount of space a Tab occupies changes.
  2483. Should work like 'showbreak' is inserted without changing the Tabs.
  2484. 7 When 'mousefocus' is set and switching to another window with a typed
  2485. command, the mouse pointer may be moved to a part of the window that's
  2486. covered by another window and we lose focus. Only move in the y
  2487. direction, not horizontally?
  2488. 8 ":hardcopy":
  2489. - Using the cterm_color[] table is wrong when t_colors is > 16.
  2490. - Need to handle unprintable characters.
  2491. - Win32: On a B&W printer syntax highlighting isn't visible. Perform
  2492. dithering to make grey text?
  2493. - Add a flag in 'printoptions' to add an empty page to make the total
  2494. number even. "addempty"? (Mike Williams)
  2495. - Respect 'linebreak'. Perhaps also 'showbreak'?
  2496. - Should interpret CTRL-L as a page break.
  2497. - Grey line numbers are not always readable. Add field in 'printoptions'.
  2498. Default to black when no syntax highlighting.
  2499. - Be able to print a window in diff mode.
  2500. - Be able to specify a colorscheme to use for printing. And a separate
  2501. one for B&W printing (if that can be detected).
  2502. 8 When 'virtualedit' is "block,insert" and encoding is "utf-8", selecting a
  2503. block of one double-wide character, then "d" deletes only half of it.
  2504. 8 When 'virtualedit' is set, should "I" in blockwise visual mode also insert
  2505. in lines that don't extend into the block?
  2506. 8 With 'virtualedit' set, in Insert mode just after the end of line, CTRL-O
  2507. yh does not yank the last character of the line. (Pavel Papushev)
  2508. Doing "hl" first appears to make it work.
  2509. 8 With 'virtualedit' set it's possible to move into the blank area from
  2510. 'linebreak'.
  2511. 8 With 'virtualedit' set and 'selection' "exclusive", a Visual selection
  2512. that ends in or after a tab, "d" doesn't delete (part of) the tab.
  2513. (Helmut Stiegler)
  2514. 9 When jumping to a tag, the search pattern is put in the history. When
  2515. 'magic' is on, the pattern may not work. Translate the pattern depending
  2516. on p_magic when putting it in the history? Alternative: Store value of
  2517. 'magic' in history. (Margo)
  2518. 9 optwin.vim: Restoring a mapping for <Space> or <CR> is not correct for
  2519. ":noremap". Add "mapcmd({string}, {mode})? Use code from ":mkexrc".
  2520. 9 term_console is used before it is set (msdos, Amiga).
  2521. 9 Get out-of-memory for ":g/^/,$s//@/" on 1000 lines, this is not handled
  2522. correctly. Get many error messages while redrawing the screen, which
  2523. cause another redraw, etc.
  2524. 8 [<C-I> doesn't work when '*' is in 'iskeyword'. find_pattern_in_path()
  2525. must escape special characters in the pattern.
  2526. 8 Vim can overwrite a read-only file with ":w!". ":w" can't overwrite an
  2527. existing file, "w!" can, but perhaps not a read-only file? Then use
  2528. ":w!!" for that.
  2529. Or ask for permission to overwrite it (if file can be made writable) and
  2530. restore file to readonly afterwards.
  2531. Overwriting a file for which a swap file exists is similar issue.
  2532. 7 When compiled with "xterm_clipboard", startup can be slower and might get
  2533. error message for invalid $DISPLAY. Try connecting to the X server in the
  2534. background (forked), so that Vim starts up quicker? Connect as soon as
  2535. the clipboard is to be used (Visual select mode starts, paste from
  2536. clipboard)
  2537. 7 X11: Some people prefer to use CLIPBOARD instead of PRIMARY for the normal
  2538. selection. Add an "xclipboard" argument to the 'clipboard' option? (Mark
  2539. Waggoner)
  2540. 6 When the xterm reports the number of colors, a redraw occurs. This is
  2541. annoying on a slow connection. Wait for the xterm to report the number of
  2542. colors before drawing the screen. With a timeout.
  2543. 8 When the builtin xterm termcap contains codes that are not wanted, need a
  2544. way to avoid using the builtin termcap.
  2545. 8 Xterm sends ^[[H for <Home> and ^[[F for <End> in some mode. Also
  2546. recognize these keys? Mostly useful for xterm simulators, like gnometerm.
  2547. See http://dickey.his.com/xterm/xterm.faq.html#xterm_pc_style.
  2548. 8 '[ and '] should be set to start/end of line when using a linewise operator
  2549. (e.g., ":w").
  2550. 8 CTRL-A can't handle big "long" numbers, they become negative. Check for
  2551. "-" character, if not present, use unsigned long.
  2552. 8 Add suspending with CTRL-Z at the "more" prompt, and when executing a long
  2553. script in do_cmdline().
  2554. 8 When using 'hidden', many swap files will be open. When Vim runs into the
  2555. maximum number of open files, error messages will appear. Detect that
  2556. this problem is present, and close any hidden files that don't have
  2557. changes.
  2558. 8 Core dump within signal function: gdb doesn't show stack backtrace! Option
  2559. to skip catch_signals()?
  2560. 9 Repeating a "cw" with "." doesn't work if the text was pasted from the
  2561. clipboard. (Thomas Jones) It's because the menu/toolbar item exits Insert
  2562. mode and uses "gP". How to fix this without breaking inserting a block of
  2563. text?
  2564. 8 In Replace mode pasting from the clipboard (using menu or toolbar) inserts
  2565. all the text. Add ":rmenu"?
  2566. 8 Pasting with the mouse in Replace mode inserts the text, instead of
  2567. overwriting, when it is more than one line. Same for using <C-R>.
  2568. 9 CTRL-E and CTRL-Y don't work in small window when 'so' is 4 and lines are
  2569. wrapping (Acevedo/in.226). E.g., when using CTRL-E, window height 7,
  2570. window might actually scroll down when last line of buffer is displayed.
  2571. --> Remember if the previous command was "cursor follows screen" or
  2572. "screen follow cursor" and use this in cursupdate().
  2573. 7 tilde_replace() can only handle "~/", should also do "~user/".
  2574. Get the list of home directories (from /etc/passwd? Use getpwent()) and
  2575. use some clever algorithm to match a path with that. Find common strings
  2576. in the list?
  2577. 8 When dragging status line with mouse, sometimes a jump when first clicking
  2578. on the status line (caused by 'winheight'). Select window on button up,
  2579. instead of on button down.
  2580. 8 Dragging the status line doesn't scroll but redraw.
  2581. 8 When performing incremental search, should abort searching as soon as a
  2582. character is typed.
  2583. 8 When the value of $MAKE contains a path, configure can't handle this.
  2584. It's an autoconf bug. Remove the path from $MAKE to work around it.
  2585. 8 How to set VIMRC_FILE to \"something\" for configure? Why does this not
  2586. work: CFLAGS='-DVIMRC_FILE=\"/mydir/myfile\"' ./configure
  2587. 8 The temporary file is sometimes not writable. Check for this, and use an
  2588. alternate name when it isn't. Or add the 'temptemplate' option: template
  2589. for the temp file name ":set temptemplate=/usr/tmp/?????.tmp".
  2590. Also: Win32 version uses Windows temp directory, which might not work for
  2591. cygwin bash.
  2592. 7 Get error "*, \+ or \( operand could be empty" for pattern "\(.\)\1\{3}".
  2593. Remember flags for backreferences.
  2594. 7 When switching to Daylight Saving Time, Vim complains that a file has been
  2595. changed since last read. Can we use a function that uses GMT?
  2596. 7 When completing an environment variable after a '$', check for file names
  2597. that contain a '$' after all have been found.
  2598. 8 When "cm" termcap entry is missing, starting gvim shouldn't complain about
  2599. it. (Lohner) Try out with "vt100" entry, cm replaced with cX.
  2600. 7 When an include file starts with "../", the check for already visiting
  2601. this file doesn't work. Need to simplify the file name.
  2602. 7 The names and comments for the arguments of do_browse() are confusing.
  2603. "dflt" isn't the default file name when "initdir" is not NULL and
  2604. "initdir" is the default path to be used.
  2605. 7 When 'scrolloff' is exactly half the window height, "j" causes a scroll of
  2606. two lines at a time. "k" doesn't do this. (Cory T. Echols)
  2607. I can't reproduce these (if you can, let me know how!):
  2608. 9 NT 4.0 on NTFS file system: Editing ".bashrc" (drag and drop), file
  2609. disappears. Editing ".xyz" is OK. Also, drag&drop only works for three
  2610. files. (McCollister)
  2611. Problems that will (probably) not be solved:
  2612. - GTK: when using the popup menu with spelling suggestions and releasing the
  2613. right mouse button before the menu appears selecting an item with the
  2614. right mouse button has no effect. GTK does not produce an event for this.
  2615. - GTK 2: Cannot use the file selector. When using it many things become
  2616. slow. This is caused by some code in GTK that writes
  2617. ~/.recently-used.xbel every time an event is handled. It assumes the main
  2618. loop is never quit, which is a wrong assumption. Also, it overwrites the
  2619. file with different file permissions, which is a privacy issue. This
  2620. needs to be fixed in GTK. A solution in Vim would be really complicated.
  2621. (2008 Jul 31) This appears to be fixed in Vim 7.3.
  2622. - xterm title: The following scenario may occur (esp. when running the Vim
  2623. test script): Vim 1 sets the title to "file1", then restores the title to
  2624. "xterm" with an ESC sequence when exiting. Vim 2 obtains the old title
  2625. with an X library call, this may result in "file1", because the window
  2626. manager hasn't processed the "xterm" title yet. Can apparently only be
  2627. worked around with a delay.
  2628. - In a terminal with 'mouse' set such that the mouse is active when entering
  2629. a command line, after executing a shell command that scrolls up the
  2630. display and then pressing ":": Selecting text with the mouse works like
  2631. the display wasn't scrolled. Vim doesn't know how much the external
  2632. command scrolled up the display. Use Shift to select text.
  2633. - X windows: When $DISPLAY points to a X server where there is no access
  2634. permission, trying to connect to the X server causes an error message.
  2635. XtOpenDisplay() prints this directly, there is no way to avoid it.
  2636. - X windows: Setting 'guifontset' to an illegal value sometimes crashes Vim.
  2637. This is caused by a fault in a X library function, can't be solved in Vim.
  2638. - Win32 tcl: has("tcl") hangs when the tcl84.dll is from cygwin.
  2639. - Motif: When adding a menu item "Find this &Symbol", the "s" in "this" will
  2640. be underlined, instead of in "Symbol". Motif doesn't let us specify which
  2641. character gets the highlighting.
  2642. - Moving the cursor removes color in color-xterm. This is a color-xterm
  2643. problem! color-xterm ver. 6.1 beta 3 and later work properly.
  2644. - In zsh, "gvim&" changes the terminal settings. This is a zsh problem.
  2645. (Jennings)
  2646. - Problem with HPterm under X: old contents of window is lost (Cosentino).
  2647. - Amiga: The ":cq" command does not always abort the Manx compiler. Why?
  2648. - Linux: A file with protection r--rw-rw- is seen readonly for others. The
  2649. access() function in GNU libc is probably wrong.
  2650. - When doing a CTRL-Z and typing a command for the shell, while Vim is busy
  2651. (e.g. writing a file), the command for the shell is sometimes eaten by Vim,
  2652. because the terminal mode is changed from RAW to CBREAK.
  2653. - An old version of GNU tgoto can't handle the terminfo code for "AF". The
  2654. "%p1" is interpreted as "%p" and "1", causing color not to be working.
  2655. Fix: Change the "%p1" in the "AF" and "AB" terminfo entries to "%p".
  2656. (Benzinger).
  2657. - When running an external command from the GUI, typeahead is going to that
  2658. program, not to Vim. It looks like the shell eats the characters, Vim
  2659. can't get back what the external command didn't use.
  2660. - Win32 GUI: Error code from external command not returned in shell_error.
  2661. It appears that cmd.exe and command.com don't return an error code.
  2662. - Win32 GUI: The Toolbar is a bit too high when the flat style is being
  2663. used. We don't have control over the height of the Toolbar.
  2664. - Win32: All files created on the day of switching from winter to summer
  2665. time cause "changed since editing started" messages. It goes away when
  2666. the file is written again the next day, or the timezone is adjusted.
  2667. DJGPP version is OK. (Zaimi) Looks like a problem with the Win32 library.
  2668. Rebooting doesn't help. Time stamps look OK in directory. (Penn)
  2669. Is this on FAT (stores wall clock time) or NTFS (stores UTS)?
  2670. - Win32, MS-Windows XP: $HOME uses the wrong drive when the user profiles
  2671. are not on the boot disk. This is caused by a wrong value of $HOMEDRIVE.
  2672. This is a bug in XP, see MSKB article 818134.
  2673. - Win32, MS-Windows: expanding plugin/**/*.vim also picks up
  2674. dir/ctags.vim,v. This is because the short file name is something like
  2675. "ctags~1.vim" and that matches the pattern.
  2676. - SunOS 5.5.1 with Motif: The file open dialog does not have a horizontal
  2677. scroll bar for the "files" selection. This is a problem in the Motif
  2678. libraries, get a patch from Sun.
  2679. - Solaris 2.6 with GTK and Perl: gvim crashes when started. Problem with X
  2680. input method called from GDK code. Without Perl it doesn't crash.
  2681. - VMS: Vimdiff doesn't work with the VMS diff, because the output looks
  2682. different. This makes test 47 fail. Install a Unix-compatible diff.
  2683. - Win32 GUI: mouse wheel always scrolls rightmost window. The events arrive
  2684. in Vim as if the rightmost scrollbar was used.
  2685. - GTK with Gnome: Produces an error message when starting up:
  2686. Gdk-WARNING **: locale not supported by C library
  2687. This is caused by the gnome library gnome_init() setting $LC_CTYPE to
  2688. "en_US". Not all systems support this locale name, thus causing the
  2689. error. Hopefully a newer version of GTK/Gnome fixes this problem.
  2690. - GTK 2: With this mapping the hit-enter prompt is _sometimes_ below the
  2691. screen, at other times there is a grey area below the command line:
  2692. :nmap <F11> :if &guioptions=~'m' \| set guioptions-=m \| else \| set guioptions+=m \| endif<cr>
  2693. - GTK: When pasting a selection from Vim to xclipboard gvim crashes with a
  2694. ABRT signal. Probably an error in the file gdkselection.c, the assert
  2695. always fails when XmbTextListToTextProperty() fails. (Tom Allard)
  2696. - GTK 2: gives an assertion error for every non-builtin icon in the toolbar.
  2697. This is a GTK 2.4.x bug, fixed in GTK 2.4.2. (Thomas de Grenier de Latour)
  2698. - When using an xterm that supports the termresponse feature, and the 't_Co'
  2699. termcap option was wrong when Vim started, it will be corrected when the
  2700. termresponse is received. Since the number of colors changes, the
  2701. highlighting needs to be initialized again. This may cause colors defined
  2702. in the vimrc file to be lost.
  2703. - On Windows NT 4.0 the number of files passed to Vim with drag&drop and
  2704. "Edit with Vim" is limited. The maximum command line length is 255 chars.
  2705. --------------------- extensions and improvements ----------------------
  2706. *extensions-improvements*
  2707. Most interesting new features to be added when all bugs have been fixed:
  2708. - Using ":exe edit fname" has escaping problems. Use ":edit ++(fname)".
  2709. Thus use "++=" to give arguments as expressions, comma-separated as if
  2710. calling a function.
  2711. With options: ":edit ++(['!', '++enc=abc'], ['+/pat'], fname)".
  2712. Alternative: Make a function for Ex commands: cmd_edit().
  2713. - Add COLUMN NUMBERS to ":" commands ":line1,line2[col1,col2]cmd". Block
  2714. can be selected with CTRL-V. Allow '$' (end of line) for col2.
  2715. (issue #3292)
  2716. - ECLIPSE plugin. Problem is: the interface is very complicated. Need to
  2717. implement part in Java and then connect to Vim. Some hints from Alexandru
  2718. Roman, 2004 Dec 15. Should then also work with Oracle Jdeveloper, see JSR
  2719. 198 standard http://www.jcp.org/en/jsr/detail?id=198.
  2720. Eclim does it: http://eclim.sourceforge.net/ (Eric Van Dewoestine)
  2721. Plugin that uses a terminal emulator: http://vimplugin.sf.net
  2722. And another one: http://www.satokar.com/viplugin/index.php
  2723. - STICKY CURSOR: Add a way of scrolling that leaves the cursor where it is.
  2724. Especially when using the scrollbar. Typing a cursor-movement command
  2725. scrolls back to where the cursor is.
  2726. - Scroll commands by screen line. g CTRL-E and g CTRL-Y ? Requires the
  2727. first line to be able to start halfway.
  2728. 8 Add a command to jump to a certain kind of tag. Allow the user to specify
  2729. values for the optional fields. E.g., ":tag size type=m".
  2730. Also allow specifying the file and command, so that the result of
  2731. taglist() can be used.
  2732. - X11: Make it possible to run Vim inside a window of another program.
  2733. This can be done with XReparentWindow(). But how exactly?
  2734. Documentation:
  2735. 8 List of Vim runtime directories. dotvim.txt from Charles Campbell, 2007
  2736. Feb 20.
  2737. 8 The GUI help should explain the Find and Find/Replace dialogs. Add a link
  2738. to it from ":promptrepl" and ":promptfind".
  2739. 8 List of options should mention whether environment variables are expanded
  2740. or not.
  2741. 8 Extend usr_27.txt a bit. (Adam Seyfarth)
  2742. 9 Make the Reference Manual more precise. For each command mention:
  2743. - change to cursor position and curswant
  2744. - if it can be undone (u/CTRL-R) and redone (.)
  2745. - how it works for folded lines
  2746. - how it works with multibyte characters
  2747. 8 Spread the windows commands over the other files. For example, ":stag"
  2748. should be with ":tag". Cross-link with tags to avoid too much double
  2749. text.
  2750. 8 Add tags for all features, e.g. "gui_running".
  2751. 7 MS-Windows: When a wrong command is typed with an ALT key, give a hint to
  2752. look at the help for 'winaltkeys'.
  2753. 7 Add a help.vim plugin that maps <Tab> to jump to the next tag in || and
  2754. <C-Tab> (and <S-Tab>) to the previous tag.
  2755. Patch by Balazs Kezes, 2007 Dec 30. Remark from A. Politz.
  2756. - Check text editor compendium for vi and Vim remarks.
  2757. Help:
  2758. - First try using the ":help" argument literally, before using it as a
  2759. pattern. And then match it as part of a tag.
  2760. - When a help item has multiple matches make it possible to use ":tn" to go
  2761. to the other matches.
  2762. - Support a way to view (and edit) .info files.
  2763. - Implement a "sticky" help window, some help text lines that are always
  2764. displayed in a window with fixed height. (Guckes) Use "~/.vimhelp" file,
  2765. user can edit it to insert favorite commands, new account can contain a
  2766. default contents.
  2767. - Make 'winminheight' a local option, so that the user can set a minimal
  2768. height for the help window (and other windows).
  2769. - ":help :s^I" should expand to ":help :substitute".
  2770. - Make the help key (<F1>) context sensitive?
  2771. - Learn mode: show short help while typing commands.
  2772. User Friendlier:
  2773. 8 Windows install with install.exe: Use .exe instead of .bat files for
  2774. links, so that command line arguments are passed on unmodified? (Walter
  2775. Briscoe)
  2776. 8 Windows install: Be able to associate Vim with a selection of file types?
  2777. 8 Windows uninstall: Have uninstal.c delete the vimfiles directories that
  2778. dosinst.c creates. List the contents of the directory (recursively) if
  2779. the user asks for it. Requires an implementation of "rm -rf".
  2780. 8 Remember the name of the vimrc file that was used (~/.vimrc, $VIM/_vimrc,
  2781. $HOME/_vimrc, etc.) and add "edit vimrc" to the File menu.
  2782. - Add a way to save local settings and mappings into a new plugin file.
  2783. ":mkplugin <file>"?
  2784. - Add mappings local to a window: ":map <window> ..." #9339
  2785. 9 Add buffer-local menu. Should offer a choice between removing the menu or
  2786. disabling it. Be careful that tear-offs don't disappear (keep one empty
  2787. item?).
  2788. Alternative: use BufEnter and BufLeave autocommands.
  2789. 8 make a vimtutor script for Amiga and other systems.
  2790. 7 When Vim detects a file is being edited elsewhere and it's a gvim session
  2791. of the same user it should offer a "Raise" button, so that the other gvim
  2792. window can be displayed. (Eduard)
  2793. 8 Support saving and restoring session for X windows? It should work to do
  2794. ":mksession" and use "-S fname" for the restart command. The
  2795. gui_x11_wm_protocol_handler() already takes care of the rest.
  2796. global_event_filter() for GTK.
  2797. Tab pages:
  2798. 9 GUI implementation for the tab pages line for other systems.
  2799. 7 GUI: Control over the appearance of the text in the labels (bold, color,
  2800. font, etc.)
  2801. 8 Make GUI menu in tab pages line configurable. Like the popup menu.
  2802. 8 balloons for the tab page labels that are shortened to show the full path.
  2803. 7 :tabdup duplicate the tab with all its windows.
  2804. 7 Option to put tab line at the left or right? Need an option to specify
  2805. its width. It's like a separate window with ":tabs" output.
  2806. 8 Add local options for each tab page? E.g., 'diffopt' could differ between
  2807. tab pages.
  2808. 7 Add local highlighting for each tab page?
  2809. Spell checking:
  2810. - Support more regions? Caolan McNamara argues it's needed for es_XX.
  2811. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219777
  2812. - Unicode defines another quote character: 0x2019. Use it as an equivalent
  2813. of a single quote, thus use it as a word character like a quote and match
  2814. with words, replacing the curly quote with a single quote.
  2815. - Could filter &eacute; things for HTML before doing spell checking.
  2816. Similarly for TeX.
  2817. - The Hungarian spell file uses four extra characters in the FOL/UPP/LOW
  2818. items than other spell files with the ISO-8859-2 encoding, that causes
  2819. problem when changing 'spelllang'. There is no obvious way to fix this.
  2820. - Considering Hunspell 1.1.4:
  2821. What does MAXNGRAMSUGS do?
  2822. Is COMPLEXPREFIXES necessary when we have flags for affixes?
  2823. - There is no Finnish spell checking file. For openoffice Voikko is now
  2824. used, which is based on Malaga: http://home.arcor.de/bjoern-beutel/malaga/
  2825. (Teemu Likonen)
  2826. 8 ":mkspell" still takes much too long in Hungarian dictionary from
  2827. hunspell. Only solution appears to be to postpone secondary suffixes.
  2828. 8 Handle postponed prefix with COMPOUNDPERMITFLAG or COMPOUNDFORBIDFLAG.
  2829. WFP_COMPPERMIT and WFP_COMPFORBID
  2830. 8 implement use of <compoptions> in .spl file:
  2831. implement CHECKCOMPOUNDREP: when a compound word seems to be OK apply REP
  2832. items and check if the result is a valid word.
  2833. implement CHECKCOMPOUNDDUP
  2834. implement CHECKCOMPOUNDTRIPLE
  2835. Add CHECKCOMPOUNDCASE: when compounding make leading capital lower case.
  2836. How is it supposed to work?
  2837. - Add a command the repeats ]s and z=, showing the misspelled word in its
  2838. context. Thus to spell-check a whole file.
  2839. - suggestion for "KG" to "kg" when it's keepcase.
  2840. - For flags on affixes: Use a "AFFCOMPSET" flag; means the compound flags of
  2841. the word are not used.
  2842. - Support breakpoint character ? 0xb7 and ignore it? Makes it possible to
  2843. use same wordlist for hyphenation.
  2844. - Compound word is accepted if nr of words is <= COMPOUNDWORDMAX OR nr of
  2845. syllables <= COMPOUNDSYLMAX. Specify using AND in the affix file?
  2846. - NEEDCOMPOUND also used for affix? Or is this called ONLYINCOMPOUND now?
  2847. Or is ONLYINCOMPOUND only for inside a compound, not at start or end?
  2848. - Do we need a flag for the rule that when compounding is done the following
  2849. word doesn't have a capital after a word character, even for Onecap words?
  2850. - New hunspell home page: http://hunspell.sourceforge.net/
  2851. - Version 1.1.0 is out now, look into that.
  2852. - Lots of code depends on LANG, that isn't right. Enable each mechanism
  2853. in the affix file separately.
  2854. - Example with compounding dash is bad, gets in the way of setting
  2855. COMPOUNDMIN and COMPOUNDWORDMAX to a reasonable value.
  2856. - PSEUDOROOT == NEEDAFFIX
  2857. - COMPOUNDROOT -> COMPOUNDED? For a word that already is a compound word
  2858. Or use COMPOUNDED2, COMPOUNDED3, etc.
  2859. - CIRCUMFIX: when a word uses a prefix marked with the CIRCUMFIX flag, then
  2860. the word must also have a suffix marked with the CIRCUMFIX flag. It's a
  2861. bit primitive, since only one flag is used, which doesn't allow matching
  2862. specific prefixes with suffixes.
  2863. Alternative:
  2864. PSFX {flag} {pchop} {padd} {pcond} {schop} {sadd}[/flags] {scond}
  2865. We might not need this at all, you can use the NEEDAFFIX flag and the
  2866. affix which is required.
  2867. - When a suffix has more than one syllable, it may count as a word for
  2868. COMPOUNDWORDMAX.
  2869. - Add flags to count extra syllables in a word. SYLLABLEADD1 SYLLABLEADD2,
  2870. etc.? Or make it possible to specify the syllable count of a word
  2871. directly, e.g., after another slash: /abc/3
  2872. - MORPHO item in affix file: ignore TAB and morphological field after
  2873. word/flags and affix.
  2874. - Implement multiple flags for compound words and CMP item?
  2875. Await comments from other spell checking authors.
  2876. - Also see tklspell: http://tkltrans.sourceforge.net/
  2877. 8 Charles Campbell asks for method to add "contained" groups to existing
  2878. syntax items (to add @Spell).
  2879. Add ":syntax contains {pattern} add=@Spell" command? A bit like ":syn
  2880. cluster" but change the contains list directly for matching syntax items.
  2881. - References: MySpell library (in OpenOffice.org).
  2882. http://spellchecker.mozdev.org/source.html
  2883. http://whiteboard.openoffice.org/source/browse/whiteboard/lingucomponent/source/spellcheck/myspell/
  2884. author: Kevin Hendricks <kevin.hendricks@sympatico.ca>
  2885. 8 It is currently not possible to mark "can not" as rare, because "can" and
  2886. "not" are good words. Find a way to let "rare" overrule "good"?
  2887. 8 Make "en-rare" spell file? Ask Charles Campbell.
  2888. 8 The English dictionaries for different regions are not consistent in their
  2889. use of words with a dash.
  2890. 7 Insert mode completion mechanism that uses the spell word lists.
  2891. 8 Add hl groups to 'spelllang'?
  2892. :set spelllang=en_us,en-rare/SpellRare,en-math/SpellMath
  2893. More complicated: Regions with different languages? E.g., comments
  2894. in English, strings in German (po file).
  2895. Diff mode:
  2896. 9 When making small changes, e.g. deleting a character, update the diff.
  2897. Possibly without running diff.
  2898. 8 Also show difference with the file when editing started? Should show what
  2899. can be undone. (Tom Popovich)
  2900. Folding:
  2901. (commands still available: zI zJ zK zp zP zq zQ zV zy zY;
  2902. secondary: zB zS zT zZ, z=)
  2903. - Patch to make closed folds line up. (Charles Campbell, 2014 Sep 12)
  2904. Remark from Roland Eggner: does it cause crashes? (2014 Dec 12)
  2905. Updated patch by Roland Eggner, Dec 16
  2906. Updated patch from Charles, 2016 Jul 2
  2907. - Patch to make fold updates much faster. (Christian Brabandt, 2012 Dec)
  2908. - Patch to have the fold and sign column and at the last line of the buffer.
  2909. (Marco Hinz, 2014 Sep 25)
  2910. Alternate suggestion: let all columns continue, also the number column.
  2911. - Patch to add FoldedLineNr highlighting: different highlighting for the
  2912. line number of a closed fold. (eXerigumo Clanjor, 2013 Jul 15)
  2913. - Patch to use 'foldnestmax' also for "marker" foldmethod. (Arnaud Lacombe,
  2914. 2011 Jan 7)
  2915. - 'foldcolumn' in modeline applied to wrong window when using a session.
  2916. (Teemu Likonen, March 19)
  2917. - With foldmethod=syntax and nofoldenable comment highlighting isn't
  2918. removed. (Marcin Szewczyk, 2017 Apr 26)
  2919. - The ":move" command does not honor closed folds. (Ryan Lue, #2351)
  2920. - When completion inserts the first match, it may trigger the line to be
  2921. folded. Disable updating folds while completion is active? (Peter Odding,
  2922. 2010 Jun 9)
  2923. - When 'foldmethod' is "indent", adding an empty line below a fold and then
  2924. indented text, creates a new fold instead of joining it with the previous
  2925. one. (Evan Laforge, 2009 Oct 17)
  2926. - Add ":nofold". Range will apply without expanding to closed fold.
  2927. 8 Vertical folds: looks like vertically split windows, but the cursor moves
  2928. through the vertical separator, separator moves when scrolling.
  2929. 8 Add "z/" and "z?" for searching in not folded text only. Or use a regexp
  2930. item, so that it can be used in any pattern.
  2931. 8 When a closed fold is displayed open because of 'foldminlines', the
  2932. behavior of commands is still like the fold is closed. How to make the
  2933. user aware of this?
  2934. 8 Add an option 'foldskip' with values like 'foldopen' that specifies which
  2935. commands skip over a closed fold.
  2936. 8 "H" and "L" count buffer lines instead of window lines. (Servatius Brandt)
  2937. 8 Add a way to add fold-plugins. Johannes Zellner has one for VB.
  2938. 7 When using manual folding, the undo command should also restore folds.
  2939. - Allow completely hiding a closed fold. E.g., by setting 'foldtext' to an
  2940. empty string. Require showing a character in 'foldcolumn' to avoid the
  2941. missing line goes unnoticed.
  2942. How to implement this?
  2943. - When pressing the down arrow of a scrollbar, a closed fold doesn't scroll
  2944. until after a long time. How to make scrolling with closed folds
  2945. smoother?
  2946. - When creating a session, also store folds for buffers in the buffer list,
  2947. using the wininfo in wi_folds.
  2948. - When currently editing the first file in the argument list the session
  2949. file can contain:
  2950. args version.c main.c
  2951. edit version.c
  2952. Can editing version.c twice be avoided?
  2953. - 'foldmethod' "textobject": fold on sections and paragraph text objects.
  2954. - "zuf": undo change in manual fold. "zUf" redo change in manual fold. How
  2955. to implement this?
  2956. - "zJ" command: add the line or fold below the fold in the fold under the
  2957. cursor.
  2958. - 'foldmethod' "syntax": "fold=3" argument: set fold level for a region or
  2959. match.
  2960. - Apply a new foldlevel to a range of lines. (Steve Litt)
  2961. Multi-byte characters:
  2962. - When editing a file with both utf-8 and latin1 text Vim always falls back
  2963. to latin1. Add a command to convert the latin1 characters to utf-8?
  2964. :unmix utf-8,latin1 filename
  2965. Would only work when 'encoding' is utf-8.
  2966. 9 When the tail byte of a double-byte character is illegal (e.g., a CR), the
  2967. display is messed up (Yasuhiro Matsumoto). Should check for illegal
  2968. double-byte characters and display them differently (display each single
  2969. byte).
  2970. 9 'fenc' in modeline problem: add option to reload the file when 'fenc' is
  2971. set to a different value in a modeline? Option can be default on. Could
  2972. it be done with an autocommand?
  2973. 8 Add an item in 'fileencodings' to check the first lines of a file for
  2974. the encoding. See Python PEP: http://www.python.org/peps/pep-0263.html.
  2975. To avoid getting a wrong encoding only accept something Emacs-like:
  2976. "-*- coding: enc-na_me.foo -*-" and "-*- coding= enc-na_me.foo -*-"
  2977. Match with "-\*-\s*coding[:=]\s*\([::word::-_.]\+\)\s*-\*-" and use first
  2978. item.
  2979. 8 Add an item in 'fileencodings' to check the first line of an XML file for
  2980. the encoding. <?xml version="1.0" encoding="UTF-8"?> Or "charset=UTF-8"?
  2981. For HTML look for "charset=utf-8".
  2982. 8 When a file was converted from 'fileencoding' to 'encoding', a tag search
  2983. should also do this on the search pattern. (Andrzej M. Ostruszka)
  2984. 8 When filtering changes the encoding 'fileencoding' may not work. E.g.,
  2985. when using xxd and 'fileencoding' is "utf-16". Add an option to set a
  2986. different fileencoding for filter output?
  2987. 7 When converting a file fails, mention which byte could not be converted,
  2988. so that the user can fix the problem.
  2989. 8 Add configure option to be able to disable using the iconv library. (Udo
  2990. Schweigert)
  2991. 9 'aleph' should be set to 1488 for Unicode. (Zvi Har'El)
  2992. 8 Should add test for using various commands with multibyte characters.
  2993. 8 'infercase' doesn't work with multibyte characters.
  2994. 8 toupper() function doesn't handle byte count changes.
  2995. 7 Searching and composing characters:
  2996. When searching, should order of composing characters be ignored?
  2997. Add a special item to match with a composing character, so that composing
  2998. characters can be manipulated.
  2999. 8 Should implement 'delcombine' for command line editing.
  3000. 8 Detect overlong UTF-8 sequences and handle them like illegal bytes.
  3001. 8 ":s/x/\u\1/" doesn't work, making uppercase isn't done for multibyte
  3002. characters.
  3003. 8 UTF-8: "r" in Visual mode doesn't take composing characters.
  3004. 8 UTF-8: When there is a precomposed character in the font, use it instead
  3005. of a character and a composing character. See xterm for an example.
  3006. 7 When a character can't be displayed, display its digraph instead.
  3007. 'display' option to specify this.
  3008. 7 Use ideas for nl_langinfo() from Markus Kuhn in enc_default():
  3009. (www.cl.cam.ac.uk/~mgk25/ucs/langinfo.c)
  3010. - GTK and Win32: Allow selecting fonts for 'guifontset' with the
  3011. fontselector somehow.
  3012. - GTK and Win32: make it possible to set the font for the menu to make it
  3013. possible to have 'encoding' different from the current locale.
  3014. - dbcs_class() only works for Japanese and Korean. Implement this for
  3015. other encodings. The "euc-jp" and "euc-kr" choices might be wrong.
  3016. - Find some way to automatically select the right GUI font or fontset,
  3017. depending on the default value of 'encoding'.
  3018. Irrelevant in the GTK+ 2 GUI so long as UTF-8 is used.
  3019. For Windows, the charset_pairs[] table could be used. But how do we know
  3020. if a font exists?
  3021. - Do keyboard conversion from 'termencoding' to 'encoding' with
  3022. convert_input() for Mac GUI.
  3023. - Add mnemonics from RFC1345 longer than two characters.
  3024. Support CTRL-K _{mnemonic}_
  3025. - Make 'breakat' accept multibyte characters. Problem: can't use a lookup
  3026. table anymore (breakat_flags[]).
  3027. Simplistic solution: when 'formatoptions' contains "m" also break a line
  3028. at a multibyte character >= 0x100.
  3029. Making breakat support multibyte characters (Yasuhiro Matsumoto, #6598)
  3030. Scroll doesn't work correctly, why?
  3031. - Add the possibility to enter mappings which are used whenever normal text
  3032. could be entered. E.g., for "f" command. But not in Normal mode. Sort
  3033. of opposite of 'langmap'. Use ":amap" command?
  3034. - When breaking a line, take properties of multibyte characters into
  3035. account. The "linebreak" program from Bruno Haible can do it:
  3036. ftp://ftp.ilog.fr/pub/Users/haible/gnu/linebreak-0.1.tar.gz
  3037. But it's very complicated...
  3038. - Problem with 'langmap' being used on the rhs of a mapping. (Nikolai
  3039. Weibull, 2008 May 14).
  3040. Possibly related problem: Alexey Muranov, 2015 Apr 2
  3041. Printing:
  3042. 7 Implement "undercurl" for printing.
  3043. - Add "page width" to wrap long lines.
  3044. - Win32: use a font dialog for setting 'printfont'. Can reuse the code for
  3045. the 'guifont' dialog, put the common code in a separate function.
  3046. - Add the file timestamp to the page header (with an option). (George
  3047. Reilly)
  3048. - Win32: when 'printfont' is empty use 'guifont'.
  3049. - Unix: Use some dialog box to do the obvious settings (paper size, printer
  3050. name, portrait/landscape, etc).
  3051. - PostScript: Only works for text that can be converted to an 8-bit
  3052. character set. How to support Unicode fully?
  3053. - Allow specifying the paper size, instead of using a standard size. Same
  3054. units as for the margins.
  3055. - Support right-to-left text?
  3056. 8 Make the foreground color darkening function preserve the hue of the
  3057. color.
  3058. Syntax highlighting:
  3059. Long term goal: faster, better, etc. Options:
  3060. - use treesitter, NeoVim uses it - Many people don't like it.
  3061. After changes requires rebuilding the library.
  3062. - use TextMate, vscode uses it. #9087 - Other people don't like it.
  3063. https://github.com/icedman/vim-textmate
  3064. Vscode is asked to switch to treesitter:
  3065. https://github.com/microsoft/vscode/issues/50140
  3066. - sublime grammar?
  3067. 8 Make ":syn off" use 'runtimepath' instead of $VIMRUNTIME. (Gary Johnson)
  3068. Should do the same for ":syn on" and ":syn manual".
  3069. 8 Support "containedin" argument for ":syn include", so that the defined
  3070. cluster can be added to existing syntax items.
  3071. 8 C syntax: Don't highlight {} as errors inside () when used like this:
  3072. "({ something })", often used in GCC code.
  3073. 7 Add a "startgroup" to a region. Used like "nextgroup" inside the region,
  3074. preferred item at the start of the region. (Charles Campbell)
  3075. 8 When editing a new file without a name and giving it a name (by writing
  3076. it) and 'filetype' is not set, detect the filetype. Avoid doing it for
  3077. ":wq file".
  3078. 7 For "nextgroup" we have skipwhite, skipnl and skipempty. It would be
  3079. really nice to be able to skip with a pattern. Or skip with a syntax
  3080. group. (Nikolai Weibull, 2007 Feb 27)
  3081. 8 Make conversion to HTML faster (Write it in C or pre-compile the script).
  3082. 9 There is still a redraw bug somewhere. Probably because a cached state is
  3083. used in a wrong way. I can't reproduce it...
  3084. 7 Be able to change only the background highlighting. Useful for Diff* and
  3085. Search highlighting.
  3086. 7 When 'number' is set highlight the number of the current line.
  3087. Must be enabled with an option, because it slows down display updating.
  3088. 8 Allow the user to add items to the Syntax menu sorted, without having to
  3089. change this for each release.
  3090. 8 Add a "matchcontains" for regions: items contained in the start or end
  3091. pattern, but not in the body.
  3092. 8 Add a "keepend-contained" argument: Don't change the end of an item this
  3093. one is contained in. Like "keepend" but specified on the contained item,
  3094. instead of the containing item.
  3095. 8 cpp.vim: In C++ it's allowed to use {} inside ().
  3096. 8 Some syntax files set 'iskeyword', they should use "syn iskeyword".
  3097. Also need a separate 'iskeyword' for the command line, e.g., in a help
  3098. window ":e /asdf/asdf/" CTRL-W works different.
  3099. 8 Add specific syntax item to match with parens/braces that don't have a
  3100. "%" match. :syntax nomatch cMatchError (,{,[,),},] [contained]
  3101. 8 Highlight the text between two matching parens (e.g., with a grey
  3102. background) when on one of the parens or in between them.
  3103. Option for the matchparen plugin?
  3104. 8 When using a cterm, and no ctermfg or ctermbg are defined, use start/stop
  3105. sequences. Add remark in docs that :if 'term' == "term-name" should be
  3106. used.
  3107. 8 Add @spell cluster to String and Comment groups for many languages. Will
  3108. allow spell checking. (Fleiner)
  3109. 8 When listing syntax items, try to sort the keywords alphabetically. And
  3110. re-insert the [] if possible.
  3111. 8 Make it possible to use color of text for Visual highlight group (like for
  3112. the Cursor).
  3113. 8 It would be useful to make the highlight group name an expression. Then
  3114. when there is a match, the expression would be evaluated to find out what
  3115. highlight group to use. Could be used to check if the shell used in a
  3116. password file appears in /etc/shells. (Nikolai Weibull)
  3117. syn match =s:checkShell(v:match) contained 'pattern'
  3118. 8 Make it possible to only highlight a sub-expression of a match. Like
  3119. using "\1" in a ":s" command.
  3120. 8 Support for deleting syntax items:
  3121. :syn keyword cTodo remove this
  3122. :syn match cTodo remove "pattern"
  3123. :syn region cString remove start="this" end="that"
  3124. 8 Add possibility to sync on something else, when the syncing in one way
  3125. doesn't find match. For HTML: When no {script} is found, try looking for
  3126. a '<'. (Fleiner)
  3127. 7 Replace the synchronizing method with a state machine specification?
  3128. Should be able to start at any line in the file, search forwards or
  3129. backwards, and use the result of matching a pattern.
  3130. 7 Use parsing like awk, so that e.g., a ( without a matching ) can be
  3131. detected.
  3132. 8 Make it possible to use "inverted" highlighting, invert the original
  3133. character. For Visual mode. (xterm-selection already does this).
  3134. 8 Highlight non-printable characters with "SpecialChar", linked to
  3135. "Special". Display them with the digraph characters, if possible.
  3136. 8 Highlight the clipboard-selection with a highlight group.
  3137. 8 Be able to reset highlighting to its original (default) values.
  3138. 7 Be able to write current highlighting to a file as commands, similar to
  3139. ":mkvimrc".
  3140. 8 Improve c.vim:
  3141. - Add check for unterminated strings, with a variable to switch it on:
  3142. "c_strict_ansi".
  3143. - Detect unbalanced "#endif". Requires looking back a long way...
  3144. 8 Add an option to restrict the updating of syntax highlighting to the
  3145. current line while in Insert mode.
  3146. 8 When guessing value of 'background', the syntax file has already been
  3147. loaded (from the .gvimrc). After changing 'background', load it again?
  3148. 8 Add ":syn resync" command, to re-parse the whole file until the current
  3149. display position.
  3150. 8 Should support "me" offset for a region start pattern. To be used to
  3151. allow searching for the end pattern inside the match of the end pattern.
  3152. Example: syn region pikeXX start="([^{]" end=")" should work on "()".
  3153. 8 When using a regexp for "contains=", should delay matching with it until
  3154. redrawing happens. Set a flag when a group is added, check this flag when
  3155. highlighting starts.
  3156. 7 It's possible for an item to be transparent, so that the colors of an item
  3157. lower on the stack is used. Also do this with highlighting, so that the
  3158. user can set transparent highlighting? E.g. a number in a C comment would
  3159. get the color of a comment, a number in an assignment Normal. (Nikolai
  3160. Weibull)
  3161. 7 Add "semitrans": Add highlighting. E.g., make the text bold, but keep the
  3162. colors. And add colors, so that Green+Red becomes Yellow.
  3163. E.g. for this html:
  3164. <B> bold text <I> italic+bold text </B> italic text </I>
  3165. 7 CTRL-] checks the highlight group for finding out what the tag is.
  3166. 7 Add an explanation how a list of words can be used to highlight misspelled
  3167. words.
  3168. 7 Should find a better way to parse the :syntax and :highlight commands.
  3169. Use tables or lists that can be shared by parsing for execution and
  3170. completion?
  3171. 8 Add ColorSchemePost autocommand event, so that scripts can set up their
  3172. highlighting. (Salman Halim)
  3173. 7 Add a few sets of colors (e.g. Borland Turbo C one). With a menu to
  3174. select one of the sets.
  3175. 8 Add offsets to sub-matches: "\(a*\) *"he=e1-1
  3176. 'e' is end of match 'e1' is end of sub-match 1, 's2' is start of submatch
  3177. 2, etc.
  3178. 8 In Insert mode, when there are typeahead characters, postpone the
  3179. highlighting (for "." command).
  3180. 8 Syncing on comments isn't 100% correct when / / lines mix with / * and * /.
  3181. For example: What about a line that starts with / / and contains * /?
  3182. 8 Ignore / * and * / inside strings, when syncing.
  3183. 7 Build a few more syntax files from the file "/usr/share/misc/vgrindefs":
  3184. ISP, LDL, Icon, ratfor. And check "nedit/source/highlight.c".
  3185. 6 Add possibility to have background color continue until the right edge of
  3186. the window. Useful for comment blocks and function headings. (Rogall)
  3187. - Make it possible to add "contains" items for all items in a group. Useful
  3188. when extending an already existing syntax file.
  3189. - Add line-continuation pattern for non-syncing items too?
  3190. - Add possibility to highlight the whole line, including the right margin
  3191. (for comment blocks).
  3192. - Add 'hlmatch' option: List of flags:
  3193. 'c': highlight match for character under the cursor.
  3194. 'b': highlight the previous (, and its match.
  3195. 'a': highlight all text from the previous ( until its match.
  3196. Also for {}, <>, etc.?
  3197. 'e': highlight all braces without a match (slow?)
  3198. OR: add an argument "cursor" to the syntax command, which means that the
  3199. region/match/keyword is only highlighted when the cursor is on it.
  3200. (Campbell)
  3201. Or do it like Elvis: define text objects and how to highlight them around
  3202. the cursor. (Iain Truskett)
  3203. 7 Make it possible to use all words in the tags files as Keyword.
  3204. Can also be done with a script (but it's slow).
  3205. 7 Make it possible to call a ":" command when a match is found. Should
  3206. allow for adding keywords from the text (e.g. variables that are set).
  3207. And allows for sections with different highlighting.
  3208. 7 Add highlight group for commandline: "Commandline". Make sure it
  3209. highlights the command line while typing a command, and any output from
  3210. messages. And external commands?
  3211. 8 Make a version that works like less, but with highlighting: read stdin for
  3212. text, exit at end of file, don't allow editing, etc. moreim? lessim?
  3213. 7 SpecialKey highlighting overrules syntax highlighting. Can't give an
  3214. unprintable char another color. Would be useful for ^M at end of line.
  3215. - Syntax highlight for a region does not work with a "nextgroup" if the
  3216. start match is empty. #8449
  3217. - The :syntax cchar value can only be a single character. It would be
  3218. useful to support combining characters. (Charles Campbell) Also #4687
  3219. - Syntax highlighting slow (hangs) in SASS file. (Niek Bosch, 2013 Aug 21)
  3220. - Several syntax file match "^\s*" which may get underlined if that's in the
  3221. highlight group. Add a "\zs" after it?
  3222. - patch to add "combine" flag to syntax commands. (so8res, 2012 Dec 6)
  3223. Patch to add "combine" to :syntax, combines highlight attributes. (Nate
  3224. Soares, 2012 Dec 3)
  3225. - Syntax update problem in one buffer opened in two windows, bottom window
  3226. is not correctly updated. (Paul Harris, 2012 Feb 27)
  3227. - Syntax region with 'concealends' and a 'cchar' value, 'conceallevel' set
  3228. to 2, only one of the two ends gets the cchar displayed. (Brett Stahlman,
  3229. 2010 Aug 21, Ben Fritz, 2010 Sep 14)
  3230. - Using "syn sync breaklines=2" works for when text is changed, but not when
  3231. scrolling or redrawing. Should start search for syntax patterns above the
  3232. first drawn line. (#8103)
  3233. - Syntax priority problem. (Charles Campbell, 2011 Sep 15)
  3234. - Syntax highlighting wrong for transparent region. (Doug Kearns, 2007 Feb
  3235. 26)
  3236. - Bug in using a transparent syntax region. (Hanlen in vim-dev maillist,
  3237. 2007 Jul 31)
  3238. - Syntax HL error caused by "containedin". (Peter Hodge, 2006 Oct 6)
  3239. - Open two windows on the same C code, delete a ")" in one window, resulting
  3240. in highlighted "{" in that window, not in the other.
  3241. - When using "nextgroup" and the group has an empty match, there is no
  3242. search at that position for another match. (Lukas Mai, 2008 April 11)
  3243. Vim script language:
  3244. 8 Make the filename and line number available to script functions, so that
  3245. they can give useful debugging info. The whole call stack would be ideal.
  3246. At least use this for error messages.
  3247. 7 Execute a function with standard option values. No need to save and
  3248. restore option values. Especially useful for new options. Problem: how
  3249. to avoid a performance penalty (esp. for string options)?
  3250. - range for ":exec", pass it on to the executed command. (Webb)
  3251. 7 ":include" command: just like ":source" but doesn't start a new scriptID?
  3252. Will be tricky for the list of script names.
  3253. 8 Have a look at VSEL. Would it be useful to include? (Bigham)
  3254. 8 Have a prefix for a function to make it unique. When using packages it
  3255. can be the plugin name.
  3256. Perhaps also have a way to remove everything that the package added?
  3257. including autocommands.
  3258. 7 Pre-parse or compile Vim scripts into a bytecode, like :def functions.
  3259. Possibilities:
  3260. 1. Put the bytecode with the original script, with an ":if
  3261. has('bytecode-1234')" around it, so that it's only used with a Vim that
  3262. supports the version. Update the code with a command, can be used in
  3263. an autocommand.
  3264. 2. Use a ".vic" file (like Python use .pyc). Create it when writing a
  3265. .vim file. Problem: distribution, non-writable directory, etc.
  3266. 3. Use a cache directory for each user. Disadvantage: cache lookup may
  3267. cost more time than bytecode wins.
  3268. 7 Add argument to winwidth() to subtract the space taken by 'foldcolumn',
  3269. signs and/or 'number'.
  3270. 6 Add ++ and -- operators? They only work on variables (lvals), how to
  3271. implement this?
  3272. 8 Add functions:
  3273. has(":command") Check if ":command" works. compare function
  3274. with "ex_ni". E.g. for ":simalt".
  3275. escape() Add argument to specify what to escape with.
  3276. modestack() Instead of just the current mode return the
  3277. stack of Insert / CTRL-O / :normal things.
  3278. realname() Get user name (first, last, full)
  3279. user_fullname() patch by Nikolai Weibull, Nov
  3280. 3 2002
  3281. Only add this when also implemented for
  3282. non-Unix systems, otherwise a shell cmd could
  3283. be used.
  3284. get_user_name() gets login name.
  3285. menuprop({name}, {idx}, {what})
  3286. Get menu property of menu {name} item {idx}.
  3287. menuprop("", 1, "name") returns "File".
  3288. menuprop("File", 1, "n") returns "nmenu
  3289. File.Open..." argument.
  3290. Patch by Ilya Sher, 2004 Apr 22
  3291. Return a list of menus and/or a dictionary
  3292. with properties instead.
  3293. mapname({idx}, mode) return the name of the idx'th mapping.
  3294. Patch by Ilya Sher, 2004 Mar 4.
  3295. Return a list instead.
  3296. char2hex() convert char string to hex string.
  3297. crypt() encrypt string
  3298. decrypt() decrypt string
  3299. base64enc() base 64 encoding
  3300. base64dec() base 64 decoding
  3301. attributes() return file protection flags "drwxrwxrwx"
  3302. filecopy(from, to) Copy a file
  3303. shorten(fname) shorten a file name, like home_replace()
  3304. perl(cmd) call Perl and return string
  3305. inputrl() like input() but right-to-left
  3306. typed() return the characters typed and consumed (to
  3307. find out what happened)
  3308. virtualmode() add argument to obtain whether "$" was used in
  3309. Visual block mode.
  3310. getacp() Win32: get codepage (Glenn Maynard)
  3311. libcall() Allow more than one argument.
  3312. libcallext() Like libcall(), but using a callback function
  3313. to allow the library to execute a command or
  3314. evaluate an expression.
  3315. 7 Make bufname("'0") return the buffer name from mark '0. How to get the
  3316. column and line number? col("'0") currently returns zero.
  3317. 8 argc() returns 0 when using "vim -t tag". How to detect that no file was
  3318. specified in any way? To be able to jump to the last edited file.
  3319. 8 Pass the command line arguments to Vim scripts in some way. As v:args
  3320. List? Or extra parameter to argv()?
  3321. 8 Add command arguments with three dashes, passed on to Vim scripts.
  3322. 6 User functions: Functions local to buffer "b:func()"?
  3323. 8 For Strings add ":let var[{expr}] = {expr}". When past the end of "var"
  3324. just ignore.
  3325. 8 The "= register should be writable, if followed by the name of a variable,
  3326. option or environment variable.
  3327. 8 ":let &option" should list the value of the option.
  3328. 8 ":let Func().foo = value" should work, also when "foo" doesn't exist.
  3329. Also: ":let Func()[foo] = value" should work. Same for a List.
  3330. 7 Add synIDlist(), making the whole list of syntax items on the syntax stack
  3331. available as a List.
  3332. 8 Add autocommand-event for when a variable is changed:
  3333. :au VarChanged {varname} {commands}
  3334. 8 Add "has("gui_capable")", to check if the GUI can be started.
  3335. 8 Add possibility to use variables like registers: characterwise (default),
  3336. linewise (when ending in '\n'), blockwise (when ending in '\001'). reg0,
  3337. rega, reg%, etc. Add functions linewise({expr}), blockwise({expr}) and
  3338. charwise({expr}).
  3339. 7 Make it possible to do any command on a string variable (make a buffer
  3340. with one line, containing the string). Maybe add an (invisible) scratch
  3341. buffer for this?
  3342. result = scratch(string, command)
  3343. result = apply(string, command)
  3344. result = execute(string, command)
  3345. "command" would use <> notation.
  3346. Does scratch buffer have a number? Or re-use same number?
  3347. 7 Add function to generate unique number (date in milliseconds).
  3348. Robustness:
  3349. 6 Add file locking. Lock a file when starting to edit it with flock() or
  3350. fcntl(). This patch has advisory file locking while reading/writing
  3351. the file for Vim 5.4: ~/vim/patches/kahn_file_locking .
  3352. The patch is incomplete (needs support for more systems, autoconf).
  3353. Andy doesn't have time to work on it.
  3354. Disadvantage: Need to find ways to gracefully handle failure to obtain a
  3355. lock. When to release a lock: When buffer is unloaded?
  3356. Performance:
  3357. 7 For string variables up to 3 bytes don't allocate memory, use v_list
  3358. itself as a character array. Use VAR_SSTRING (short string).
  3359. 7 Add 'lazysize' option: Above this size Vim doesn't load everything before
  3360. starting to edit a file. Things like 'fileencodings' only work up to this
  3361. size, modelines only work at the top. Useful for large log files where
  3362. you only want to look at the first few pages. Use zero to disable it.
  3363. 8 move_lines() copies every line into allocated memory, making reloading a
  3364. buffer a lot slower than re-editing the file. Can the memline be locked
  3365. so that we don't need to make a copy? Or avoid invoking ml_updatechunk(),
  3366. that is taking a lot of time. (Ralf Wildenhues, 2008 Jul 7)
  3367. With a patch, but does it work?
  3368. 8 Turn b_syn_ic and b_syn_containedin into b_syn_flags.
  3369. 9 Loading menu.vim still takes quite a bit of time. How to make it faster?
  3370. 8 in_id_list() takes much time for syntax highlighting. Cache the result?
  3371. 7 setpcmark() shifts the jumplist, this takes quite a bit of time when
  3372. jumping around. Instead use an index for the start?
  3373. 8 When displaying a space with only foreground highlighting, it's the same
  3374. as a space without attributes. Avoid displaying spaces for the "~" lines
  3375. when starting up in a color terminal.
  3376. 8 Avoid alloc() for scratch buffer use, esp. in syntax.c. It's very slow on
  3377. Win16.
  3378. 8 Profiling shows that in_id_list() is used very often for C code. Can this
  3379. function be improved?
  3380. 8 For an existing file, the page size of the swap file is always the
  3381. default, instead of using the block size of the device, because the swap
  3382. file is created only after setting the block size in mf_open(). How can
  3383. this be improved?
  3384. 8 Set default for 'ttyscroll' to half a screen height? Should speed up
  3385. MS-DOS version. (Negri)
  3386. 7 C syntax highlighting gets a lot slower after ":set foldmethod=syntax".
  3387. (Charles Campbell) Inserting a "{" is very slow. (dman)
  3388. 7 HTML syntax highlighting is slow for long lines. Try displaying
  3389. http://www.theregister.co.uk/content/4/22908.html. (Andre Pang)
  3390. 7 Check how performance of loading the wordlist can be improved (adding a
  3391. lot of abbreviations).
  3392. 7 Compile Ex commands to byte codes. Store byte codes in a vim script file
  3393. at the end, after "compiled:. Make it look like a single comment line
  3394. for old Vim versions. Insert first line "Vim script compiled <timestamp>.
  3395. Only used compiled code when timestamp matches the file stat.
  3396. Add command to compile a vim script and add it to the file in-place.
  3397. Split Ex command executing into a parsing and executing phase.
  3398. Use compiled code for functions, while loops, etc.
  3399. 8 When defining autocommands (e.g., from $VIMRUNTIME/filetype.vim), need to
  3400. compare each pattern with all existing patterns. Use a hash code to avoid
  3401. using strcmp() too often?
  3402. 7 Include turbo_loader patches, speeding up reading a file?
  3403. Speed up reading a file by reading it into a fixed-size buffer, creating
  3404. the list of indexes in another buffer, and then copying the result into a
  3405. memfile block with two copies. Then read the next block into another
  3406. fixed-size buffer, create the second list of indexes and copy text from
  3407. the two blocks to the memfile block.
  3408. 7 do_cmdline(): Avoid that the command line is copied to allocated memory
  3409. and freed again later all the time. For while loops, and for when called
  3410. with an argument that can be messed with.
  3411. Generic solution: Make a struct that contains a pointer and a flag that
  3412. indicates if the pointer should be freed when replaced.
  3413. 7 Check that the file size is not more than "sizeof(long)".
  3414. - Further improve finding mappings in maphash[] in vgetorpeek()
  3415. 8 Syntax highlighting is slow when deleting lines. Try in
  3416. $VIMRUNTIME/filetype.vim.
  3417. - "out of memory" after deleting (1,$d) and changing (:%s/^/> /) a lot of
  3418. lines (27000) a few times. Memory fragmentation?
  3419. - Have a look at how pdksh does memory allocation (alloc.c). (Dalecki)
  3420. - Do profiling on:
  3421. - :g/pat/normal cmd
  3422. - deleting 10Mbyte worth of lines (netscape binary)
  3423. - "[i" and "[d" (Yegappan Lakshmanan)
  3424. - ":g/^/m0" on a 450Kbyte file. And the "u".
  3425. - highlighting "~/vim/test/longline.tex", "~/vim/test/scwoop.tcl" and
  3426. "~/vim/test/lockup.pl".
  3427. - loading a syntax file to highlight all words not from a dictionary.
  3428. - editing a Vim script with syntax highlighting on (loading vim.vim).
  3429. 7 Screen updating can be further improved by only redrawing lines that were
  3430. changed (and lines after them, when syntax highlighting was used, and it
  3431. changed).
  3432. - On each change, remember start and end of the change.
  3433. - When inserting/deleting lines, remember begin, end, and line count.
  3434. - Use macros/duarte/capicua for profiling. Nvi 1.71 is the fastest!
  3435. - When using a file with one long line (1Mbyte), then do "$hhhh", is still
  3436. very slow. Avoid calling getvcol() for each "h"?
  3437. - Executing a register, e.g. "10000@@" is slow, because ins_typebuf has to
  3438. move the previous commands forward each time. Pass count from
  3439. normal_cmd() down to do_execreg().
  3440. - Avoid calls to plines() for cursor line, use w_cline_height.
  3441. - After ":set nowrap" remove superfluous redraw with wrong hor. offset if
  3442. cursor is right of the screen.
  3443. 8 Make CTRL-C on Unix generate a signal, avoid using select() to check for a
  3444. CTRL-C (it's slow).
  3445. Code size:
  3446. 8 GUI: When NO_CONSOLE is defined, more code can be excluded.
  3447. - Put getline() and cookie in a struct, so only one argument has to be
  3448. passed to do_cmdline() and other functions.
  3449. 8 Make a GUI-only version for Unix?
  3450. 8 In buf_write _() isn't needed when setting errmsg, do it once when using
  3451. it.
  3452. 7 When compiling with a GUI-only version, the code for cterm colors can be
  3453. left out.
  3454. 8 When compiled with a GUI-only version, the termcap entries for terminals
  3455. can be removed.
  3456. 8 Can the check for libelf in configure.ac be removed?
  3457. Messages:
  3458. 8 When using ":q" in a changed file, the error says to "add !". Add the
  3459. command so that beginners understand it: "use :q!".
  3460. 8 For 'verbose' level 12 prints commands from source'ed files. How to skip
  3461. lines that aren't executed? Perhaps move the echoing to do_cmdline()?
  3462. 8 Use 'report' for ":bdel"? (Krishna) To avoid these messages when using a
  3463. script.
  3464. - Delete message after new command has been entered and have waited for key.
  3465. Perhaps after ten seconds?
  3466. - Make message history available in "msg" variables: msg1, msg2, .. msg9.
  3467. 9 Check handling of overwriting of messages and delays:
  3468. Very wrong: errors while redrawing cause endless loop.
  3469. When switching to another file and screen scrolls because of the long
  3470. message and return must be typed, don't scroll the screen back before
  3471. redrawing.
  3472. 8 When address range is wrong you only get "Invalid range". Be a bit more
  3473. specific: Negative, beyond last line, reverse range? Include the text.
  3474. 8 Make it possible to ignore errors for a moment ('errorignore'?). Another
  3475. option to switch off giving error messages ('errorquiet'?). Also an option
  3476. not to give any messages ('quiet')? Or ":quiet on", ":quiet off".
  3477. Careful: For a severe error (out of memory), and when the user starts
  3478. typing, error messages must be switched back on.
  3479. Also a flag to ignore error messages for shell commands (for mappings).
  3480. - Option to set time for emsg() sleep. Interrupt sleep when key is typed?
  3481. Sleep before second message?
  3482. 8 In Ex silent mode or when reading commands from a file, what exactly is
  3483. not printed and what is? Check ":print", ":set all", ":args", ":vers",
  3484. etc. At least there should be no prompt. (Smulders) And don't clear the
  3485. screen when reading commands from stdin. (Kendall)
  3486. --> Make a difference between informative messages, prompts, etc. and
  3487. error messages, printing text, etc.
  3488. 8 Window should be redrawn when resizing at the hit-enter prompt.
  3489. Also at the ":tselect" prompt. Find a generic solution for redrawing when
  3490. a prompt is present (with a callback function?).
  3491. Screen updating:
  3492. - screen_line():
  3493. - insert/delete character stuff.
  3494. - improve delete rest of line (spaces at end of line).
  3495. - When moving or resizing window, try to avoid a complete redraw (esp. when
  3496. dragging the status line with the mouse).
  3497. - When 'lazyredraw' set, don't echo :ex commands? Need a flag to redraw when
  3498. waiting for a character.
  3499. 8 Add a ":refresh [winnr]" command, to force updating a window. Useful from
  3500. an event handler where ":normal" can't be used. Also useful when
  3501. 'lazyredraw' is set in a mapping.
  3502. Scrolling:
  3503. 8 Add "zy" command: scroll horizontally to put the cursor in the middle.
  3504. 6 Add option to set the overlap for CTRL-F and CTRL-B. (Garhi)
  3505. - extend 'scrollbind' option: 'scrollopt' words "search", "relative", etc..
  3506. Also 'e'xecute some commands (search, vertical movements) in all bound
  3507. windows.
  3508. 7 Add 'scrollbind' feature to make the offset of one window with the next
  3509. one equal to the window height. When editing one file in both windows it
  3510. looks like each window displays a page of the buffer.
  3511. - Allow scrolling by dragging with the mouse (grab a character and move it
  3512. up/down). Like the "hand" in Acrobat reader. Use Alt-LeftMouse for this?
  3513. (Goldfarb)
  3514. - Add command to execute some commands (search, vertical movements) in all
  3515. bound windows.
  3516. - Add 'search' option to 'scrollopt' to allow 'scrollbind' windows to
  3517. be bound by regexp searches
  3518. - Add "z>" and "z<": scroll sideways one screenful. (Campbell)
  3519. - Add option to set the number of lines when not to scroll, instead of the
  3520. fixed number used now (for terminals that scroll slow with a large number
  3521. of lines but not with a single line).
  3522. Autoconf:
  3523. 8 Should use acconfig.h to define prototypes that are used by autoheader.
  3524. 8 Some compilers don't give an error for "-OPT:Olimit" but a warning. (Webb)
  3525. Add a check for the warning, so that "Olimit" can be added automatically?
  3526. - Autoconf: Use @datadir@ for the system independent files. Make sure the
  3527. system dependent and system independent files are separated. (Leitner).
  3528. - Add autoconf check for waitpid()/wait4().
  3529. - Remove fcntl() from autoconf, all systems have it?
  3530. - Set default for 'dictionary', add search for dictionary to autoconf.
  3531. Perl interface:
  3532. 8 Rename typemap file to something else?
  3533. 7 Make buffers accessed as Perl arrays. (Clark)
  3534. 7 Make it possible to compile with non-ANSI C?
  3535. 6 Tcl/Tk has the "load" command: load a shared library (.so or .dll).
  3536. Shared libraries:
  3537. 8 libcall() can keep the library around instead of always calling dlclose().
  3538. (Jason Felice, 2018 Mar 20)
  3539. 6 Add support for loading shared libraries, and calling functions in it.
  3540. :libload internal-name libname
  3541. :libunload internal-name
  3542. :liblist
  3543. :libcall internal-name function(arg1, arg2, ...)
  3544. :libcall function(arg1, arg2, ...)
  3545. libcall() can have only one integer or String argument at the moment.
  3546. 6 Have a look on how Perl handles loading dynamic libraries.
  3547. Tags:
  3548. 9 With ":set tags=./tags,../tags" and a tag appears in both tags files it is
  3549. added twice. Requires figuring out the actual file name for each found
  3550. match. Remove tag_fname from the match and combine it with the fname in
  3551. the match (without expanding or other things that take time). When
  3552. 'tagrelative' is off tag_fname isn't needed at all.
  3553. 8 For 'tags' wildcard in the file name is not supported, only in the path.
  3554. This is due to it using |file-searching|. Suboptimal solution would be to
  3555. make the filename or the whole option use |wildcards| globing, better
  3556. would be to merge the 2 kinds of globing. originally (Erik Falor, 2008
  3557. April 18), updated (Ian Kelling, 2008 July 4)
  3558. 7 Can CTRL-] (jump to tag) include a following "." and "->" to restrict the
  3559. number of possible matches? Check tags file for an item that has members.
  3560. (Flemming Madsen)
  3561. 8 Scope arguments for ":tag", e.g.: ":tag class:cPage open", like Elvis.
  3562. 8 When output of ":tselect" is long, getting the more-prompt, should be able
  3563. to type the tag number directly.
  3564. 7 Add the possibility to use the "-t {tag}" argument multiple times. Open a
  3565. window for each tag.
  3566. 7 Make output of ":tselect" a bit nicer. Use highlighting?
  3567. 7 Highlight the "tag 1 of >2" message. New highlight group, or same as "hit
  3568. bottom" search message.
  3569. 7 When using ":tag" at the top of the tag stack, should add another entry,
  3570. so CTRL-T can bring you back to where you are now AND to where you were
  3571. before the previous ":tag" command. (Webb)
  3572. - When doing "[^I" or "[^D" add position to tag stack.
  3573. - Add command to put current position to tag stack: ":tpush".
  3574. - Add functions to save and restore the tag stack? Or a command to switch
  3575. to another tag stack? So that you can do something else and come back to
  3576. what you were working on.
  3577. 7 When using CTRL-] on someClass::someMethod, separate class from method and
  3578. use ":ta class:someClass someMethod".
  3579. Include C++ tags changes (Bertin). Change "class::func" tag into "func"
  3580. with "class=class"? Docs in oldmail/bertin/in.xxx.
  3581. 7 Add ":tagargs", to set values for fields:
  3582. :tagargs class:someclass file:version.c
  3583. :tagargs clear
  3584. These are then the default values (changes the order of priority in tag
  3585. matching).
  3586. 7 Support for "gtags" and "global"? With ":rtag" command?
  3587. There is an example for how to do this in Nvi.
  3588. Or do it like Elvis: 'tagprg' and 'tagprgonce' options. (Yamaguchi)
  3589. The Elvis method is far more flexible, do it that way.
  3590. 7 Support "col:99" extra field, to position the cursor in that column. With
  3591. a flag in 'cpoptions' to switch it off again.
  3592. 7 Better support for jumping to where a function or variable is used. Use
  3593. the id-utils, with a connection to "gid" (Emacs can do it too). Add
  3594. ":idselect", which uses an "ID" database (made by "mkid") like "tselect".
  3595. Win32 GUI:
  3596. 8 Make debug mode work while starting up (vim -D). Open console window for
  3597. the message and input?
  3598. 7 GvimExt: when there are several existing Vims, move the list to a submenu.
  3599. (Mike McCollister)
  3600. 8 When using "Edit with Vim" for one file it changes directory, when several
  3601. files are selected and using "Edit with single Vim" the directory isn't
  3602. changed. At least change directory when the path is the same for all
  3603. files. Perhaps just use the path of the first file or use the longest
  3604. common part of the path.
  3605. 8 Add font argument to set the lfCharSet. (Bobcik)
  3606. 8 Somehow automatically detect the system language and set $LANG, so that
  3607. gettext and menus work.
  3608. 8 Could keep console open to run multiple commands, to avoid the need to hit
  3609. return in every console.
  3610. Also: Look at how Emacs does run external commands:
  3611. http://www.cs.washington.edu/homes/voelker/ntemacs.html.
  3612. 8 Need a separate PopUp menu for modeless selection. Need two new commands:
  3613. Copy selection to clipboard, Paste selection (as typed text).
  3614. 8 Support copy/paste for other file formats. At least HTML, perhaps RTF.
  3615. Add "copy special" and "paste special" commands?
  3616. 7 Use different default colors, to match the current Windows color scheme.
  3617. Sys_WindowText, Sys_Window, etc. (Lionel Schaffhauser)
  3618. 7 Use <C-Tab> to cycle through open windows (e.g., the find dialog).
  3619. 7 <Esc> should close a dialog.
  3620. 7 Keep the console for external commands open. Don't wait for a key to be
  3621. hit. Re-open it when the user has closed it anyway. Or use a prepended
  3622. command: ":nowait {cmd}", or ":quiet", which executes {cmd} without any
  3623. prompts.
  3624. 7 Should be able to set an option so that when you double click a file that
  3625. is associated with Vim, you can either get a new instance of Vim, or have
  3626. the file added into an already running Vim.
  3627. 7 The "-P" argument only works for the current codepage. Use wide
  3628. functions to find the window title.
  3629. GUI:
  3630. 7 Implement ":popup" for other systems than Windows.
  3631. 8 Implement ":tearoff" for other systems than Win32 GUI.
  3632. 6 Implement ":untearoff": hide a torn-off menu.
  3633. 8 When using the scrollbar to scroll, don't move the cursor position. When
  3634. moving the cursor: scroll to the cursor position.
  3635. 9 Make <S-Insert> paste from the clipboard by default. (Kunze)
  3636. 7 Menu local to a buffer, like mappings. Or local to a filetype?
  3637. 8 In Buffers menu, add a choice whether selecting a buffer opens it in the
  3638. current window, splits the window or uses ":hide".
  3639. 8 Dragging the mouse pointer outside of a Vim Window should make the text
  3640. scroll. Return a value from gui_send_mouse_event() to the machine
  3641. specific code to indicate the time in which the event should be repeated.
  3642. 8 Make it possible to ignore a mouse click when it's used to give Vim (gvim)
  3643. window focus. Also when a mouse click is used to bring a window to front.
  3644. 8 Make the split into system independent code and system specific code more
  3645. explicit. There are too many #ifdefs in gui.c.
  3646. If possible, separate the Vim code completely from the GUI code, to allow
  3647. running them in separate processes.
  3648. 7 X11: Support cursorColor resource and "-cr" argument.
  3649. 8 X11 (and others): CTRL-; is not different from ';'. Set the modifier mask
  3650. to include CTRL for keys where CTRL produces the same ASCII code.
  3651. 7 Add some code to handle proportional fonts on more systems? Need to draw
  3652. each character separately (like xterm). Also for when a double-width font
  3653. is not exactly double-width. (Maeda)
  3654. 8 Should take font from xterm where gvim was started (if no other default).
  3655. 8 Selecting font names in X11 is difficult, make a script or something to
  3656. select one.
  3657. 8 Visual highlighting should keep the same font (bold, italic, etc.).
  3658. 8 Add flag to 'guioptions' to not put anything in the clipboard at all?
  3659. 8 Should support a way to use keys that we don't recognize yet. Add a
  3660. command that adds entries to special_keys somehow. How do we make this
  3661. portable (X11, Win32, ..)?
  3662. 7 Add a flag to 'guioptions' that tells not to remove inactive menu items.
  3663. For systems where greying-out or removing menu items is very slow. The
  3664. menu items would remain visibly normally, but not do anything.
  3665. 7 Add ":minimize" and ":maximize", which iconize the window and back.
  3666. Useful when using gvim to run a script (e.g. 2html.vim).
  3667. 7 X11: Is it possible to free allocated colors, so that other programs can
  3668. use them again? Otherwise, allow disabling allocating the default colors.
  3669. Or allocate an own colormap (check UAE). With an option to use it. For
  3670. the commandline, "-install" is mostly used for X11 programs.
  3671. 7 Should support multi-column menus.
  3672. - Should add option for where to put the "Help" menu: like Motif at the far
  3673. right, or with the other menus (but still at the right).
  3674. - Add menu item to "Keep Insert mode".
  3675. 8 ":mkgvimrc" command, that includes menus.
  3676. 6 Big change: Move GUI to separate program "vimgui", to make startup of vim a
  3677. lot faster, but still be able to do "vim -g" or ":gui".
  3678. 7 More explicit mouse button binding instead of 'mousemodel'?
  3679. 7 Add option to set the position of the window on the screen. 'windowpos',
  3680. which has a value of "123,456": <x>,<y>.
  3681. Or add a command, like ":winsize"?
  3682. 7 Add toolbar for more GUIs.
  3683. 8 Make it possible to use "amenu icon=BuiltIn##", so that the toolbar item
  3684. name can be chosen free.
  3685. 7 Make it possible to put the toolbar on top, left, right and/or bottom of
  3686. the window? Allows for softkey-like use.
  3687. 6 Separate the part of Vim that does the editing from the part that runs the
  3688. GUI. Communicate through a pseudo-tty. Vim starts up, creates a
  3689. pty that is connected to the terminal. When the GUI starts, the pty is
  3690. reconnected to the GUI process. When the GUI stops, it is connected to
  3691. the terminal again. Also use the pty for external processes, it looks
  3692. like a vt100 terminal to them. Vim uses extra commands to communicate GUI
  3693. things.
  3694. 7 Motif: For a confirm() dialog <Enter> should be ignored when no default
  3695. button selected, <Esc> should close the dialog.
  3696. 7 When using a pseudo-tty Vim should behave like some terminal (vt52 looks
  3697. simple enough). Terminal codes to/from shell should be translated.
  3698. - Would it be useful to be able to quit the GUI and go back to the terminal
  3699. where it was started from?
  3700. 7 Support "-visual <type>" command line argument.
  3701. Autocommands:
  3702. 9 Add WinNewPre - before creating a new window. #10635
  3703. 9 When triggering WinNew provide the window ID somehow. #10633
  3704. 9 Rework the code from FEAT_OSFILETYPE for autocmd-osfiletypes to use
  3705. 'filetype'. Only for when the current buffer is known.
  3706. - Put autocommand event names in a hashtable for faster lookup?
  3707. 8 When the SwapExists event is triggered, provide information about the
  3708. swap file, e.g., whether the process is running, file was modified, etc.
  3709. Must be possible to check the situation that it's probably OK to delete
  3710. the swap file. (Marc Merlin)
  3711. 8 When all the patterns for an event are "*" there is no need to expand
  3712. buffer names to a full path. This can be slow for NFS.
  3713. 7 For autocommand events that trigger multiple times per buffer (e.g.,
  3714. CursorHold), go through the list once and cache the result for a specific
  3715. buffer. Invalidate the cache when adding/deleting autocommands or
  3716. changing the buffer name.
  3717. 7 Add TagJump event: do something after jumping to a tag.
  3718. 8 Add "TagJumpFile" autocommand: When jumping to another file for a tag.
  3719. Can be used to open "main.c.gz" when "main.c" isn't found.
  3720. 8 Use another option than 'updatetime' for the CursorHold event. The two
  3721. things are unrelated for the user (but the implementation is more
  3722. difficult).
  3723. 7 Add autocommand event for when a buffer cannot be abandoned. So that the
  3724. user can define the action taking (autowrite, dialog, fail) based on the
  3725. kind of file. (Yakov Lerner) Or is BufLeave sufficient?
  3726. 8 Autocommand for when modified files have been found, when getting input
  3727. focus again (e.g., FileChangedFocus).
  3728. Check when: getting focus, jumping to another buffer, ...
  3729. 8 Autocommands should not change registers. And marks? And the jumplist?
  3730. And anything else? Add a command to save and restore these things.
  3731. 8 Add autocommands, user functions and user commands to ":mkvimrc".
  3732. 6 Add KeymapChanged event, so that the effects of a different keymap can be
  3733. handled (e.g., other font) (Ron Aaron)
  3734. 7 When trying to open a directory, trigger an OpenDirectory event.
  3735. 7 Add file type in front of file pattern: <d> for directory, <l> for link,
  3736. <x> for executable, etc. With commas to separate alternatives. The
  3737. autocommand is only executed when both the file type AND the file pattern
  3738. match. (Leonard)
  3739. 5 Add option that specifies extensions which are to be discarded from the
  3740. file name. E.g. 'ausuffix', with ".gz,.orig". Such that file.c.gz will
  3741. trigger the "*.c" autocommands. (Belabas)
  3742. 7 Add something to break the autocommands for the current event, and for
  3743. what follows. Useful for a "BufWritePre" that wants to avoid writing the
  3744. file.
  3745. 8 When editing "tt.gz", which is in DOS format, 'fileformat' stays at
  3746. "unix", thus writing the file changes it. Somehow detect that the read
  3747. command used dos fileformat. Same for 'fileencoding'.
  3748. - Add events to autocommands:
  3749. Error - When an error happens
  3750. VimLeaveCheck - Before Vim decides to exit, so that it can be cancelled
  3751. when exiting isn't a good idea.
  3752. CursorHoldC - CursorHold while command-line editing
  3753. WinMoved - when windows have been moved around, e.g, ":wincmd J"
  3754. SearchPost - After doing a search command (e.g. to do "M")
  3755. ShutDown - when the system is about to shut down
  3756. InsertCharPost - user typed a character in Insert mode, after inserting
  3757. the char.
  3758. BufModified - When a buffer becomes modified, or unmodified (for
  3759. putting a [+] in the window title or checking out the
  3760. file from CVS).
  3761. BufFirstChange - When making a change, when 'modified' is set. Can be
  3762. used to do a :preserve for remote files.
  3763. BufChange - after a change was made. Set some variables to indicate
  3764. the position and number of inserted/deleted lines, so
  3765. that marks can be updated. HierAssist has patch to add
  3766. BufChangePre, BufChangePost and RevertBuf. (Shah)
  3767. ViewChanged - triggered when the text scrolls and when the window size
  3768. changes.
  3769. QuickfixList - when any entry in the current list changes or another
  3770. list is selected
  3771. QuickfixPosition - when selecting another entry in the current quickfix
  3772. list
  3773. - Write the file now and then ('autosave'):
  3774. *'autosave'* *'as'* *'noautosave'* *'noas'*
  3775. 'autosave' 'as' number (default 0)
  3776. Automatically write the current buffer to file N seconds after the
  3777. last change has been made and when |'modified'| is still set.
  3778. Default: 0 = do not autosave the buffer.
  3779. Alternative: have 'autosave' use 'updatetime' and 'updatecount' but make
  3780. them save the file itself besides the swapfile.
  3781. - Buffer autocommands are a bit inconsistent. Add a separate set of
  3782. autocommands for the buffer lifecycle:
  3783. BufIsCreated (after buffer ID exists)
  3784. BufIsLoaded (after buffer ID has content)
  3785. BufIsUnloaded (after buffer ID no longer has)
  3786. BufIsWiped (after buffer ID was wiped)
  3787. BufIsRenamed (after buffer ID gets another name)
  3788. The buffer list and windows are locked, no changes possible
  3789. Omni completion:
  3790. - Add a flag to 'complete' to be able to do omni completion with CTRL-N (and
  3791. mix it with other kinds of completion).
  3792. - Ideas from the Vim 7 BOF at SANE:
  3793. - For interpreted languages, use the interpreter to obtain information.
  3794. Should work for Java (Eclipse does this), Python, Tcl, etc.
  3795. Richard Emberson mentioned working on an interface to Java.
  3796. - Check Readline for its completion interface.
  3797. - Ideas from others:
  3798. http://www.wholetomato.com/
  3799. http://www.vim.org/scripts/script.php?script_id=747
  3800. http://sourceforge.net/projects/insenvim
  3801. or http://insenvim.sourceforge.net
  3802. Java, XML, HTML, C++, JSP, SQL, C#
  3803. MS-Windows only, lots of dependencies (e.g. Perl, Internet
  3804. explorer), uses .dll shared libraries.
  3805. For C++ uses $INCLUDE environment var.
  3806. Uses Perl for C++.
  3807. Uses ctags to find the info:
  3808. ctags -f $allTagsFile --fields=+aiKmnsSz --language-force=C++ --C++-kinds=+cefgmnpsut-dlux -u $files
  3809. www.vim.org script 1213 (Java Development Environment) (Fuchuan Wang)
  3810. IComplete: http://www.vim.org/scripts/script.php?script_id=1265
  3811. and http://stud4.tuwien.ac.at/~e0125672/icomplete/
  3812. http://cedet.sourceforge.net/intellisense.shtml (for Emacs)
  3813. Ivan Villanueva has something for Java.
  3814. Emacs: http://www.xref-tech.com/xrefactory/more_c_completion.html
  3815. Completion in .NET framework SharpDevelop: http://www.icsharpcode.net
  3816. - Pre-expand abbreviations, show which abbrevs would match?
  3817. Insert mode completion/expansion:
  3818. - Is it possible to keep the complete menu open when calling complete()?
  3819. (Prabir Shrestha, 2017 May 19, #1713)
  3820. - When 'completeopt' has "noselect" does not insert a newline.
  3821. (Lifepillar, 2017 Apr 23, #1653)
  3822. - Can 'completeopt' be made buffer-local? (#5487)
  3823. - When complete() first argument is before where insert started and
  3824. 'backspace' is Vi compatible, the completion fails.
  3825. (Hirohito Higashi, 2015 Feb 19)
  3826. - The CompleteDone autocommand needs some info passed to it:
  3827. - The word that was selected (empty if abandoned complete)
  3828. - Type of completion: tag, omnifunc, user func.
  3829. - When a:base in 'completefunc' starts with a number it's passed as a
  3830. number, not a string. (Sean Ma) Need to add flag to call_func_retlist()
  3831. to force a string value.
  3832. - When editing the text and pressing CTRL-N again goes back to originally
  3833. completed text, edited text is gone. (Peng Yu, 2008 Jul 24)
  3834. Suggestion by Ben Schmidt, 2008 Aug 6.
  3835. - GUI implementation of the popup menu.
  3836. 7 When searching in other files the name flash by, too fast to read. Only
  3837. display a name every second or so, like with ":vimgrep".
  3838. 7 When expanding file names with an environment variable, add the match with
  3839. the unexpanded var. So $HOME/tm expands to "/home/guy/tmp" and
  3840. "$HOME/tmp"
  3841. 8 When there is no word before the cursor but something like "sys." complete
  3842. with "sys.". Works well for C and similar languages.
  3843. 9 ^X^L completion doesn't repeat correctly. It uses the first match with
  3844. the last added line, instead of continuing where the last match ended.
  3845. (Webb)
  3846. 8 Add option to set different behavior for Insert mode completion:
  3847. - ignore/match case
  3848. - different characters than 'iskeyword'
  3849. 8 Add option 'isexpand', containing characters when doing expansion (so that
  3850. "." and "\" can be included, without changing 'iskeyword'). (Goldfarb)
  3851. Also: 'istagword': characters used for CTRL-].
  3852. When 'isexpand' or 'istagword' are empty, use 'iskeyword'.
  3853. Alternative: Use a pattern so that start and end of a keyword can be
  3854. defined, only allow dash in the middle, etc.
  3855. 8 Add a command to undo the completion, go back to the original text.
  3856. 7 Completion of an abbreviation: Can leave letters out, like what Instant
  3857. text does: www.textware.com
  3858. 8 Use the class information in the tags file to do context-sensitive
  3859. completion. After "foo." complete all member functions/variables of
  3860. "foo". Need to search backwards for the class definition of foo.
  3861. Should work for C++ and Java.
  3862. Even more context would be nice: "import java.^N" -> "io", "lang", etc.
  3863. 7 When expanding $HOME/dir with ^X^F keep the $HOME (with an option?).
  3864. 7 Add CTRL-X command in Insert mode like CTRL-X CTRL-N, that completes WORDS
  3865. instead of words.
  3866. 8 Add CTRL-X CTRL-R: complete words from register contents.
  3867. 8 Add completion of previously inserted texts (like what CTRL-A does).
  3868. Requires remembering a number of insertions.
  3869. 8 Add 'f' flag to 'complete': Expand file names.
  3870. Also apply 'complete' to whole line completion.
  3871. - Add a flag to 'complete' to only scan local header files, not system
  3872. header files. (Andri Moell)
  3873. - Make it possible to search include files in several places. Use the
  3874. 'path' option? Can this be done with the dictionary completion (use
  3875. wildcards in the file name)?
  3876. - Make CTRL-X CTRL-K do a binary search in the dictionary (if it's sorted).
  3877. - Speed up CTRL-X CTRL-K dictionary searching (don't use a regexp?).
  3878. - Set a mark at the position where the match was found (file mark, could
  3879. be in another file).
  3880. - Add CTRL-A command in CTRL-X mode: show all matches.
  3881. - Make CTRL-X CTRL-L use the 'complete' option?
  3882. - Add command in CTRL-X mode to add following words to the completed string
  3883. (e.g. to complete "Pointer->element" with CTRL-X CTRL-P CTRL-W CTRL-W)
  3884. - CTRL-X CTRL-F: Use 'path' to find completions.
  3885. - CTRL-X CTRL-F: Option to use forward slashes on MS-Windows?
  3886. - CTRL-X CTRL-F: Don't replace "$VIM" with the actual value. (Kelly)
  3887. - Allow listing all matches in some way (and picking one from the list).
  3888. Command line editing:
  3889. 7 Add commands (keys) to delete from the cursor to the end of the command
  3890. line.
  3891. 8 Custom completion of user commands can't use the standard completion
  3892. functions. Add a hook to invoke a user function that returns the type of
  3893. completion to be done: "file", "tag", "custom", etc.
  3894. - Add flags to 'whichwrap' for command line editing (cursor right at end of
  3895. lines wraps to start of line).
  3896. - Make editing the command line work like Insert mode in a single-line view
  3897. on a buffer that contains the command line history. But this has many
  3898. disadvantages, only implement it when these can be solved. Elvis has run
  3899. into these, see remarks from Steve (~/Mail/oldmail/kirkendall/in.00012).
  3900. - Going back in history and editing a line there would change the history.
  3901. Would still need to keep a copy of the history elsewhere. Like the
  3902. cmdwin does now already.
  3903. - Use CTRL-O to execute one Normal mode command. How to switch to normal
  3904. mode for more commands? <Esc> should cancel the command line. CTRL-T?
  3905. - To allow "/" and "= need to recursively call getcmdline(), overwrite the
  3906. cmdline. But then we are editing a command-line again. How to avoid
  3907. that the user gets confused by the stack of command lines?
  3908. - Use edit() for normal cmdline editing? Would have to integrate
  3909. getcmdline() into edit(). Need to solve conflicts between Insert mode
  3910. and Command-line mode commands. Make it work like Korn shell and tcsh.
  3911. Problems:
  3912. - Insert: completion with 'wildchar'
  3913. - Insert: use cmdline abbreviations
  3914. - Insert: CTRL-D deletes indent instead of listing matches
  3915. - Normal: no CTRL-W commands
  3916. - Normal: no ":" commands?
  3917. - Normal: allow Visual mode only within one line.
  3918. - where to show insert/normal mode message? Change highlighting of
  3919. character in first column?
  3920. - Implementation ideas:
  3921. - Set "curwin" and "curbuf" to the command line window and buffer.
  3922. - curwin->w_topline is always equal to curwin->w_cursor.lnum.
  3923. - never set 'number', no folding, etc. No status line.
  3924. - sync undo after entering a command line?
  3925. - use NV_NOCL flag for commands that are not allowed in Command-line
  3926. Mode.
  3927. Command line completion:
  3928. - Feature request: Complete members of a dictionary.
  3929. (Luc Hermitte, 2017 Jan 4, #1350)
  3930. - Completion of ":e" is ":earlier", should be ":edit". Complete to the
  3931. matching command instead of doing this alphabetically. (Mikel Jorgensen)
  3932. 8 Change expand_interactively into a flag that is passed as an argument.
  3933. 8 With command line completion after '%' and '#', expand current/alternate
  3934. file name, so it can be edited. Also with modifiers, such as "%:h".
  3935. 8 When completing command names, either sort them on the long name, or list
  3936. them with the optional part inside [].
  3937. 8 Add an option to ignore case when doing interactive completion. So that
  3938. ":e file<Tab>" also lists "Filelist" (sorted after matching case matches).
  3939. 7 Completion of ":map x ": fill in the current mapping, so that it can be
  3940. edited. (Sven Guckes)
  3941. - For 'wildmenu': Simplify "../bar" when possible.
  3942. - When using <Up> in wildmenu mode for a submenu, should go back to the
  3943. current menu, not the first one. E.g., ":emenu File.Save<Up>".
  3944. 8 When using backtick expansion, the external command may write a greeting
  3945. message. Add an option or commands to remove lines that match a regexp?
  3946. 7 When listing matches of files, display the common path separately from the
  3947. file names, if this makes the listing shorter. (Webb)
  3948. - Add command line completion for ":ilist" and friends, show matching
  3949. identifiers (Webb).
  3950. 8 Add command line completion for "old value" of a command. ":args <key>"
  3951. would result in the current list of arguments, which you can then edit.
  3952. 7 Add command line completion with CTRL-X, just like Insert mode completion.
  3953. Useful for ":s/word/xx/".
  3954. - Add command to go back to the text as it was before completion started.
  3955. Also to be used for <Up> in the command line.
  3956. - Add 'wildlongest' option: Key to use to find longest common match for
  3957. command line completion (default CTRL-L), like 'wildchar'. (Cregut)
  3958. Also: when there are several matches, show them line a CTRL-D.
  3959. - With 'wildmode' set to "longest:full,full" and pressing Tab once the first
  3960. entry in wildmenu is highlighted, that shouldn't happen. (Yuki Watanabe,
  3961. 2011 Feb 12)
  3962. - After using <Tab> for command line completion after ":ta blah" and getting
  3963. E33 (no tags file), further editing the command to e.g., ":echo 'blah'",
  3964. the command is not executed. Fix by Ian Kelling?
  3965. - Command line completion: Scanning for tags doesn't check for typed key now
  3966. and then? Hangs for about 5 seconds. Appears to be caused by finding
  3967. include files with "foo/**" in 'path'. (Kalisiak, 2006 July 15)
  3968. Additional info: When using the |wildcards| ** globing, vim hangs
  3969. indefinitely on lots of directories. The |file-searching| globing, like in
  3970. ":set path=/**" does not hang as often as with globing with |wildcards|,
  3971. like in ":1find /**/file". This is for files that unix "find" can find
  3972. very quickly. Merging the 2 kinds of globing might make this an easier
  3973. fix. (Ian Kelling, 2008 July 4)
  3974. - Command line completion when 'cmdheight' is maximum and 'wildmenu' is set,
  3975. only one buffer line displayed, causes display errors.
  3976. - Completing with 'wildmenu' and using <Up> and <Down> to move through
  3977. directory tree stops unexpectedly when using ":cd " and entering a
  3978. directory that doesn't contain other directories.
  3979. 8 Command line completion: buffers "foo.txt" and "../b/foo.txt", completing
  3980. ":buf foo<Tab>" doesn't find the second one. (George V. Reilly)
  3981. 8 Add more command line completion for :syntax.
  3982. 8 Add more command line completion for :highlight.
  3983. - Wildmenu not deleted: "gvim -u NONE", ":set nocp wildmenu cmdheight=3
  3984. laststatus=2", CTRL-D CTRL-H CTRL-H CTRL-H. (A.Politz, 2008 April 1) Works
  3985. OK with Vim in an xterm.
  3986. - If the variable "g:x#y#z" exists completion after ":echo g:x#" doesn't
  3987. work.
  3988. Command line history:
  3989. - Add "KeyWasTyped" flag: It's reset before each command and set when a
  3990. character from the keyboard is consumed. Value is used to decide to put a
  3991. command line in history or not. Put line in history if it didn't
  3992. completely result from one mapping.
  3993. - When using ":browse", also put the resulting edit command in the history,
  3994. so that it can be repeated. (Demirel)
  3995. Insert mode:
  3996. 9 When 'autoindent' is set, hitting <CR> twice, while there is text after
  3997. the cursor, doesn't delete the autoindent in the resulting blank line.
  3998. (Rich Wales) This is Vi compatible, but it looks like a bug.
  3999. 8 When using CTRL-O in Insert mode, then executing an insert command
  4000. "a" or "i", should we return to Insert mode after <Esc>? (Eggink)
  4001. Perhaps it can be allowed a single time, to be able to do
  4002. "<C-O>10axyz<Esc>". Nesting this further is confusing.
  4003. ":map <F2> 5aabc<Esc>" works only once from Insert mode.
  4004. 8 When using CTRL-G CTRL-O do like CTRL-\ CTRL-O, but when returning with
  4005. the cursor in the same position and the text didn't change continue the
  4006. same change, so that "." repeats the whole insert.
  4007. 7 Use CTRL-G <count> to repeat what follows. Useful for inserting a
  4008. character multiple times or repeating CTRL-Y.
  4009. - Make 'revins' work in Replace mode.
  4010. 7 Use 'matchpairs' for 'showmatch': When inserting a character check if it
  4011. appears in the rhs of 'matchpairs'.
  4012. - In Insert mode (and command line editing?): Allow undo of the last typed
  4013. character. This is useful for CTRL-U, CTRL-W, delete and backspace, and
  4014. also for characters that wrap to the next line.
  4015. Also: be able to undo CTRL-R (insert register).
  4016. Possibly use 'backspace'="whole" for a mode where at least a <CR> that
  4017. inserts autoindent is undone by a single <BS>.
  4018. - Use CTRL-G in Insert mode for an extra range of commands, like "g" in
  4019. Normal mode.
  4020. - Make 'paste' work without resetting other options, but override their
  4021. value. Avoids problems when changing files and modelines or autocommands
  4022. are used.
  4023. - When typing CTRL-V and a digit higher than 2, only expect two digits.
  4024. - Insert binary numbers with CTRL-V b.
  4025. - Make it possible to undo <BS>, <C-W> and <C-U>. Bash uses CTRL-Y.
  4026. 'cindent', 'smartindent':
  4027. 9 Wrapping a variable initialization should have extra indent:
  4028. char * veryLongName =
  4029. "very long string"
  4030. Also check if "cino=+10" is used correctly.
  4031. 8 Lisp indenting: "\\" confuses the indenter. (Dorai Sitaram, 2006 May 17)
  4032. 8 Why are continuation lines outside of a {} block not indented? E.g.:
  4033. long_type foo =
  4034. value;
  4035. 8 Java: Inside an anonymous class, after an "else" or "try" the indent is
  4036. too small. (Vincent Bergbauer)
  4037. Problem of using {} inside (), 'cindent' doesn't work then.
  4038. 8 In C++ it's possible to have {} inside (): (Kirshna)
  4039. func(
  4040. new String[] {
  4041. "asdf",
  4042. "asdf"
  4043. }
  4044. );
  4045. 8 In C++ a function isn't recognized inside a namespace:
  4046. (Chow Loong Jin)
  4047. namespace {
  4048. int
  4049. func(int arg) {
  4050. }
  4051. }
  4052. 6 Add 'cino' flag for this function argument layout: (Spencer Collyer)
  4053. func( arg1
  4054. , arg2
  4055. , arg3
  4056. );
  4057. 7 Add separate "(0" option into inside/outside a function (Zellner):
  4058. func(
  4059. int x) // indent like "(4"
  4060. {
  4061. if (a
  4062. && b) // indent like "(0"
  4063. 9 Using "{" in a comment: (Helmut Stiegler)
  4064. if (a)
  4065. {
  4066. if (b)
  4067. {
  4068. // {
  4069. }
  4070. } <-- this is indented incorrect
  4071. Problem is that find_start_brace() checks for the matching brace to be in
  4072. a comment, but not braces in between. Requires adding a comment check to
  4073. findmatchlimit().
  4074. - Make smartindenting configurable. Add 'sioptions', e.g. '#' setting the
  4075. indent to 0 should be switched on/off.
  4076. 7 Support ANSI style function header, with each argument on its own line.
  4077. - "[p" and "]p" should use 'cindent' code if it's on (only for the first
  4078. line).
  4079. - Add option to 'cindent' to set indent for comments outside of {}?
  4080. - Make a command to line up a comment after a code line with a previous
  4081. comment after a code line. Can 'cindent' do this automatically?
  4082. - When 'cindent'ing a '}', showmatch is done before fixing the indent. It
  4083. looks better when the indent is fixed before the showmatch. (Webb)
  4084. - Add option to make indenting work in comments too (for commented-out
  4085. code), unless the line starts with "*".
  4086. - Don't use 'cindent' when doing formatting with "gq"?
  4087. - When formatting a comment after some text, insert the '*' for the new line
  4088. (indent is correct if 'cindent' is set, but '*' doesn't get inserted).
  4089. 8 When 'comments' has both "s1:/*,mb:*,ex:*/" and "s1:(*,mb:*,ex:*)", the
  4090. 'x' flag always uses the first match. Need to continue looking for more
  4091. matches of "*" and remember all characters that could end the comment.
  4092. - For smartindent: When typing 'else' line it up with matching 'if'.
  4093. - 'smartindent': allow patterns in 'cinwords', for e.g. TeX files, where
  4094. lines start with "\item".
  4095. - Support this style of comments (with an option): (Brown)
  4096. /* here is a comment that
  4097. is just autoindented, and
  4098. nothing else */
  4099. - Add words to 'cinwords' to reduce the indent, e.g., "end" or "fi".
  4100. 7 Use Tabs for the indent of starting lines, pad with spaces for
  4101. continuation lines. Allows changing 'tabstop' without messing up the
  4102. indents.
  4103. Patch by Lech Lorens, 2010 Mar. Update by James McCoy, 2014 Mar 15.
  4104. Java:
  4105. 8 Can have {} constructs inside parens. Include changes from Steve
  4106. Odendahl?
  4107. 8 Recognize "import java.util.Vector" and use $CLASSPATH to find files for
  4108. "[i" commands and friends.
  4109. - For files found with 'include': handle "*" in included name, for Java.
  4110. (Jason)
  4111. - How to make a "package java.util" cause all classes in the package to be
  4112. searched? Also for "import java.util.*". (Mark Brophy)
  4113. 'comments':
  4114. 8 When formatting C comments that are after code, the "*" isn't repeated
  4115. like it's done when there is no code. And there is no automatic wrapping.
  4116. Recognize comments that come after code. Should insert the comment leader
  4117. when it's "#" or "//".
  4118. Other way around: when a C command starts with "* 4" the "*" is repeated
  4119. while it should not. Use syntax HL comment recognition?
  4120. 7 When using "comments=fg:--", Vim inserts three spaces for a new line.
  4121. When hitting a TAB, these spaces could be removed.
  4122. 7 The 'n'esting flag doesn't do the indenting of the last (rightmost) item.
  4123. 6 Make strings in 'comments' option a RE, to be able to match more
  4124. complicated things. (Phillipps) Use a special flag to indicate that a
  4125. regexp is used.
  4126. 8 Make the 'comments' option with "/* * */" lines only repeat the "*" line
  4127. when there is a "/*" before it? Or include this in 'cindent'?
  4128. Virtual edit:
  4129. 8 Make the horizontal scrollbar work to move the text further left.
  4130. 7 Allow specifying it separately for Tabs and beyond end-of-line?
  4131. Text objects:
  4132. 8 Add text object for fold, so that it can be yanked when it's open.
  4133. 8 Add test script for text object commands "aw", "iW", etc.
  4134. 8 Add text object for part of a CamelHumpedWord and under_scored_word.
  4135. (Scott Graham) "ac" and "au"?
  4136. 8 Add a text object for any kind of quoting, also with multibyte
  4137. characters. Option to specify what quotes are recognized (default: all)
  4138. use "aq" and "iq". Use 'quotepairs' to define pairs of quotes, like
  4139. 'matchpairs'?
  4140. 8 Add text object for any kind of parens, also multibyte ones.
  4141. 8 Add a way to make an ":omap" for a user-defined text object. Requires
  4142. changing the starting position in oap->start.
  4143. 8 Add "gp" and "gP" commands: insert text and make sure there is a single
  4144. space before it, unless at the start of the line, and after it, unless at
  4145. the end of the line or before a ".".
  4146. 7 Add objects with backwards extension? Use "I" and "A". Thus "2dAs"
  4147. deletes the current and previous sentence. (Jens Paulus)
  4148. 7 Add "g{" and "g}" to move to the first/last character of a paragraph
  4149. (instead of the line just before/after a paragraph as with "{" and "}").
  4150. 6 Ignore comment leaders for objects. Make "das" work in reply-email.
  4151. 5 Make it possible to use syntax group matches as a text object. For
  4152. example, define a "ccItem" group, then do "da<ccItem>" to delete one.
  4153. Or, maybe just define "dai", delete-an-item, to delete the syntax item the
  4154. cursor is on.
  4155. Select mode:
  4156. 8 In blockwise mode, typed characters are inserted in front of the block,
  4157. backspace deletes a column before the block. (Steve Hall)
  4158. 7 Alt-leftmouse starts block mode selection in MS Word.
  4159. See http://vim.wikia.com/wiki/Use_Alt-Mouse_to_select_blockwise.
  4160. 7 Add Cmdline-select mode. Like Select mode, but used on the command line.
  4161. - Change gui_send_mouse_event() to pass on mouse events when 'mouse'
  4162. contains 'C' or 'A'.
  4163. - Catch mouse events in ex_getln.c. Also shift-cursor, etc., like in
  4164. normal_cmd().
  4165. - remember start and end of selection in cmdline_info.
  4166. - Typing text replaces the selection.
  4167. Visual mode:
  4168. 8 Support using "." in Visual mode. Use the operator applied to the Visual
  4169. selection, if possible.
  4170. - When dragging the Visual selection with the mouse and 'scrolloff' is zero,
  4171. behave like 'scrolloff' is one, so that the text scrolls when the pointer
  4172. is in the top line.
  4173. - Displaying size of Visual area: use 24-33 column display.
  4174. When selecting multiple lines, up to about a screenful, also count the
  4175. characters.
  4176. 8 When using "I" or "A" in Visual block mode, short lines do not get the new
  4177. text. Make it possible to add the text to short lines too, with padding
  4178. where needed.
  4179. 7 With a Visual block selected, "2x" deletes a block of double the width,
  4180. "3y" yanks a block of triple width, etc.
  4181. 7 When selecting linewise, using "itext" should insert "text" at the start
  4182. of each selected line.
  4183. 8 What is "R" supposed to do in Visual mode?
  4184. 8 Make Visual mode local to the buffer. Allow changing to another buffer.
  4185. When starting a new Visual selection, remove the Visual selection in any
  4186. other buffer. (Ron Aaron)
  4187. 8 Support dragging the Visual area to drop it somewhere else. (Ron Aaron,
  4188. Ben Godfrey)
  4189. 7 Support dragging the Visual area to drop it in another program, and
  4190. receive dropped text from another program. (Ben Godfrey)
  4191. 7 With blockwise Visual mode and "c", "C", "I", "A", etc., allow the use of
  4192. a <CR>. The entered lines are repeated over the Visual area.
  4193. 7 Filtering a block should only apply to the block, not to the whole lines.
  4194. When the number of lines is increased, add lines. When decreased, pad with
  4195. spaces or delete? Use ":`<,`>" on the command line.
  4196. 8 After filtering the Visual area, make "gv" select the filtered text?
  4197. Currently "gv" only selects a single line, not useful.
  4198. 7 Don't move the cursor when scrolling? Needed when the selection should
  4199. stay the same. Scroll to the cursor at any movement command. With an
  4200. option!
  4201. 7 In Visual block mode, need to be able to define a corner on a position
  4202. that doesn't have text? Also: when using the mouse, be able to select
  4203. part of a TAB. Even more: Add a mode where the cursor can be on a screen
  4204. position where there is no text. When typing, add spaces to fill the gap.
  4205. Other solution: Always use curswant, so that you can move the cursor to
  4206. the right column, and then use up/down movements to select the line,
  4207. without changing the column.
  4208. 6 ":left" and ":right" should work in Visual block mode.
  4209. 7 CTRL-I and CTRL-O should work in Visual mode, but only jump to marks in the
  4210. current buffer.
  4211. 6 In non-Block mode, "I" should insert the same text in front of each line,
  4212. before the first non-blank, "gI" in column 1.
  4213. 6 In non-Block mode, "A" should append the same text after each line.
  4214. 6 When in blockwise visual selection (CTRL-V), allow cursor to be placed
  4215. right of the line. Could also allow cursor to be placed anywhere on a TAB
  4216. or other special character.
  4217. 6 Add commands to move selected text, without deselecting.
  4218. More advanced repeating commands:
  4219. - Add "." command for visual mode: redo last visual command (e.g. ":fmt").
  4220. - Add command to repeat last movement. Including count.
  4221. - Add "." command after operator: repeat last command of same operator. E.g.
  4222. "c." will repeat last change, also when "x" used since then (Webb).
  4223. "y." will repeat last yank.
  4224. "c2." will repeat the last but one change?
  4225. Also: keep history of Normal mode commands, add command to list the history
  4226. and/or pick an older command.
  4227. - History stack for . command? Use "g." command.
  4228. Mappings and Abbreviations:
  4229. 8 When "0" is mapped (it is a movement command) this mapping should not be
  4230. used after typing another number, e.g. "20l". (Charles Campbell)
  4231. Is this possible without disabling the mapping of the following command?
  4232. 8 Should mapping <C-A> and <C-S-A> both work?
  4233. 7 ":abbr b byte", append "b " to an existing word still expands to "byte".
  4234. This is Vi compatible, but can we avoid it anyway?
  4235. 8 To make a mapping work with a prepended "x to select a register, store the
  4236. last _typed_ register name and access it with "&.
  4237. 8 Add ":amap", like ":amenu".
  4238. 7 Add a mapping that works always, for remapping the keyboard.
  4239. 8 Add ":cab!", abbreviations that only apply to Command-line mode and not to
  4240. entering search strings.
  4241. 8 Add a flag to ":abbrev" to eat the character that triggers the
  4242. abbreviation. Thus "abb ab xxx" and typing "ab<Space>" inserts "xxx" and
  4243. not the <Space>.
  4244. 8 Give a warning when using CTRL-C in the lhs of a mapping. It will never
  4245. (?) work.
  4246. 7 Add <0x8f> (hex), <0o33> (octal) and <123> (decimal) to <> notation?
  4247. 7 When someone tries to unmap with a trailing space, and it fails, try
  4248. unmapping without the trailing space. Helps for ":unmap xx | unmap yy".
  4249. 6 Context-sensitive abbreviations: Specify syntax group(s) in which the
  4250. abbreviations are to be used.
  4251. - Add mappings that take arguments. Could work like the ":s" command. For
  4252. example, for a mouse escape sequence:
  4253. :mapexp <Esc>{\([0-9]*\),\([0-9]*\); H\1j\2l
  4254. - Add optional <Number> argument for mappings:
  4255. :map <Number>q ^W^W<Number>G
  4256. :map <Number>q<Number>t ^W^W<Number1-1>G<Number2>l
  4257. :map q<Char> :s/<Char>/\u\0/g
  4258. Or implicit:
  4259. :map q <Register>d<Number>$
  4260. - Add command to repeat a whole mapping ("." only repeats the last change in
  4261. a mapping). Also: Repeat a whole insert command, including any mappings
  4262. that it included. Sort-of automatic recording?
  4263. - Include an option (or flag to 'cpoptions') that makes errors in mappings
  4264. not flush the rest of the mapping (like nvi does).
  4265. - Use context sensitiveness of completion to switch abbreviations and
  4266. mappings off for :unab and :unmap.
  4267. 6 When using mappings in Insert mode, insert characters for incomplete
  4268. mappings first, then remove them again when a mapping matches. Avoids
  4269. that characters that are the start of some mapping are not shown until you
  4270. hit another character.
  4271. - Add mappings for replace mode: ":rmap". How do we then enter mappings for
  4272. non-replace Insert mode?
  4273. - Add separate mappings for Visual-character/block/line mode?
  4274. - Add 'mapstop' command, to stop recursive mappings.
  4275. - List mappings that have a raw escape sequence both with the name of the key
  4276. for that escape sequence (if there is one) and the sequence itself.
  4277. - List mappings: Once with special keys listed as <>, once with meta chars as
  4278. <M-a>, once with the byte values (octal?). Sort of "spell mapping" command?
  4279. - When entering mappings: Add the possibility to enter meta keys like they
  4280. are displayed, within <>: <M-a>, <~@> or <|a>.
  4281. - Allow multiple arguments to :unmap.
  4282. - Command to show keys that are not used and available for mapping
  4283. ":freekeys".
  4284. - Allow any character except white space in abbreviations lhs (Riehm).
  4285. Incsearch:
  4286. - Wrong scrolling when using incsearch. Patch by Christian Brabandt, 2014
  4287. Dec 4. Is this a good solution?
  4288. - Temporarily open folds to show where the search ends up. Restore the
  4289. folds when going to another line.
  4290. Patch to open folds for 'incsearch'. (Christian Brabandt, 2015 Jan 6)
  4291. - Bug with 'incsearch' going to wrong line. (Wolfram Kresse, 2009 Aug 17)
  4292. Only with "vim -u NONE".
  4293. - When no match is found and the user types more, the screen is redrawn
  4294. anyway. Could skip that. Esp. if the line wraps and the text is scrolled
  4295. up every time.
  4296. - When incsearch used and hitting return, no need to search again in many
  4297. cases, saves a lot of time in big files. (Slootman wants to work on this?)
  4298. When not using special characters, can continue search from the last match
  4299. (or not at all, when there was no match). See oldmail/webb/in.872.
  4300. 9 incsearch is incorrect for "/that/<Return>/this/;//" (last search pattern
  4301. isn't updated).
  4302. Searching:
  4303. 9 Should have an option for :vimgrep to find lines without a match.
  4304. 8 Add "g/" and "gb" to search for a pattern in the Visually selected text?
  4305. "g?" is already used for rot13.
  4306. The vis.vim script has a ":S" command that does something like this.
  4307. Can use "g/" in Normal mode, uses the '< to '> area.
  4308. Use "&/" for searching the text in the Visual area?
  4309. 9 Add "v" offset: "/pat/v": search for pattern and start Visual mode on the
  4310. matching text.
  4311. 8 Add a modifier to interpret a space like "\_s\+" to make it much easier to
  4312. search for a phrase.
  4313. 8 Add a mechanism for recursiveness: "\@(([^()]*\@g[^()]*)\)". \@g stands
  4314. for "go recursive here" and \@( \) marks the recursive part.
  4315. Perl does it this way:
  4316. $paren = qr/ \(( [^()] | (??{ $paren }) )* \) /x;
  4317. Here $paren is evaluated when it's encountered. This is like a regexp
  4318. inside a regexp. In the above terms it would be:
  4319. \@((\([^()]\|\@g\)*)\)
  4320. 8 Show the progress every second. Could use the code that checks for CTRL-C
  4321. to find out how much time has passed. Or use SIGALRM. Where to show the
  4322. number?
  4323. 7 Support for approximate-regexps to find similar words (agrep
  4324. http://www.tgries.de/agrep/ tre: http://laurikari.net/tre/index.html).
  4325. 8 Add an item for a big character range, so that one can search for a
  4326. chinese character: \z[234-1234] or \z[XX-YY] or \z[0x23-0x234].
  4327. 7 Add an item stack to allow matching (). One side is "push X on
  4328. the stack if previous atom matched". Other side is "match with top of
  4329. stack, pop it when it matches". Use "\@pX" and "\@m"?
  4330. Example: \((\@p).\{-}\@m\)*
  4331. 7 Add a flag to "/pat/" to discard an error. Useful to continue a mapping
  4332. when a search fails. Could be "/pat/E" (e is already used for end offset).
  4333. 7 Add pattern item to use properties of Unicode characters. In Perl it's
  4334. "\p{L}" for a letter. See Regular Expression Pocket Reference.
  4335. 8 Would it be possible to allow ":23,45/pat/flags" to search for "pat" in
  4336. lines 23 to 45? Or does this conflict with Ex range syntax?
  4337. 8 Allow identical pairs in 'matchpairs'. Restrict the search to the current
  4338. line.
  4339. 7 Allow longer pairs in 'matchpairs'. Use matchit.vim as an
  4340. example.
  4341. 8 Make it possible to define the character that "%" checks for in
  4342. #if/#endif. For nmake it's !if/!endif.
  4343. - For "%" command: set hierarchy for which things include other things that
  4344. should be ignored (like "*/" or "#endif" inside /* */).
  4345. Also: use "%" to jump from start to end of syntax region and back.
  4346. Alternative: use matchit.vim
  4347. 8 A pattern like "\([^a]\+\)\+" takes an awful long time. Recognize that
  4348. the recursive "\+" is meaningless and optimize for it.
  4349. This one is also very slow on "/* some comment */": "^\/\*\(.*[^/]\)*$".
  4350. 7 Recognize "[a-z]", "[0-9]", etc. and replace them with the faster "\l" and
  4351. "\d".
  4352. 7 Add a way to specify characters in <C-M> or <Key> form. Could be
  4353. \%<C-M>.
  4354. 8 Add an argument after ":s/pat/str/" for a range of matches. For example,
  4355. ":s/pat/str/#3-4" to replace only the third and fourth "pat" in a line.
  4356. 8 When 'iskeyword' is changed the matches from 'hlsearch' may change. (Benji
  4357. Fisher) redraw if some options are set while 'hlsearch' is set?
  4358. 8 Add an option not to use 'hlsearch' highlighting for ":s" and ":g"
  4359. commands. (Kahn) It would work like ":noh" is used after that command.
  4360. Also: An extra flag to do this once, and a flag to keep the existing
  4361. search pattern.
  4362. - Make 'hlsearch' a local/global option, so that it can be disabled in some
  4363. of the windows.
  4364. - Add \%h{group-name}; to search for a specific highlight group.
  4365. Add \%s{syntax-group}; to search for a specific syntax group.
  4366. - Support Perl regexp. Use PCRE (Perl Compatible RE) package. (Shade)
  4367. Or translate the pattern to a Vim one.
  4368. Don't switch on with an option for typed commands/mappings/functions, it's
  4369. too confusing. Use "\@@" in the pattern, to avoid incompatibilities.
  4370. 8 Add a way to access the last substitute text, what is used for ":s//~/".
  4371. Can't use the ~ register, it's already used for drag & drop.
  4372. - Remember flags for backreferenced items, so that "*" can be used after it.
  4373. Check with "\(\S\)\1\{3}". (Hemmerling)
  4374. 8 Flags that apply to the whole pattern.
  4375. This works for all places where a regexp is used.
  4376. Add "\q" to not store this pattern as the last search pattern?
  4377. - Add flags to search command (also for ":s"?):
  4378. i ignore case
  4379. I use case
  4380. p use Perl regexp syntax (or POSIX?)
  4381. v use Vi regexp syntax
  4382. f forget pattern, don't keep it for "n" command
  4383. F remember pattern, keep it for "n" command
  4384. Perl uses these too:
  4385. e evaluate the right side as an expression (Perl only)
  4386. m multiple line expression (we don't need it)
  4387. o compile only once (Perl only)
  4388. s single line expression (we don't need it)
  4389. x extended regexp (we don't need it)
  4390. When used after ":g" command, backslash needed to avoid confusion with the
  4391. following command.
  4392. Add 'searchflags' for default flags (replaces 'gdefault').
  4393. - Add command to display the last used substitute pattern and last used
  4394. pattern. (Margo) Maybe make it accessible through a register (like "/
  4395. for search string)?
  4396. 7 Use T-search algorithm, to speed up searching for strings without special
  4397. characters. See C't article, August 1997.
  4398. - Add 'fuzzycase' option, so that case doesn't matter, and '-' and '_' are
  4399. equivalent (for Unix filenames).
  4400. - Add 'v' flag to search command: enter Visual mode, with the matching text
  4401. as Visual area. (variation on idea from Bertin)
  4402. - Searching: "/this//that/" should find "that" after "this".
  4403. - Add global search commands: Instead of wrapping at the end of the buffer,
  4404. they continue in another buffer. Use flag after search pattern:
  4405. a for the next file in the argument list
  4406. f for file in the buffer list
  4407. w for file edited in a window.
  4408. e.g. "/pat/f". Then "n" and "N" work through files too. "f" flag also for
  4409. ":s/pat/foo/f"??? Then when 'autowrite' and 'hidden' are both not set, ask
  4410. before saving files: "Save modified buffer "/path/file"? (Yes/Hide/No
  4411. Save-all/hide-All/Quit) ".
  4412. - ":s/pat/foo/3": find 3rd match of "pat", like sed. (Thomas Koehler)
  4413. 7 When searching with 'n' give message when getting back where the search
  4414. first started. Remember start of search in '/ mark.
  4415. 7 Add option that scrolls screen to put cursor in middle of screen after
  4416. search always/when off-screen/never. And after a ":tag" command. Maybe
  4417. specify how many lines below the screen causes a redraw with the cursor in
  4418. the middle (default would be half a screen, zero means always).
  4419. 6 Support multiple search buffers, so macros can be made without side
  4420. effects.
  4421. 7 From xvim: Allow a newline in search patterns (also for :s, can delete
  4422. newline). Add BOW, EOW, NEWL, NLORANY, NLBUTANY, magic 'n' and 'r', etc.
  4423. [not in xvim:] Add option to switch on matches crossing ONE line boundary.
  4424. 7 Add ":iselect", a combination of ":ilist" and ":tselect". (Aaron) (Zellner)
  4425. Also ":dselect".
  4426. - Searching for \%'> does not find anything when using line Visual
  4427. selection. Probably because it's using MAXCOL. #8238
  4428. - Regexp to search for duplicate lines does not work correctly:
  4429. /\(^.*\n\)\1 (Chris Morgan, #6239)
  4430. - Problem with upwards search on Windows (works OK on Linux). (Brett
  4431. Stahlman, 2014 Jun 8)
  4432. - Searching mixed with Visual mode doesn't redraw properly. (James Vega,
  4433. 2010 Nov 22)
  4434. - Searching for composing char works, but not when inside []. (ZyX, Benjamin
  4435. R. Haskell, 2010 Aug 24)
  4436. - When 'smartcase' is set and using CTRL-L to add to the search pattern it
  4437. may result in no matches. Convert chars to lower case? (Erik Wognsen,
  4438. 2009 Apr 16)
  4439. Undo:
  4440. 9 ":gundo" command: global undo. Undoes changes spread over multiple files
  4441. in the order they were made. Also ":gredo". Both with a count. Useful
  4442. when tests fail after making changes and you forgot in which files.
  4443. 9 After undo/redo, in the message show whether the buffer is modified or
  4444. not.
  4445. 8 Search for pattern in undo tree, showing when it happened and the text
  4446. state, so that you can jump to it.
  4447. 8 Undo tree: visually show the tree somehow (Damian Conway)
  4448. Show only the leaves, indicating how many changed from the branch and the
  4449. timestamp?
  4450. Put branch with most recent change on the left, older changes get more
  4451. indent?
  4452. - Make it possible to undo all the commands from a mapping, including a
  4453. trailing unfinished command, e.g. for ":map K iX^[r".
  4454. - When accidentally hitting "R" instead of Ctrl-R, further Ctrl-R is not
  4455. possible, even when typing <Esc> immediately. (Grahn) Also for "i", "a",
  4456. etc. Postpone saving for undo until something is really inserted?
  4457. 8 When Inserting a lot of text, it can only be undone as a whole. Make undo
  4458. sync points at every line or word. Could recognize the start of a new
  4459. word (white space and then non-white space) and backspacing.
  4460. Can already use CTRL-G u, but that requires remapping a lot of things.
  4461. 8 Make undo more memory-efficient: Compare text before and after change,
  4462. only remember the lines that really changed.
  4463. 7 Add undo for a range of lines. Can change these back to a previous
  4464. version without changing the rest of the file. Stop doing this when a
  4465. change includes only some of these lines and changes the line count. Need
  4466. to store these undo actions as a separate change that can be undone.
  4467. - For u_save() include the column number. This can be used to set '[ and '].
  4468. And in the future the undo can be made more efficient (Webb).
  4469. - In out-of-memory situations: Free allocated space in undo, and reduce the
  4470. number of undo levels (with confirmation).
  4471. - Instead of [+], give the number of changes since the last write: [+123].
  4472. When undoing to before the last write, change this to a negative number:
  4473. [-99].
  4474. - With undo with simple line delete/insert: optimize screen updating.
  4475. - When executing macro's: Save each line for undo only once.
  4476. - When doing a global substitute, causing almost all lines to be changed,
  4477. undo info becomes very big. Put undo info in swap file??
  4478. - MS-Windows: when writing undo file the infostreams are copied in
  4479. mch_copy_file_attribute(), that seems unnecessary. (#7925) Add a flag to
  4480. only copy attributes?
  4481. - undo result wrong: Masato Nishihata, #4798
  4482. - After recovering from a swap file the undofile should not be used, it
  4483. causes corruption. (#6631)
  4484. - When the computer crashes while writing the undofile, the contents may be
  4485. lost. Write to a temp file, fsync and rename. (#8879)
  4486. - Undo puts cursor in wrong line after "cG<Esc>" undo.
  4487. - Undo history wrong when ":next file" re-uses a buffer. (#5426) ex_next()
  4488. should pass flag to do_argfile(), then to do_ecmd(). Is there a test for
  4489. this?
  4490. - Add buffer argument to undotree(). (#4001)
  4491. - Undo problem: "g-" doesn't go back, gets stuck. (Björn Linse, 2016 Jul 18)
  4492. - Undo message is not always properly displayed. Patch by Ken Takata, 2013
  4493. oct 3. Doesn't work properly according to Yukihiro Nakadaira.
  4494. Also see #1635.
  4495. - When using ":diffput" through a mapping, undo in the target buffer isn't
  4496. synced. (Ryan Carney, 2016 Sep 14)
  4497. - The undo file name can get too long. (Issue 346)
  4498. For the path use a hash instead of dir%dir%dir%name hash%name.
  4499. - Patch to add ":undorecover", get as much text out of the undo file as
  4500. possible. (Christian Brabandt, 2014 Mar 12, update Aug 22)
  4501. - Patch to support :undo absolute jump to file save number. (Christian
  4502. Brabandt, 2010 Nov 5)
  4503. - There should be a way after an abbreviation has expanded to go back to
  4504. what was typed. CTRL-G h ? Would also undo last word or line break
  4505. inserted perhaps. And undo CTRL-W. CTRL-G l would redo.
  4506. - When using 'cryptmethod' xchaha20 the undo file is not encrypted.
  4507. Need to handle extra bytes.
  4508. Buffer list:
  4509. 7 Command to execute a command in another buffer: ":inbuf {bufname} {cmd}".
  4510. Also for other windows: ":inwin {winnr} {cmd}". How to make sure that
  4511. this works properly for all commands, and still be able to return to the
  4512. current buffer/window? E.g.: ":inbuf xxx only".
  4513. 8 Add File.{recent-files} menu entries: Recently edited files.
  4514. Ron Aaron has a plugin for this: mru.vim.
  4515. 8 Unix: Check all uses of fnamecmp() and fnamencmp() if they should check
  4516. inode too.
  4517. 7 Add another number for a buffer, which is visible for the user. When
  4518. creating a new buffer, use the lowest number not in use (or the highest
  4519. number in use plus one?).
  4520. 7 Offer some buffer selection from the command line? Like using ":ls" and
  4521. asking for a buffer number. (Zachmann)
  4522. - When starting to edit a file that is already in the buffer list, use the
  4523. file name argument for the new short file name. (Webb)
  4524. - Add an option to make ":bnext" and ":bprev" wrap around the end of the
  4525. buffer list. Also for ":next" and ":prev"?
  4526. 7 Add argument to ":ls" which is a pattern for buffers to list.
  4527. E.g. ":ls *.c". (Thompson)
  4528. 7 Add expansion of buffer names, so that "*.c" is expanded to all buffer
  4529. names. Needed for ":bdel *.c", ":bunload *.c", etc.
  4530. 8 Support for <afile> where a buffer name is expected.
  4531. 7 Add an option to mostly use slashes in file names. Separately for
  4532. internal use and for when executing an external program?
  4533. 8 Some file systems are case-sensitive, some are not. Besides
  4534. 'wildignorecase' there might be more parts inside
  4535. CASE_INSENSITIVE_FILENAME that are useful on Unix.
  4536. - When using ":bwipe!" also get rid of references to be buffer, e.g. in the
  4537. jumplist and alternate file.
  4538. - ":bnext" in a help buffer is supposed to go to the next help buffer, but
  4539. it goes to any buffer, and then :bnext skips help buffers, since they are
  4540. unlisted. (#4478)
  4541. - :buffer completion does not escape "+" properly and results in a regexp
  4542. error. (#5467)
  4543. - Problem with two buffers with the same name a/b, if it didn't exist before
  4544. and is created outside of Vim. (dskloetg, 2018 Jul 16, #3219)
  4545. - Add an option with file patterns, to be used when unloading a buffer: If
  4546. there is a match, remove entries for the buffer from marks, jumplist, etc.
  4547. To be used for git temp files.
  4548. Swap (.swp) files:
  4549. 8 If writing to the swap file fails, should try to open one in another
  4550. directory from 'dir'. Useful in case the file system is full and when
  4551. there are short file name problems.
  4552. 8 Also use the code to try using a short file name for the backup and swap
  4553. file for the Win32 and Dos 32 bit versions.
  4554. 8 When a file is edited by root, add $LOGNAME to know who did su.
  4555. 8 When the edited file is a symlink, try to put the swap file in the same
  4556. dir as the actual file. Adjust FullName(). Avoids editing the same file
  4557. twice (e.g. when using quickfix). Also try to make the name of the backup
  4558. file the same as the actual file?
  4559. Use the code for resolve()?
  4560. 7 When using 64 bit inode numbers, also store the top 32 bits. Add another
  4561. field for this, using part of bo_fname[], to keep it compatible.
  4562. 7 When editing a file on removable media, should put swap file somewhere
  4563. else. Use something like 'r' flag in 'viminfo'. 'diravoid'?
  4564. Also: Be able to specify minimum disk space, skip directory when not
  4565. enough room.
  4566. 7 Add a configure check for which directory should be used: /tmp, /var/tmp
  4567. or /var/preserve.
  4568. - Add an option to create a swap file only when making the first change to
  4569. the buffer. (Liang) Or only when the buffer is not read-only.
  4570. - Add option to set "umask" for backup files and swap files (Antwerpen).
  4571. 'backupumask' and 'swapumask'? Or 'umaskbackup' and 'umaskswap'?
  4572. - When editing a readonly file, don't use a swap file but read parts from the
  4573. original file. Also do this when the file is huge (>'maxmem'). We do
  4574. need to load the file once to count the number of lines? Perhaps keep a
  4575. cached list of which line is where.
  4576. - When editing a file with ":edit" the output of :swapname is relative,
  4577. while editing it with "vim file" it is absolute. (#355) Which one should
  4578. it be?
  4579. - When recovering a file, put the swap file name in b:recovered_swapfile.
  4580. Then a command can delete it.
  4581. - In the ATTENTION message about an existing swap file, mention the name of
  4582. the process that is running. It might actually be some other program,
  4583. e.g. after a reboot.
  4584. - When running Vim in silent ex mode, an existing swapfile causes Vim to
  4585. wait for a user action without a prompt. (Maarten Billemont, 2012 Feb 3)
  4586. Do give the prompt? Quit with an error?
  4587. - After doing "su" $HOME can be the old user's home, thus ~root/file is not
  4588. correct. Don't use it in the swap file.
  4589. - In the swapfile dialog, add a H(elp) option that gives more info about
  4590. what each choice does. Similar to ":help swap-exists-choices"
  4591. Viminfo:
  4592. 7 Can probably remove the code that checks for a writable viminfo file,
  4593. because we now do the chown() for root, and others can't overwrite someone
  4594. else's viminfo file.
  4595. 8 When there is no .viminfo file and someone does "su", runs Vim, a
  4596. root-owned .viminfo file is created. Is there a good way to avoid this?
  4597. Perhaps check the owner of the directory. Only when root?
  4598. 8 Add argument to keep the list of buffers when Vim is started with a file
  4599. name. (Schild)
  4600. 8 Keep the last used directory of the file browser (File/Open menu).
  4601. 8 Remember the last used register for "@@".
  4602. 8 Remember the redo buffer, so that "." works after restarting.
  4603. 8 Remember a list of last accessed files. To be used in the
  4604. "File.Open Recent" menu. Default is to remember 10 files or so.
  4605. Also remember which files have been read and written. How to display
  4606. this?
  4607. 7 Also store the ". register (last inserted text).
  4608. 7 Make it possible to store buffer names in viminfo file relative to some
  4609. directory, to make them portable over a network. (Aaron)
  4610. 6 Store a snapshot of the currently opened windows. So that when quitting
  4611. Vim, and then starting again (without a file name argument), you see the
  4612. same files in the windows. Use ":mksession" code?
  4613. - Make marks present in .viminfo usable as file marks: Display a list of
  4614. "last visited files" and select one to jump to.
  4615. - Add the debug command line history to viminfo.
  4616. - Using "wviminfo /tmp/viminfo" does not store file marks that Vim knows
  4617. about, it only works when merging with an existing file. (Shougo, 2017
  4618. Jun 19, #1781)
  4619. - Writing nested List and Dict in viminfo gives error message and can't be
  4620. read back. (Yukihiro Nakadaira, 2010 Nov 13)
  4621. - When a register contains illegal bytes, writing viminfo in utf-8 and
  4622. reading it back doesn't result in utf-8. (Devin Bayer)
  4623. 8 With 'viminfo' set such that the ".viminfo" file is written on a FAT
  4624. filesystem, an illegal file name may be created: ".vim".
  4625. 8 For each buffer that is opened, the viminfo file is opened and read to
  4626. check for file marks. This can be slow.
  4627. 8 When write_viminfo() is used while there are many orphaned viminfo
  4628. tempfiles writing the viminfo file fails. Give a clear error message so
  4629. that the user knows the files have to be deleted.
  4630. Modelines:
  4631. 8 Before trying to execute a modeline, check that it looks like one (valid
  4632. option names). If it's very wrong, silently ignore it.
  4633. Ignore a line that starts with "Subject: ".
  4634. - Add an option to whitelist options that are allowed in a modeline. This
  4635. would allow careful users to use modelines, e.g., only allowing
  4636. 'shiftwidth'.
  4637. - Add an option to let modelines only set local options, not global ones
  4638. such as 'encoding'.
  4639. - When an option value is coming from a modeline, do not carry it over to
  4640. another edited file? Would need to remember the value from before the
  4641. modeline setting.
  4642. - Allow setting a variable from a modeline? Only allow using fixed strings,
  4643. no function calls, to avoid a security problem.
  4644. - Allow ":doauto BufRead x.cpp" in modelines, to execute autocommands for
  4645. .cpp files.
  4646. - Support the "abbreviate" command in modelines (Kearns). Careful for
  4647. characters after <Esc>, that is a security leak.
  4648. - Add an option setting to ask the user if the modelines are to be executed
  4649. or not. Same for .exrc in local dir.
  4650. Sessions:
  4651. - Session file contains absolute paths when "curdir" is removed form
  4652. 'sessionoptions', making it impossible to have a session with a relative
  4653. path. (#4450)
  4654. - Session file only contains local option values for buffers that are in a
  4655. window, not other buffers. (#7532)
  4656. - Script generated by :mksession does not work well if there are windows
  4657. with modified buffers:
  4658. change "silent only" into "silent only!"
  4659. change "edit fname" of first buffer to "hide edit fname"
  4660. skip "badd fname" if "fname" is already in the buffer list
  4661. remove remark about unloading buffers from documentation
  4662. - When session file has name in argument list but the buffer was deleted,
  4663. the buffer is not deleted when using the session file. (#1393) Should add
  4664. the buffer in hidden state.
  4665. - When a session file is created and there are "nofile" buffers, these are
  4666. not filled. Need to trigger BufReadCmd autocommands. Also handle
  4667. deleting the initial empty buffer better. (ZyX, 2015 March 8)
  4668. - Setting the spell file in a session only reads the local additions, not
  4669. the normal spell file. (Enno Nagel, 2014 Mar 29)
  4670. - Directory wrong in session file, caused by ":lcd" in BufEnter autocommand.
  4671. (Felix Kater, 2009 Mar 3)
  4672. - Something wrong with session that has "cd" commands and "badd", in such a
  4673. way that Vim doesn't find the edited file in the buffer list, causing the
  4674. ATTENTION message? (Tony Mechelynck, 2008 Dec 1) Also: swap files are in
  4675. ~/tmp/ One has relative file name ".mozilla/...".
  4676. - Session file creation: 'autochdir' causes trouble. Keep it off until
  4677. after loading all files.
  4678. - Session file generates error upon loading, cause by --remote-silent-tab.
  4679. (7tommm (ytommm) 2010 Nov 24)
  4680. 8 DOS/Windows: ":mksession" generates a "cd" command where "aa\#bb" means
  4681. directory "#bb" in "aa", but it's used as "aa#bb". (Ronald Hoellwarth)
  4682. 7 When there is a "help.txt" window in a session file, restoring that
  4683. session will not get the "LOCAL ADDITIONS" back.
  4684. 8 With ":mksession" always store the 'sessionoptions' option, even when
  4685. "options" isn't in it. (St-Amant)
  4686. 8 When using ":mksession", also store a command to reset all options to
  4687. their default value, before setting the options that are not at their
  4688. default value.
  4689. 7 With ":mksession" also store the tag stack and jump history. (Michal
  4690. Malecki)
  4691. Options:
  4692. 7 ":with option=value | command": temporarily set an option value and
  4693. restore it after the command has executed.
  4694. 8 Make "old" number options that really give a number of effects into string
  4695. options that are a comma-separated list. The old number values should
  4696. also be supported.
  4697. 8 Add commands to save and restore an option, which also preserves the flag
  4698. that marks if the option was set. Useful to keep the effect of setting
  4699. 'compatible' after ":syntax on" has been used.
  4700. 7 There is 'titleold', why is there no 'iconold'? (Chazelas)
  4701. External commands:
  4702. 8 When filtering text, redirect stderr so that it can't mess up the screen
  4703. and Vim doesn't need to redraw it. Also for ":r !cmd".
  4704. 4 Set separate shell for ":sh", piping "range!filter", reading text "r !ls"
  4705. and writing text "w !wc". (Deutsche) Allow arguments for fast start (e.g.
  4706. -f).
  4707. 4 Allow direct execution, without using a shell.
  4708. 4 Run an external command in the background. But how about I/O in the GUI?
  4709. Careful: don't turn Vim into a shell!
  4710. 4 Add feature to disable using a shell or external commands.
  4711. Multiple Windows:
  4712. 7 "vim -oO file ..." use both horizontal and vertical splits.
  4713. 8 Add CTRL-W T: go to the top window in the column of the current window.
  4714. And CTRL-W B: go to bottom window.
  4715. 7 Use CTRL-W <Tab>, like alt-tab, to switch between buffers. Repeat <Tab>
  4716. to select another buffer (only loaded ones?), <BS> to go back, <Enter> to
  4717. select buffer, <Esc> to go back to original buffer.
  4718. 7 Make it possible to edit a new buffer in the preview window. A script can
  4719. then fill it with something. ":popen"?
  4720. 7 Add a 'tool' window: behaves like a preview window but there can be
  4721. several. Don't count it in only_one_window(). (Alexei Alexandrov)
  4722. 6 Add an option to resize the shell when splitting and/or closing a window.
  4723. ":vsp" would make the shell wider by as many columns as needed for the new
  4724. window. Specify a maximum size (or use the screen size). ":close" would
  4725. shrink the shell by as many columns as come available. (Demirel)
  4726. 7 When starting Vim several times, instantiate a Vim server, that allows
  4727. communication between the different Vims. Feels like one Vim running with
  4728. multiple top-level windows. Esp. useful when Vim is started from an IDE
  4729. too. Requires some form of inter process communication.
  4730. - Support a connection to an external viewer. Could call the viewer
  4731. automatically after some seconds of non-activity, or with a command.
  4732. Allow some way of reporting scrolling and cursor positioning in the viewer
  4733. to Vim, so that the link between the viewed and edited text can be made.
  4734. Marks:
  4735. 8 Add ten marks for last changed files: ':0, ':1, etc. One mark per file.
  4736. 8 When cursor is first moved because of scrolling, set a mark at this
  4737. position. (Rimon Barr) Use '-.
  4738. 8 Add a command to jump to a mark and make the motion inclusive. g'm and g`m?
  4739. 8 The '" mark is set to the first line, even when doing ":next" a few times.
  4740. Only set the '" mark when the cursor was really moved in a file.
  4741. 8 Make `` and '', which would position the new cursor position in the middle
  4742. of the window, restore the old topline (or relative position) from when
  4743. the mark was set.
  4744. 7 Make a list of file marks in a separate window. For listing all buffers,
  4745. matching tags, errors, etc. Normal commands to move around. Add commands
  4746. to jump to the mark (in current window or new window). Start it with
  4747. ":browse marks"?
  4748. 6 Add a menu that lists the Marks like ":marks". (Amerige)
  4749. 7 For ":jumps", ":tags" and ":marks", for not loaded buffers, remember the
  4750. text at the mark. Highlight the column with the mark.
  4751. 7 Highlight each mark in some way (With "Mark" highlight group).
  4752. Or display marks in a separate column, like 'number' does.
  4753. 7 Use d"m to delete rectangular area from cursor to mark m (like Vile's \m
  4754. command).
  4755. 7 Try to keep marks in the same position when:
  4756. - replacing with a line break, like in ":s/pat/^M/", move marks after the
  4757. line break column to the next line. (Acevedo)
  4758. - inserting/deleting characters in a line.
  4759. 5 Include marks for start/end of the current word and section. Useful in
  4760. mappings.
  4761. 6 Add "unnamed mark" feature: Like marks for the ":g" command, but place and
  4762. unplace them with commands before doing something with the lines.
  4763. Highlight the marked lines somehow.
  4764. Digraphs:
  4765. 7 Make "ga" show the keymap for a character, if it exists.
  4766. Also show the code of the character after conversion to 'fileencoding'.
  4767. - Use digraph table to tell Vim about the collating sequence of special
  4768. characters?
  4769. 8 Add command to remove one or more (all) digraphs. (Brown)
  4770. 7 Support different sets of digraphs (depending on the character set?). At
  4771. least Latin1/Unicode, Latin-2, MS-DOS (esp. for Win32).
  4772. Writing files:
  4773. - In vim_rename(), should lock "from" file when deleting "to" file for
  4774. systems other than Amiga. Avoids problems with unexpected longname to
  4775. shortname conversion.
  4776. 8 write mch_isdevice() for Amiga, Mac, VMS, etc.
  4777. 8 When appending to a file, Vim should also make a backup and a 'patchmode'
  4778. file.
  4779. 8 'backupskip' doesn't write a backup file at all, a bit dangerous for some
  4780. applications. Add 'backupelsewhere' to write a backup file in another
  4781. directory? Or add a flag to 'backupdir'?
  4782. 6 Add an option to write a new, numbered, backup file each time. Like
  4783. 'patchmode', e.g., 'backupmode'.
  4784. 6 Make it possible to write 'patchmode' files to a different directory.
  4785. E.g., ":set patchmode=~/backups/*.orig". (Thomas)
  4786. 6 Add an option to prepend something to the backup file name. E.g., "#".
  4787. Or maybe allow a function to modify the backup file name?
  4788. 8 Only make a backup when overwriting a file for the first time. Avoids
  4789. losing the original when writing twice. (Slootman)
  4790. 7 On non-Unix machines, also overwrite the original file in some situations
  4791. (file system full, it's a link on an NFS partition).
  4792. 7 When editing a file, check that it has been changed outside of Vim more
  4793. often, not only when writing over it. E.g., at the time the swap file is
  4794. flushed. Or every ten seconds or so (use the time of day, check it before
  4795. waiting for a character to be typed).
  4796. 8 When a file was changed since editing started, show this in the status
  4797. line of the window, like "[time]".
  4798. Make it easier to reload all outdated files that don't have changes.
  4799. Automatic and/or with a command.
  4800. Substitute:
  4801. 8 Substitute with hex/unicode number "\%xff" and "\%uabcd". Just like
  4802. "\%uabcd" in search pattern.
  4803. 8 Make it easier to replace in all files in the argument list. E.g.:
  4804. ":argsub/oldword/newword/". Works like ":argdo %s/oldword/newword/g|w".
  4805. - :s///p prints the line after a substitution.
  4806. - With :s///c replace \&, ~, etc. when showing the replacement pattern.
  4807. 8 With :s///c allow scrolling horizontally when 'nowrap' is effective.
  4808. Also allow a count before the scrolling keys.
  4809. - Add number option to ":s//2": replace second occurrence of string? Or:
  4810. :s///N substitutes N times.
  4811. - Add answers to ":substitute" with 'c' flag, used in a ":global", e.g.:
  4812. ":g/pat1/s/pat2/pat3/cg": 'A' do all remaining replacements, 'Q' don't do
  4813. any replacements, 'u' undo last substitution.
  4814. 7 Substitute in a block of text. Use {line}.{column} notation in an Ex
  4815. range, e.g.: ":1.3,$.5s" means to substitute from line 1 column 3 to the
  4816. last line column 5.
  4817. 5 Add commands to bookmark lines, display bookmarks, remove bookmarks,
  4818. operate on lines with bookmarks, etc. Like ":global" but with the
  4819. possibility to keep the bookmarks and use them with several commands.
  4820. (Stanislav Sitar)
  4821. Mouse support:
  4822. 8 Add 'o' flag to 'mouse'?
  4823. 7 Be able to set a 'mouseshape' for the popup menu.
  4824. 8 Add 'mouse' flag, which sets a behavior like Visual mode, but automatic
  4825. yanking at the button-up event. Or like Select mode, but typing gets you
  4826. out of Select mode, instead of replacing the text. (Bhaskar)
  4827. - Implement mouse support for the Amiga console.
  4828. - Using right mouse button to extend a blockwise selection should attach to
  4829. the nearest corner of the rectangle (four possible corners).
  4830. - Precede mouse click by a number to simulate double clicks?!?
  4831. - When mouse click after 'r' command, get character that was pointed to.
  4832. Argument list:
  4833. 6 Add command to put all filenames from the tag files in the argument list.
  4834. When given an argument, only use the files where that argument matches
  4835. (like `grep -l ident`) and jump to the first match.
  4836. 6 Add command to form an args list from all the buffers?
  4837. Registers:
  4838. 8 Don't display empty registers with ":display". (Etienne)
  4839. 8 Add put command that overwrites existing text. Should also work for
  4840. blocks. Useful to move text around in a table. Works like using "R ^R r"
  4841. for every line.
  4842. - When appending to a register, also report the total resulting number of
  4843. lines. Or just say "99 more lines yanked", add the "more".
  4844. - When inserting a register in Insert mode with CTRL-R, don't insert comment
  4845. leader when line wraps?
  4846. - The ":@r" commands should take a range and execute the register for each
  4847. line in the range.
  4848. - Add "P" command to insert contents of unnamed register, move selected text
  4849. to position of previous deleted (to swap foo and bar in " + foo")
  4850. 8 Should be able to yank and delete into the "/ register.
  4851. How to take care of the flags (offset, magic)?
  4852. - In Select mode the deleted text always goes into the unnamed register.
  4853. Use CTRL-R to specify the register to use. (#9531)
  4854. - When "+ register is set then "" points to it. If another Vim grabs the "+
  4855. register, then "" doesn't contain anything. Make it still follow "+.
  4856. (#6435)
  4857. - Pasting a register in Visual mode cannot be repeated. (Mahmoud Al-Qudsi,
  4858. 2018 Apr 26, #2849)
  4859. - Patch to add option that tells whether small deletes go into the numbered
  4860. registers. (Aryeh Leib Taurog, 2013 Nov 18)
  4861. - With "unamedplus" in 'clipboard' pasting in Visual mode causes error for
  4862. empty register. (Michael Seiwald, 2011 Jun 28) I can't reproduce it.
  4863. - Consider making YankRing or something else that keeps a list of yanked
  4864. text part of standard Vim. The "1 to "9 registers are not sufficient.
  4865. 6 When yanking into the unnamed registers several times, somehow make the
  4866. previous contents also available (like it's done for deleting). What
  4867. register names to use? g"1, g"2, etc.?
  4868. Also do this for the small delete register "-.
  4869. Debug mode:
  4870. 8 Add breakpoints for setting an option
  4871. 8 Add breakpoints for assigning to a variable.
  4872. 7 Store the history from debug mode in viminfo.
  4873. 7 Make the debug mode history available with histget() et al.
  4874. - In debug mode, using CTRL-R = to evaluate a function causes stepping
  4875. through the function. (Hari Krishna Dara, 2006 Jun 28)
  4876. Various improvements:
  4877. 7 Add plugins for formatting? Should be able to make a choice depending on
  4878. the language of a file (English/Korean/Japanese/etc.).
  4879. Setting the 'langformat' option to "chinese" would load the
  4880. "format/chinese.vim" plugin.
  4881. The plugin would set 'formatexpr' and define the function being called.
  4882. Edward L. Fox explains how it should be done for most Asian languages.
  4883. (2005 Nov 24)
  4884. Alternative: patch for utf-8 line breaking. (Yongwei Wu, 2008 Feb 23)
  4885. 7 [t to move to previous xml/html tag (like "vatov"), ]t to move to next
  4886. ("vatv").
  4887. 7 [< to move to previous xml/html tag, e.g., previous <li>. ]< to move to
  4888. next <li>, ]< to next </li>, [< to previous </li>.
  4889. 8 Add ":rename" command: rename the file of the current buffer and rename
  4890. the buffer. Buffer may be modified.
  4891. 7 Instead of filtering errors with a shell script it should be possible to
  4892. do this with Vim script. A function that filters the raw text that comes
  4893. from the 'makeprg'?
  4894. - Add %b to 'errorformat': buffer number. (Yegappan Lakshmanan / Suresh
  4895. Govindachar)
  4896. 7 Allow a window not to have a statusline. Makes it possible to use a
  4897. window as a buffer-tab selection.
  4898. 8 Allow non-active windows to have a different statusline. (Yakov Lerner)
  4899. 7 Add an invisible buffer which can be edited. For use in scripts that want
  4900. to manipulate text without changing the window layout.
  4901. 8 Add a command to revert to the saved version of file; undo or redo until
  4902. all changes are gone.
  4903. 6 "vim -q -" should read the list of errors from stdin. (Gautam Mudunuri)
  4904. 8 Add "--remote-fail": When contacting the server fails, exit Vim.
  4905. Add "--remote-self": When contacting the server fails, do it in this Vim.
  4906. Overrules the default of "--remote-send" to fail and "--remote" to do it
  4907. in this Vim.
  4908. 8 When Vim was started without a server, make it possible to start one, as
  4909. if the "--servername" argument was given. ":startserver <name>"?
  4910. 8 No address range can be used before the command modifiers. This makes
  4911. them difficult to use in a menu for Visual mode. Accept the range and
  4912. have it apply to the following command.
  4913. 8 Add the possibility to set 'fileformats' to force a format and strip other
  4914. CR characters. For example, for "dos" files remove CR characters at the
  4915. end of the line, so that a file with mixed line endings is cleaned up.
  4916. To just not display the CR characters: Add a flag to 'display'?
  4917. 7 Some compilers give error messages in which the file name does not have a
  4918. path. Be able to specify that 'path' is used for these files.
  4919. 7 Xterm sends <Esc>O3F for <M-End>. Similarly for other <M-Home>, <M-Left>,
  4920. etc. Combinations of Alt, Ctrl and Shift are also possible. Recognize
  4921. these to avoid inserting the raw byte sequence, handle like the key
  4922. without modifier (unless mapped).
  4923. 6 Add "gG": like what "gj" is to "j": go to the N'th window line.
  4924. 8 Add command like ":normal" that accepts <Key> notation like ":map".
  4925. 9 Support ACLs on more systems.
  4926. 7 Add ModeMsgVisual, ModeMsgInsert, etc. so that each mode message can be
  4927. highlighted differently.
  4928. 7 Add a message area for the user. Set some option to reserve space (above
  4929. the command line?). Use an ":echouser" command to display the message
  4930. (truncated to fit in the space).
  4931. 7 Add %s to 'keywordprg': replace with word under the cursor. (Zellner)
  4932. 8 Support printing on Unix. Can use "lpansi.c" as an example. (Bookout)
  4933. 8 Add put command that replaces the text under it. Esp. for blockwise
  4934. Visual mode.
  4935. 7 Enhance termresponse stuff: Add t_CV(?): pattern of term response, use
  4936. regexp: "\e\[[>?][0-9;]*c", but only check just after sending t_RV.
  4937. 7 Add "g|" command: move to N'th column from the left margin (after wrapping
  4938. and applying 'leftcol'). Works as "|" like what "g0" is to "0".
  4939. 7 Support setting 'equalprg' to a user function name.
  4940. 7 Highlight the characters after the end-of-line differently.
  4941. 7 When 'whichwrap' contains "l", "$dl" should join lines?
  4942. 8 Add an argument to configure to use $CFLAGS and not modify it? (Mooney)
  4943. 8 Enabling features is a mix of configure arguments and defines in
  4944. feature.h. How to make this consistent? Feature.h is required for
  4945. non-unix systems. Perhaps let configure define CONF_XXX, and use #ifdef
  4946. CONF_XXX in feature.h? Then what should min-features and max-features do?
  4947. 8 Add "g^E" and "g^Y", to scroll a screen-full line up and down.
  4948. 8 Add ":confirm" handling in open_exfile(), for when file already exists.
  4949. 8 When quitting with changed files, make the dialog list the changed file
  4950. and allow "write all", "discard all", "write some". The last one would
  4951. then ask "write" or "discard" for each changed file. Patch in HierAssist
  4952. does something like this. (Shah)
  4953. 7 Use growarray for replace stack.
  4954. 7 Have a look at viH (Hellenic or Greek version of Vim). But a solution
  4955. outside of Vim might be satisfactory (Haritsis).
  4956. 3 Make "2d%" work like "d%d%" instead of "d2%"?
  4957. 7 "g CTRL-O" jumps back to last used buffer. Skip CTRL-O jumps in the same
  4958. buffer. Make jumplist remember the last ten accessed buffers?
  4959. 7 Make it possible to set the size of the jumplist (also to a smaller number
  4960. than the default). (Nikolai Weibull)
  4961. - Add code to disable the CAPS key when going from Insert to Normal mode.
  4962. - Set date/protection/etc. of the patchfile the same as the original file.
  4963. - Use growarray for termcodes[] in term.c
  4964. - Add <window-99>, like <cword> but use filename of 99'th window.
  4965. 7 Add a way to change an operator to always work characterwise-inclusive
  4966. (like "v" makes the operator characterwise-exclusive). "x" could be used.
  4967. - Make a set of operations on list of names: expand wildcards, replace home
  4968. dir, append a string, delete a string, etc.
  4969. - Remove using mktemp() and use tmpname() only? Ctags does this.
  4970. - When replacing environment variables, and there is one that is not set,
  4971. turn it into an empty string? Only when expanding options? (Hiebert)
  4972. - Option to set command to be executed instead of producing a beep (e.g. to
  4973. call "play newbeep.au").
  4974. - Add option to show the current function name in the status line. More or
  4975. less what you find with "[[k", like how 'cindent' recognizes a function.
  4976. (Bhatt).
  4977. - "[r" and "]r": like "p" and "P", but replace instead of insert (esp. for
  4978. blockwise registers).
  4979. - Add 'timecheck' option, on by default. Makes it possible to switch off the
  4980. timestamp warning and question. (Dodt).
  4981. - Add an option to set the time after which Vim should check the timestamps
  4982. of the files. Only check when an event occurs (e.g., character typed,
  4983. mouse moved). Useful for non-GUI versions where keyboard focus isn't
  4984. noticeable.
  4985. - Make 'smartcase' work even though 'ic' isn't set (Webb).
  4986. 7 When formatting text, allow to break the line at a number of characters.
  4987. Use an option for this: 'breakchars'? Useful for formatting Fortran code.
  4988. - Add flag to 'formatoptions' to be able to format book-style paragraphs
  4989. (first line of paragraph has larger indent, no empty lines between
  4990. paragraphs). Complements the '2' flag. Use '>' flag when larger indent
  4991. starts a new paragraph, use '<' flag when smaller indent starts a new
  4992. paragraph. Both start a new paragraph on any indent change.
  4993. 8 The 'a' flag in 'formatoptions' is too dangerous. In some way only do
  4994. auto-formatting in specific regions, e.g. defined by syntax highlighting.
  4995. 8 Allow using a trailing space to signal a paragraph that continues on the
  4996. next line (MIME text/plain; format=flowed, RFC 2646). Can be used for
  4997. continuous formatting. Could use 'autoformat' option, which specifies a
  4998. regexp which triggers auto-formatting (for one line).
  4999. ":set autoformat=\\s$".
  5000. - Be able to redefine where a sentence stops. Use a regexp pattern?
  5001. - Support multibyte characters for sentences. Example from Ben Peterson.
  5002. 7 Add command "g)" to go to the end of a sentence, "g(" to go back to the
  5003. end of a sentence. (Servatius Brandt)
  5004. - Be able to redefine where a paragraph starts. For "[[" where the '{' is
  5005. not in column 1.
  5006. 6 Add ":cdprev": go back to the previous directory. Need to remember a
  5007. stack of previous directories. We also need ":cdnext".
  5008. 7 Should ":cd" for MS-DOS go to $HOME, when it's defined?
  5009. - Make "gq<CR>" work on the last line in the file. Maybe for every operator?
  5010. - Add more redirecting of Ex commands:
  5011. :redir #> bufname
  5012. :redir #>> bufname (append)
  5013. - Give error message when starting :redir: twice or using END when no
  5014. redirection was active.
  5015. - Setting of options, specifically for a buffer or window, with
  5016. ":set window.option" or ":set buffer.option=val". Or use ":buffer.set".
  5017. Also: "buffer.map <F1> quit".
  5018. 6 Would it be possible to change the color of the cursor in the Win32
  5019. console? (Klaus Hast)
  5020. - Add :delcr command:
  5021. *:delcr*
  5022. :[range]delcr[!] Check [range] lines (default: whole buffer) for lines
  5023. ending in <CR>. If all lines end in <CR>, or [!] is
  5024. used, remove the <CR> at the end of lines in [range].
  5025. A CTRL-Z at the end of the file is removed. If
  5026. [range] is omitted, or it is the whole file, and all
  5027. lines end in <CR> 'textmode' is set.
  5028. - Should integrate addstar() and file_pat_to_reg_pat().
  5029. - When working over a serial line with 7 bit characters, remove meta
  5030. characters from 'isprint'.
  5031. - Use fchdir() in init_homedir(), like in FullName().
  5032. - In win_update(), when the GUI is active, always use the scrolling area.
  5033. Avoid that the last status line is deleted and needs to be redrawn.
  5034. - That "cTx" fails when the cursor is just after 'x' is Vi compatible, but
  5035. may not be what you expect. Add a flag in 'cpoptions' for this? More
  5036. general: Add an option to allow "c" to work with a null motion.
  5037. - Give better error messages by using errno (strerror()).
  5038. - Give "Usage:" error message when command used with wrong arguments (like
  5039. Nvi).
  5040. - Make 'restorescreen' option also work for xterm (and others), replaces the
  5041. SAVE_XTERM_SCREEN define.
  5042. 7 Support for ":winpos" In xterm: report the current window position.
  5043. - Give warning message when using ":set t_xx=asdf" for a termcap code that
  5044. Vim doesn't know about. Add flag in 'shortmess'?
  5045. 6 Add ":che <file>", list all the include paths which lead to this file.
  5046. - For a commandline that has several commands (:s, :d, etc.) summarize the
  5047. changes all together instead of for each command (e.g. for the rot13
  5048. macro).
  5049. - Add command like "[I" that also shows the tree of included files.
  5050. - ":set sm^L" results in ":set s", because short names of options are also
  5051. expanded. Is there a better way to do this?
  5052. - Add ":@!" command, to ":@" like what ":source!" is to ":source".
  5053. 8 Add ":@:!": repeat last command with forceit set.
  5054. - Add 't_normal': Used whenever t_me, t_se, t_ue or t_Zr is empty.
  5055. - ":cab map test ^V| je", ":cunab map" doesn't work. This is vi compatible!
  5056. - CTRL-W CTRL-E and CTRL-W CTRL-Y should move the current window up or down
  5057. if it is not the first or last window.
  5058. - Include-file-search commands should look in the loaded buffer of a file (if
  5059. there is one) instead of the file itself.
  5060. 7 Change 'nrformats' to include the leader for each format. Example:
  5061. nrformats=hex:$,binary:b,octal:0
  5062. Add setting of 'nrformats' to syntax files.
  5063. - 'path' can become very long, don't use NameBuff for expansion.
  5064. - When unhiding a hidden buffer, put the same line at top of the window as
  5065. the one before hiding it. Or: keep the same relative cursor position (so
  5066. many percent down the windows).
  5067. - Make it possible for the 'showbreak' to be displayed at the end of the
  5068. line. Use a comma to separate the part at the end and the start of the
  5069. line? Highlight the linebreak characters, add flag in 'highlight'.
  5070. Make 'showbreak' local to a window.
  5071. - Some string options should be expanded if they have wildcards, e.g.
  5072. 'dictionary' when it is "*.h".
  5073. - Use a specific type for number and boolean options, making it possible to
  5074. change it for specific machines (e.g. when a long is 64 bit).
  5075. - Add option for <Insert> in replace mode going to normal mode. (Nugent)
  5076. - Add a next/previous possibility to "[^I" and friends.
  5077. - Add possibility to change the HOME directory. Use the directory from the
  5078. passwd file? (Antwerpen)
  5079. 8 Add commands to push and pop all or individual options. ":setpush tw",
  5080. ":setpop tw", ":setpush all". Maybe pushing/popping all options is
  5081. sufficient. ":setflush" resets the option stack?
  5082. How to handle an aborted mapping? Remember position in tag stack when
  5083. mapping starts, restore it when an error aborts the mapping?
  5084. - Change ":fixdel" into option 'fixdel', t_del will be adjusted each time
  5085. t_bs is set? (Webb)
  5086. - "gc": goto character, move absolute character positions forward, also
  5087. counting newlines. "gC" goes backwards (Weigert).
  5088. - When doing CTRL-^, redraw buffer with the same topline. (Demirel) Store
  5089. cursor row and window height to redraw cursor at same percentage of window
  5090. (Webb).
  5091. - Besides remembering the last used line number of a file, also remember the
  5092. column. Use it with CTRL-^ et. al.
  5093. - Check for non-digits when setting a number option (careful when entering
  5094. hex codes like 0xff).
  5095. - Add option to make "." redo the "@r" command, instead of the last command
  5096. executed by it. Also to make "." redo the whole mapping. Basically: redo
  5097. the last TYPED command.
  5098. - Support URL links for ^X^F in Insert mode, like for "gf".
  5099. - Support %name% expansion for "gf" on Windows.
  5100. - Make "gf" work on "file://c:/path/name". "file:/c:/" and "file:///c:/"
  5101. should also work?
  5102. - Add 'urlpath', used like 'path' for when "gf" used on a URL?
  5103. 8 When using "gf" on an absolute file name, while editing a remote file
  5104. (starts with scp:// or http://) should prepend the method and machine
  5105. name.
  5106. - When finding a URL or file name, and it doesn't exist, try removing a
  5107. trailing '.'.
  5108. - Add ":path" command modifier. Should work for every command that takes a
  5109. file name argument, to search for the file name in 'path'. Use
  5110. find_file_in_path().
  5111. - Highlight control characters on the screen: Shows the difference between
  5112. CTRL-X and "^" followed by "X" (Colon).
  5113. - Integrate parsing of cmdline command and parsing for expansion.
  5114. - Create a program that can translate a .swp file from any machine into a
  5115. form usable by Vim on the current machine.
  5116. - Add ":noro" command: Reset 'ro' flag for all buffers, except ones that have
  5117. a readonly file. ":noro!" will reset all 'ro' flags.
  5118. - Add a variant of CTRL-V that stops interpretation of more than one
  5119. character. For entering mappings on the command line where a key contains
  5120. several special characters, e.g. a trailing newline.
  5121. - Make '2' option in 'formatoptions' also work inside comments.
  5122. - Add 's' flag to 'formatoptions': Do not break when inside a string. (Dodt)
  5123. - When window size changed (with the mouse) and made too small, set it back
  5124. to the minimal size.
  5125. - Add "]>" and "[<", shift comment at end of line (command; /* comment */).
  5126. - Should not call cursorcmd() for each vgetc() in getcmdline().
  5127. - ":split file1 file2" adds two more windows (Webb).
  5128. - Don't give message "Incomplete last line" when editing binary file.
  5129. - Add ":a", ":i" for preloading of named buffers.
  5130. - When entering text, keep other windows on same buffer updated (when a line
  5131. entered)?
  5132. - Check out how screen does output optimizing. Apparently this is possible
  5133. as an output filter.
  5134. - In dosub() regexec is called twice for the same line. Try to avoid this.
  5135. - Window updating from memline.c: insert/delete/replace line.
  5136. - Optimize ml_append() for speed, esp. for reading a file.
  5137. - V..c should keep indent when 'ai' is set, just like [count]cc.
  5138. - Updatescript() can be done faster with a string instead of a char.
  5139. - Screen updating is inefficient with CTRL-F and CTRL-B when there are long
  5140. lines.
  5141. - Uppercase characters in Ex commands can be made lowercase?
  5142. 8 Add option to show characters in text not as "|A" but as decimal ("^129"),
  5143. hex ("\x81") or octal ("\201") or meta (M-x). Nvi has the 'octal' option
  5144. to switch from hex to octal. Vile can show unprintable characters in hex
  5145. or in octal.
  5146. 7 Tighter integration with xxd to edit binary files. Make it more
  5147. easy/obvious to use. Command line argument?
  5148. - How does vi detect whether a filter has messed up the screen? Check source.
  5149. After ":w !command" a wait_return?
  5150. - Improve screen updating code for doput() (use s_ins()).
  5151. - With 'p' command on last line: scroll screen up (also for terminals without
  5152. insert line command).
  5153. - Use insert/delete char when terminal supports it.
  5154. - Optimize screen redraw for slow terminals.
  5155. - Optimize "dw" for long row of spaces (say, 30000).
  5156. - Add "-d null" for editing from a script file without displaying.
  5157. - In Insert mode: Remember the characters that were removed with backspace
  5158. and re-insert them one at a time with <key1>, all together with <key2>.
  5159. - Amiga: Add possibility to set a keymap. The code in amiga.c does not work
  5160. yet.
  5161. - Implement 'redraw' option.
  5162. - Add special code to 'sections' option to define something else but '{' or
  5163. '}' as the start of a section (e.g. one shiftwidth to the right).
  5164. 7 Allow using Vim in a pipe: "ls | vim -u xxx.vim - | yyy". Only needs
  5165. implementing ":w" to stdout in the buffer that was read from stdin.
  5166. Perhaps writing to stdout will work, since stderr is used for the terminal
  5167. I/O.
  5168. 8 Allow opening an unnamed buffer with ":e !cmd" and ":sp !cmd". Vile can
  5169. do it.
  5170. - Add commands like ]] and [[ that do not include the line jumped to.
  5171. - When :unab without matching "from" part and several matching "to" parts,
  5172. delete the entry that was used last, instead of the first in the list.
  5173. - Add text justification option.
  5174. - Set boolean options on/off with ":set paste=off", ":set paste=on".
  5175. - After "inv"ing an option show the value: ":set invpaste" gives "paste is
  5176. off".
  5177. - Check handling of CTRL-V and '\' for ":" commands that do not have TRLBAR.
  5178. - When a file cannot be opened but does exist, give error message.
  5179. - Amiga: When 'r' protection bit is not set, file can still be opened but
  5180. gives read errors. Check protection before opening.
  5181. - When writing check for file exists but no permission, "Permission denied".
  5182. - If file does not exist, check if directory exists.
  5183. - Settings edit mode: make file with ":set opt=xx", edit it, parse it as ex
  5184. commands.
  5185. - ":set -w all": list one option per line.
  5186. - Amiga: test for 'w' flag when reading a file.
  5187. - :table command (Webb)
  5188. - Add new operator: clear, make area white (replace with spaces): "g ".
  5189. - Add command to ":read" a file at a certain column (blockwise read?).
  5190. - Add sort of replace mode where case is taken from the old text (Goldfarb).
  5191. - Allow multiple arguments for ":read", read all the files.
  5192. - Support for tabs in specific columns: ":set tabcol=8,20,34,56" (Demirel).
  5193. - Add 'searchdir' option: Directories to search for file name being edited
  5194. (Demirel).
  5195. - Modifier for the put command: Change to linewise, charwise, blockwise, etc.
  5196. - Add commands for saving and restoring options ":set save" "set restore",
  5197. for use in macro's and the like.
  5198. - Keep output from listings in a window, so you can have a look at it while
  5199. working in another window. Put cmdline in a separate window?
  5200. - Add possibility to put output of Ex commands in a buffer or file, e.g. for
  5201. ":set all". ":r :set all"?
  5202. - When the 'equalalways' option is set, creating a new window should not
  5203. result in windows to become bigger. Deleting a window should not result in
  5204. a window to become smaller (Webb).
  5205. - When resizing the whole Vim window, the windows inside should be resized
  5206. proportionally (Webb).
  5207. - Include options directly in option table, no indirect pointers. Use
  5208. mkopttab to make option table?
  5209. - When doing ":w dir", where "dir" is a directory name, write the current
  5210. file into that directory, with the current file name (without the path)?
  5211. - Support for 'dictionary's that are sorted, makes access a lot faster
  5212. (Haritsis).
  5213. - Add "^Vrx" on the command line, replace with contents of register x. Used
  5214. instead of CTRL-R to make repeating possible. (Marinichev)
  5215. - Add "^Vb" on the command line, replace with word before or under the
  5216. cursor?
  5217. - Support mapping for replace mode and "r" command (Vi doesn't do this)?
  5218. 8 Sorting of filenames for completion is wrong on systems that ignore
  5219. case of filenames. Add 'ignorefncase' option. When set, case in
  5220. filenames is ignored for sorting them. Patch by Mike Williams:
  5221. ~/vim/patches/ignorefncase. Also change what matches? Or use another
  5222. option name.
  5223. 8 Should be able to compile Vim in another directory, with $(srcdir) set to
  5224. where the sources are. Add $(srcdir) in the Makefile in a lot of places.
  5225. (Netherton)
  5226. 6 Make it configurable when "J" inserts a space or not. Should not add a
  5227. space after "(", for example.
  5228. 5 When inserting spaces after the end-of-line for 'virtualedit', use tabs
  5229. when the user wants this (e.g., add a "tab" field to 'virtualedit').
  5230. (Servatius Brandt)
  5231. From Elvis:
  5232. - Use "instman.sh" to install manpages?
  5233. - Add ":alias" command.
  5234. - Search patterns:
  5235. \@ match word under cursor.
  5236. but do:
  5237. \@w match the word under the cursor?
  5238. \@W match the WORD under the cursor?
  5239. 8 ":window" command:
  5240. :win + next window (up)
  5241. :win ++ idem, wrapping
  5242. :win - previous window (down)
  5243. :win -- idem, wrapping
  5244. :win nr to window number "nr"
  5245. :win name to window editing buffer "name"
  5246. 7 ":cc" compiles a single file (default: current one). 'ccprg' option is
  5247. program to use with ":cc". Use ":compile" instead of ":cc"?
  5248. From xvi:
  5249. - CTRL-_ : swap 8th bit of character.
  5250. - Add egrep-like regex type, like xvi (Ned Konz) or Perl (Emmanuel Mogenet)
  5251. From vile:
  5252. - When horizontal scrolling, use '>' for lines continuing right of a window.
  5253. - Support putting .swp files in /tmp: Command in rc.local to move .swp files
  5254. from /tmp to some directory before deleting files.
  5255. Far future and "big" extensions:
  5256. - Instead of using a Makefile and autoconf, use a simple shell script to
  5257. find the C compiler and do everything with C code. Translate something
  5258. like an Aap recipe and configure.ac to C. Avoids depending on Python,
  5259. thus will work everywhere. With batch file to find the C compiler it
  5260. would also work on MS-Windows.
  5261. - Make it easy to setup Vim for groups of users: novice vi users, novice
  5262. Vim users, C programmers, xterm users, GUI users,...
  5263. - Change layout of blocks in swap file: Text at the start, with '\n' in
  5264. between lines (just load the file without changes, except for Mac).
  5265. Indexes for lines are from the end of the block backwards. It's the
  5266. current layout mirrored.
  5267. - Make it possible to edit a register, in a window, like a buffer.
  5268. - Add stuff to syntax highlighting to change the text (upper-case keywords,
  5269. set indent, define other highlighting, etc.).
  5270. - Mode to keep C-code formatted all the time (sort of on-line indent).
  5271. - Several top-level windows in one Vim session. Be able to use a different
  5272. font in each top-level window.
  5273. - Allow editing above start and below end of buffer (flag in 'virtualedit').
  5274. - Smart cut/paste: recognize words and adjust spaces before/after them.
  5275. - Add open mode, use it when terminal has no cursor positioning.
  5276. - Special "drawing mode": a line is drawn where the cursor is moved to.
  5277. Backspace deletes along the line (from jvim).
  5278. - Support for underlining (underscore-BS-char), bold (char-BS-char) and other
  5279. standout modes switched on/off with , 'overstrike' option (Reiter).
  5280. - Add vertical mode (Paul Jury, Demirel): "5vdw" deletes a word in five
  5281. lines, "3vitextESC" will insert "text" in three lines, etc..
  5282. 4 Recognize l, #, p as 'flags' to EX commands:
  5283. :g/RE/#l shall print lines with line numbers and in list format.
  5284. :g/RE/dp shall print lines that are deleted.
  5285. POSIX: Commands where flags shall apply to all lines written: list,
  5286. number, open, print, substitute, visual, &, z. For other commands, flags
  5287. shall apply to the current line after the command completes. Examples:
  5288. :7,10j #l Join the lines 7-10 and print the result in list
  5289. - Allow two or more users to edit the same file at the same time. Changes
  5290. are reflected in each Vim immediately. Could work with local files but
  5291. also over the internet. See http://www.codingmonkeys.de/subethaedit/.
  5292. vim:tw=78:sw=4:sts=4:ts=8:noet:ft=help:norl:
  5293. vim: set fo+=n :