Technology TidBits

Answers to various technical questions on php programming, mysql, linux, and many more categories.



Showing: 1-8 of 8  
Questions:
How do I set Tab stops in VI?
To change tab stops in vi, just do the following in vi: :set ts=3 Sets Tabs to 3 spaces.  This is useful...
rating 07/03/2009 Comments: 1
How can I turn on line numbering in Vi?
Sometimes it is useful to view line numbers when editing a file, and especially when coding.  To turn on this...
Not rated 07/02/2009 Comments: 0
How can I jump to a line in the vi editor?
Usually when running a script that has syntax or parsing errors, a line number is given at or near the...
Not rated 07/02/2009 Comments: 0
How can I remove DOS linebreaks (^M) from my files?
Oh, the dreaded ^M - these usually occur when uploading files from a windows system, using ascii mode.  Some Windows...
rating 07/03/2009 Comments: 0
How can I remove leading whitespace in all lines in a file using vi?
Sometimes, when pasting copy into vi, it adds lots of tabs or spaces at the beginning of each line.  This...
rating 07/03/2009 Comments: 0
How can I delete a large chunk of text using vi?
Sometimes your finger gets tired of using the "x" key in vi, which only removes one character at a time. ...
Not rated 07/01/2009 Comments: 0
How can I undo and redo changes in vi?
Using vi, it's very easy to undo any number of changes you have made.  Make sure you are not editing...
Not rated 09/06/2010 Comments: 0
How can I search in the vi editor?
To search down through the document, use /[search string] So you type "slash" and then the text you want. Hit the...
Not rated 09/06/2010 Comments: 0



Powered by KnowledgebasePublisher 1.1
Superb Internet
Content provided by Roberts WebForge, Inc.