On 2009-09-11, Joseph Boiteau wrote: > Hi, > > I would like to use the reindenting functionality (ie: "gg=G") based > on vim indent files, but without getting into vim.. > > I recently discover /usr/share/vim/vim72/macros/less.sh, which use the > vim power to make a less-like command with syntax highlighting. > I'm pretty sure the same is possible to reindent any source file. > > If someone there got the tip, or any link to a same kind of use of > vim... I'm pretty interested :)
There were a number of answers posted to a similar question a few weeks ago. Search the list archives for a thread started August 24 and titled "Use VIM to perform text manipulation on file (like sed/awk)". HTH, Gary --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
