• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Replacing in vi

you mean search an replace or just replace at the cursor you're at?

to replace the character in your current position, hit 'r'.
if you want to search and replace, type :s/searchstring/replacestring/g
g searches the whole file ...

hope that helps,
 
Originally posted by: LordSnailz
you mean search an replace or just replace at the cursor you're at? to replace the character in your current position, hit 'r'. if you want to search and replace, type :s/searchstring/replacestring/g g searches the whole file ... hope that helps,

Thanks a lot. I just realized I posted in the wrong forum.

I found a couple of references online for the vi text editor, but nothing really good yet. Where did you learn it?
 
work forces me to learn and use vi =( don't remember where I learned it from but I use it quick often so it was off the top of my head, a google search should get you some vi cheatsheets ...
 
Back
Top