Friday, May 07, 2010

Spell issues in vim

From vim 7.0,  a native spellchecker is integrated which outperforms vimspell script. Gernerally, you do not need to do any works to set the spell issues as before. What the only thing you need to do now is to set the languages you want to check during your typing.

the command is:

:setlocal spell spelllang=en_us

for german

:setlocal spell spelllang=de


or simply:

:set spelllang=en_us
:set spelllang=de



I do not figure out what is the difference between these two commands.

If you have not the spell files for German, vim will prompt you to download the related files. Just do it.

Thursday, April 01, 2010

Wednesday, March 10, 2010

Another vim tip lists

Vim tips

  • d:
    • dw: delete the word from current position until next word, including the space
    • de: similar to dw, but do not include the space
    • d$: delete the content from current position to the end of the line.
    • d0: delete the content from current position to the beginning of the line.
  • c
    • cw / ce: has the same function to change the word from current position, the space is reserved, equal to de + i.
    • c$ : change the content from current position to the end of the line, equal to d$ + i.
    • c0: change the content from the beginning of the line to current position, equal to d0 + i .
  • f/F; t/T
    • fx: find single character in the line, f forward and F backward
    • tx/Tx: is similar to f/F, but move to the character before the searching character.
    • ; repeat searching forward, , repeat searching backward


Monday, March 08, 2010

Wisestamp, another great add-on for firefox and thunderbird

http://www.wisestamp.com/

WiseStamp- Email Signatures that work for you!

WiseStamp Firefox extension empowers your email signature on any webmail service
(Gmail ,Yahoo Mail ,AOL, Hotmail, Google Apps…) Easily customize, Include IM & Social profiles, Automatically share your Blog posts, Quotes, News, Bookmarks and more…
Enhance your personal and business email interactions Get WiseStamp Now!


With WiseStamp you can:


  • Customize your signature
    Design style, Font, Size, Color, images etc…
  • Add Rss feeds new
    Automatically Share blog posts, bookmarks, videos, daily quotes and many more…
  • Easily add your social services
    IM Services, LinkedIn, Facebook, del.icio.us and many more..
  • Use multiple signatures
    Create business & personal signatures to insert in your emails.





---------------------------------
windhair


Address:Some where on the earth
email:windhair@gmail.com
Phone:+00 000 000 000 000
Chat Google Talk: windhair MSN: windhair1
Contact Me FacebookBloggerPicasa

Sunday, March 07, 2010

Any to PS filter

http://www.gnu.org/software/a2ps/

GNU a2ps

 [image of the Head of a GNU]

Introduction to a2ps

GNU a2ps is an Any to PostScript filter. Of course it processes plain text files, but also pretty prints quite a few popular languages.

More detailed web pages about GNU a2ps, including documentation, flashes, updates, mailing lists, FAQ etc., is available at http://www.inf.enst.fr/~demaille/a2ps.

Downloading a2ps

a2ps can be found on http://ftp.gnu.org/gnu/a2ps/ or one of the mirrors. Regular updates, packages are available on ftp://ftp.enst.fr/pub/unix/a2ps/.


Western Civilization.


Civilization