Home     Links     Research    Projects    Resume    Contact    Site Map    IIT Kanpur   
The story so far: In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move. :-- Douglas Adams , The Restaurant at the End of the Universe
My Vim Page.

I came across vim while browsing net and saw an article "vi survival guide" meant for Linux newbies. With some wading through modes and everything else which you hardly understand on first encounter(unless you are an absolute genius or you are lying!) I could remember i and later figured out w , q and went with it for some days and then came to know about y and yy , v and so on by then I was addicted to vim and addiction continues ...
I am planning to put my .vimrc file and .vim directory here but I'd like to clean their mess first, hopefully I'll put them here real soon.
I am noting some tips mostly intended for seasoned vimmers , but should be useful for others too.
List of Topics
to add folding,colorscheme,new filetype, syntax
  • File type plugin in vim.
  • Dumping text from html file.
  • Noting in file time stamp of last modification
  • Mappings
  • Functions in Vim
  • Search patterns
  • Searching a visual selection
  • Search and replace
  • make and quickfix window
  • Splitting windows and more
  • (un)Commetifying lines in vim.
  • Some useful plugins.




  • Dumping text from html file.
  • Noting in file time stamp of last modification
  • Mappings
  • Functions in Vim
  • Search patterns
  • Searching a visual selection
  • Search and replace
  • make and quickfix window
  • Splitting windows and more
  • (un)Commetifying lines in vim.
  • Some useful plugins
  • man.vim : just write runtime ftplugin/man.vim in your .vimrc and you can use :Man foo to get the manpage of foo in vim
    info.vim : Ever wondered why info is biased towards emacs ? Here is a relief : info.vim - this lets you do :Info foo to browse the info page for foo in a key binding more intuitive for vim users.
    vimspell.vim : On the fly spell checking in vim. It highlights words with incorrect spelling. Quite useful for documents and emails.
    bufexplorer.vim : Buffer Explorer in vim. Far more useful than this one liner says.
    javabrowser.vim : Very useful plugin for java files.
    cvscommand.vim and cvsmenu.vim : Handy if you use CVS for version control.
    taglist.vim
    cscope_maps.vim : useful if you use cscpope
    2html.vim : check with :he 2html.vim, it converts the current window to HTML


    vim:tw= 78:ts= 8:ft= help:norl: --site written using vim (what else ?)!
    Quotes     Latex    Linux    Vim    Utils    About me    MThech Thesis    Contact   
    Website powered by Apache running on Linux.
    © Prashant kumar - All Rights Reserved.