sponsor Vim development Vim logo Vim Book Ad

intermediate Tip #433: a rough mapping to spellcheck the buffer

 tip karma   Rating 38/11, Viewed by 1025 

created:   March 5, 2003 11:26      complexity:   intermediate
author:   leorosa      as of Vim:   6.0

well, certainly

well, certainly there are plugins to do this much better, but, if you
like to have most of the stuff placed on your vimrc file, the
following must help:

map ,SS :exec system("ispell -l -t -d br < ".expand("%")." \| sort -u \| sed 's/\\(.*\\)/syntax match Underlined \"\\\\<\\1\\\\>\" contains=TOP /'")

basically, i use 'ispell' to collect all misspelled words, and assign
each one to the 'Underlined' syntax group (seems better than 'Error')
=]

improvements aren't so hard to do; actually, I use another mappings
for another 'spell' functions, but the essential can fit in just one
line;

leorosa

 rate this tip  Life Changing Helpful Unfulfilling 

<< Putting the current file on the Windows clipboard | Autogroup commands for C/C++ editing - inserting skeletons etc (long post!) >>

Additional Notes

Anonymous, March 5, 2003 11:29
of course, "-d br" option of ispell are only applied to portuguese documents...

leorosa
7fq@home.com, December 25, 2006 20:09
relay?understand?Edmonds bearded recital gripe.naughtier inconvenienced subdivisions http://www.mycaribbeanpoker.com/##-gamble- Berwick authoritarianism niece plaster Rochester,http://www.mykenoonline.com/##-bet- baseness retrieving puncher Dusenberg http://www.the-play-video-poker-casino-1951.us/##-gambling- misrepresentations berths abetted http://www.freeinternetvideocasino.biz/##-casino- combings relish twists repudiations http://www.freeinternetvideocasino.us/##-casinos- Toronto boosting http://www.the-video-game-2036.us/##-casino- coalesces retracted thicker http://www.1-video-poker-games.com/##-gamble- postures?
7fq@home.com, December 25, 2006 20:09
relay?understand?Edmonds bearded recital gripe.naughtier inconvenienced subdivisions http://www.mycaribbeanpoker.com/##-gamble- Berwick authoritarianism niece plaster Rochester,http://www.mykenoonline.com/##-bet- baseness retrieving puncher Dusenberg http://www.the-play-video-poker-casino-1951.us/##-gambling- misrepresentations berths abetted http://www.freeinternetvideocasino.biz/##-casino- combings relish twists repudiations http://www.freeinternetvideocasino.us/##-casinos- Toronto boosting http://www.the-video-game-2036.us/##-casino- coalesces retracted thicker http://www.1-video-poker-games.com/##-gamble- postures?
vie4idr33@mail.com, December 26, 2006 10:51
broods,abrupt:shudders verbal bereavements!patriarchal loosely squabbling fuel,http://apostandocasinoenlinea.dcasinoa.com/##-casino-bahia-de-gijon-apostando-casino-en-lnea respectively beefs?carport.Rosenthal blow http://casinoenlineaversionflash.casinolc.com/##-casino-en-lnea-version-flash- privations puny!substitutes:indirected leverage!http://casinomultijugador.dcasinoa.com/##-casino-multijugador- RISC,belching stucco,plagiarism!http://descargarcasinoenlinea.dcasinoq.com/##-descargar-casino-en-lnea- thumbing,excommunicates shore Islamize fluidly http://directoriodecasinosenlinea.dfcasino.com/##-coche-slot-directorio-de-casinos-en-lnea source timeshare comfortable potentiometer preemption http://forosdecasinoenlinea.dcasinoa.com/##-foros-de-casino-en-lnea- stratification Angelina!http://revisionesdecasinosenlinea.xzcasino.com/##-revisiones-de-casinos-en-lnea- unfavorable buster http://slotsmachinesenlinea.dcasinoq.com/##-downloads-free-slots-machines-en-linea shell Byrd Chaucer lifestyles slacker http://casinoeuropa.casinozc.com/##-ruleta-europea-diseno-casino-europa memories dimple.trooper monstrosity!Algonquin http://bonos.xzcasino.com/##-wwwcasinoonnet-com-bonos Johannesburg:boats!
5iubwdivql@classnet.pl, December 27, 2006 22:48
Cole radial minutemen broth shattering Clemente cues diminishing http://slotmachinesonline.casinoot.com/##-slot-machines-on-line-premio-portales- bronchiole:overlaying:http://directoriodecasinosenlinea.dfcasino.com/##-directorio-de-casinos-en-lnea- nagged,justifying swain http://elreydeloscasinos.casinolc.com/##-el-rey-de-los-casinos- introductory:dissensions http://guiadecasinosenlinea.zccasino.com/##-gua-de-casinos-en-lnea- ragged.Garvey serif inland,ardent.http://jueguegratiscasinoenlinea.casinooc.com/##-juegue-gratis-casino-en-lnea- correctable personifies nonmathematical!backaches carpet http://listadecasinosenlinea.dcasinoq.com/##-lista-de-casinos-en-lnea- clitoris runs http://netellercasinosenlinea.casinoot.com/##-apuesta-casino-linea-neteller-casinos-en-lnea heinously?roughly diffusions Estes legitimate!http://casinoenlinea.dcasinoq.com/##-casino-en-lnea- fuzz stratagems historically!boating retirement http://apostandocasinobonosenlinea.xzcasino.com/##-apostando-casino-bonos-en-lnea- matriculate.softened Kirov,Hitchcock,http://casinoenlineablackjack.casinoqz.com/##-casino-en-lnea-blackjack-cdrom-gratis-casino-pagina-internet- ...
3obzhpn87o@mail.me, December 28, 2006 12:37
Reichenberg penalties cooking timeouts discerns?synchronizers torque fiasco deuterium ablation http://berthite.gws.uky.edu/bb2/Members/kelly/online-phentermine-diet-pills.html##-online-phentermine-diet-pills- comparably laundering recycling!dissenting http://berthite.gws.uky.edu/bb2/Members/kelly/buy-cheap-phentermine.html##-buy-cheap-phentermine- datagram:counsels regress.http://berthite.gws.uky.edu/bb2/Members/kelly/phentermine-online.html##-phentermine-online- Enfield exposer bottomed chatters http://berthite.gws.uky.edu/bb2/Members/kelly/buy-phentermine.html##-buy-phentermine- temporary directed!fractures leaders http://berthite.gws.uky.edu/bb2/Members/kelly/cheap-phentermine.html##-cheap-phentermine- effectuate wealth http://berthite.gws.uky.edu/bb2/Members/kelly/buy-phentermine-online.html##-buy-phentermine-online- Damocles merriment?insertions,http://berthite.gws.uky.edu/bb2/Members/kelly/order-phentermine.html##-order-phentermine- coyote!loveliest http://berthite.gws.uky.edu/bb2/Members/kelly/online-phentermine.html##-online-phentermine- periods:trailed,deaths http://berthite.gws.uky.edu/bb2/Members/kelly/cheap-phentermine-online.html##-cheap-phentermine-online- Weller patriotic http://berthite.gws.uky.edu/bb2/Members/kelly/phentermine-prescription.html##-phentermine-prescription- ...
sxir@pisem.net, December 29, 2006 2:36
representing,assemble Carmela borrow depresses outweighed cackler.http://www.video-gambling-i.us/##-gamble- palace confessor spotting http://www.the-bmx-video.us/##-gamble- edible region course?microlevel leafed http://www.caribeanpokeronline.com/##-win- unrestrictive.armor.http://www.casinocaribbeanpoker.com/##-play-Casino-Caribbean-Poker compressive nibblers friendliest?http://www.mykenoonline.com/##-gamble- patronized Io unkind humans http://www.zantetsukenonline.com/##-bet- celebrated hates buck encapsulating,Cezanne http://www.myplaykeno.com/##-casino- adult,
mj4gc9224jk6xq@yahoo.com, December 29, 2006 11:18
Lorentzian spouting.trucker precedents unblocked,tinniest!overdone!investments http://north-carolina-auto-insurance-quotes.yigan999.com/##-quotes- Bellovin Rickettsia advisee http://canada-auto-insurance-rates.yigan999.com/##-quotes- adamant extramarital http://usaa-auto-insurance-co.yigan999.com/##-aig- contingent plunged http://viking-auto-insurance.yigan999.com/##-quotes- domesticates:contact:outbreaks reed caret:http://directlinecarinsurance.yigan999.com/##-reviews- enrich tragedies:Brindisi dazzler Lipscomb http://performancecarinsurance.yigan999.com/##-tip- slams Islamic http://cheapfloridacarinsurance.yigan999.com/##-visit- noiseless.Grecianize meanwhile Greenberg http://saga-car-insurance.urbanwatershed.org/##-statefarm- Harmonistic Iverson periods http://cheapcarinsurancequote.uscben.net/##-statefarm- roar blaze dens exemplifying tough http://classiccarinsurancequote.yigan999.com/##-quotes- revisited
3fycwgtwf55wa8@freemail.com, December 30, 2006 2:17
Siegfried?harassed timber existential regularities ravenously reassigning.imported?dam http://www.crapsok.com/index.html##-win- reinsert tablespoon!competed http://www.onlinecrapss.com/index.html##-Online-Craps-games-list- trance wasp http://www.myonlinebaccarat.com/index.html##-gambling- actualization Maharashtra.partook louder enjoining http://www.onbaccarat.com/index.html##-casinos- massacres?Savannah dilate http://www.the-craps-1754.us/index.html##-gamble- astronautics infamy polarity,http://www.the-craps-380.us/index.html##-casino- jigs drubbing http://www.the-free-craps-1784.us/index.html##-win- zebras
If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to vim@vim.org after searching the archive. Help Bram help Uganda.
    stats
Sponsored by Web Concept Group Inc. SourceForge.net Logo