| iam8up | if i made a break how do i pull that line below the cursor back up? |
| Heptite | iam8up: With the J command. :help J |
| iam8up | Heptite - gotcha, tyvm! |
| SAS_Spidey01 | is there any thing like gf that opens the file in a split window ? |
| deryni | :help ctrl-w_f |
| SAS_Spidey01 | thanks deryni |
| stefan | maybe vsplit is what you want |
| SAS_Spidey01 | I rarly use verticle splits unless I need to view it side by side |
| stefan | o:-) |
| SAS_Spidey01 | Thinking of installing Vim on my server. Just to avoid using window + multiple vi instances |
| tpope | why wouldn't you have vim on your server that's some sort of sin |
| SAS_Spidey01 | Don't want yet another system to sync my vimrc to lol the ~50MB disk space isn't a problem though |
| rde | can anyone here recommend a good resource for learning the advanced stuff in vim? ...or does it just take using it consistently to improve? |
| okdavinci | hello |
| rde | hello okdavinci |
| kmeyer | when you do :%s/// replacements in vim, how do you reference the bit of text that is to be replaced ? :%s/.*/<li><a href="\1">\1<\/a><\/li>/ is what I have atm (I'm trying to replace each line with a link to that) |
| deryni | You need to actually capture the text in the pattern. |
| kmeyer | how? |
| deryni | :help \( |
| kmeyer | thanks |
| iveqy | how do I replace something with a newline? like s/M/\n/g |
| deryni | :help sub-replace-special |
| iveqy | deryni: thanks |
| deryni | Yup. |
| iveqy | deryni: the help said to use \<cr> (typed as ^M), but that did not fit my purpose at all. Instead it should be only <cr> (typed as ^M). Did I misread, or is the help unclear? |
| deryni | Bah, that might not have been the help I meant. |
| iveqy | deryni: maybe not, but it helped me to do what I needed :) |
| deryni | No, that was what I meant, nevermind. Look at the help more carefully. Specifically at <CR>, \r, and \<CR> |
| iveqy | deryni: okej, I will. |
| VImtermute | oy |
| okdavinci | hi,how to use vim started as a normal user to edit a file owned by a root? |