If anybody could point me to some references of how to setup macros for vi, and automatic code formatting I would really appreciate it. While googling the subject I seem to be finding a number of pages that have snippets of how to do very specific things very specific, or don't cover enough detail.
On Sep 25, 8:44 am, Daniel Eggleston <[email protected]> wrote: > Feature-wise, vi is extremely customizable, but that's nothing exceptional > in the world of editors. It has code syntax highlighting for a plethora of > languages (vim does, anyway), and automatic code formatting (indenting and > line wrapping that will respond to the code syntax). It integrates ctags and > other external programs to make navigating large projects a breeze. Its > simple macros let you perform all sorts of functions with one or two > keystrokes, from doing a search and replace to compiling a program, to > renumbering a list. > > All of that is nearly run of the mill as far as editors are concerned; most > editors will give you most of that functionality. Its real claim to fame, > though, is its unmatched efficiency - both in terms of system resources and > end user experience. > > You can perform complex text editing operations faster and with fewer > keystrokes than any other editor, but there's a catch. There's a > significant learning period, since the modal editor is completely different > from any editor you may be used to. Run the command "vimtutor" sometime, it > will walk you through all the basic and many of the advanced features of vi. > It may take half an hour, but by the end you'll have enough familiarity with > vi to use it on most projects. -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup
