Advanced Search
Search Results
4 total results found
Case-insensitive searching in vi
By default, all searches in vi are case-sensitive. To do a case-insensitive search, go into command mode (press Escape), and type :set ignorecase. You can also type :set ic as an abbreviation.To change back to case-sensitive mode, type :set noignorecase or :se...
Customizing vi
The Unix editor vi lets you customize its behavior in a numer of ways. There are two ways to customize vi. The first way is to enter command mode by hitting Escape, then type a colon and the command as it is shown.The second way is to create a file called .exr...
Useful Commands for Vi
The page is meant to document some of the more useful, but obscure commands in vi. For commands exclusive to vim see Reasons To Use Vim Over Vi. Please feel free to add commands you would like to see on this page. % move to matching (, {, or [ n G goto...
avoiding increasing indents while pasting into vi
When pasting text into a vi editing screen, sometimes you’ll get each line increasingly indented like this.aaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbb ccccccccccccccccccUse this command to change the “paste” setting. Then change it back when you’re done.:set paste:...