#vim - Thu 10 May 2007 between 20:51 and 21:27

NY Lost Funds



jroesI don't know why, but one of the svn guys (Ben Collins-Sussman) wrote this, and for some reason he's using 2-space indents
lenscapejroes: but most sensible people use tabs
jroesthat line worked gnuvince_, thanks
gnuvince_ts determines the stops when you press tab
sw is for autoindent IIRC
actionjroes is reading sts
jroesis reading sts
this tabbing stuff seems pretty overcomplicated if you ask me :)
vim has me chained down though :P
gnuvince_jroes: there are a few settings, but it's not too hard
jroesthis is just one of those things I never bothered to spend more than a few minutes on, because I never thought it would be more complicated than one setting :)
gnuvince_sts is used to backspace over multiple spaces
micahcowansts is used to decide how many spaces the tab key will forward, too.
gnuvince_so that when you press tab (and tabs are spaces), you press backspace once to erase the whole thing
micahcowanif ts=8 but sts=4, pressing (tab) advances to the next "soft" tab at a multiple of four, using spaces if necessary.
jjj_hello
mmHghello
jjj_how was it i entered the newline
ctrl something
i need to %s/ /<newline>/g
Nyoxijjj_: :help sub-replace-special
jjj_what was it, ctrl... what?
gnuvince_jjj_: <C-v> Enter
jjj_thanks gnuvince_
thanks a lot
ink|workdo people still use vimirc ?
Blackhawk5193Does vim have the ability to automatically comment out blocks of code?
ink|work(not that i want to use it, just that i recall it being a "big deal" a couple years ago)
halorgiumBlackhawk5193: use the NERD commenter
eyolfIs there a command to extend a selection in visual mode by the same amount as one first selected? E.g. if I type vas, I wouldn't have to type "as" again to add another sentence to the selection, but something like "." for repeat last edit?
gnuvince_ink|work: no, no one here uses that.
ink|workis it possible to highlight a line in my vimrc and "apply" it ?
or do i have to save the file, then source the file?
gnuvince_source the file
Nyoxicopy the line, paste on cmd line and execute
ink|workyeah, that's what i ended up doing
scroolooseink|work: on a similar note to Nyoxi, you could yank exactly what you wanna exec then go :<CTRL-R>"
Nyoxithat's what I meant by 'paste'
you can also do :exe @"
jamessanink|work: vimirc is actually a banned topic in here ;)
DefilerWhat might I be doing wrong to receive 'Trying char-by-char conversion' when entering UTF-8 text in gvim?

Page: 2 9 16 23 

IrcArchive

NY Lost Funds