#vim
25 December 2007
Total 4 pages. You are browsing page 1/4.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
--- Log opened Tue Dec 25 00:00:46 2007
00:03 <****> how do I s/ /something?
00:03 <****> I think the & give me trouble
00:03 <****> \& ?
00:04 <****> non breaking spaces are evil :/
00:04 <****> and als that I so something like s/aa/aaa/gc and it loops
00:04 <****> i..e after replacing it finds the aa it replaced
00:19 <****> how do i pass compile parameters?
00:23 <****> use your Makefile
00:25 <****> oh.. so there's no vim usages for basic one-file cpp files?
00:25 <****> *cpp projects
00:25 <****> without make
00:28 <****> briantumor: :h 'makeprg'
00:29 <****> you can call the compiler directly there
00:53 <****> anyone know how to set foldmethod=syntax for a filetype, but prevent it from collapsing all fold when i open files of that type?
00:55 <****> In my emacs tendency I pressed Control-X and now vim has frozen, ideas?
00:57 <****> davidL: uh. shouldn't freeze vim...
00:57 <****> C-x shouldn't freeze vim
00:57 <****> maybe it was C-s and your terminal stopped? try C-q (although that should be blocked by vim)
00:57 <****> hm, maybe something else then
01:12 <****> how can i write the results of ':hi StatusLine' to the current buffer?
01:37 <****> pd: :help :redir
01:39 <****> thanks
04:28 <****> hi, how do i change the colour of selected popup autocompletion items? http://i12.tinypic.com/6oncq2p.png
04:41 <****> michaelkohwj: first hit on google for "vim omnicomplete menu color"
04:41 <****> http://www.vim.org/tips/tip.php?tip_id=1486
04:41 <****> Ori_B: oh, so that's what it's called
04:41 <****> thanks
04:46 <****> "highlight Pmenu ctermfg=blue"
04:46 <****> "highlight PmenuSel ctermfg=blue"
04:49 <****> hm... does vim let you map mouse buttons other than left/right
04:49 <****> ?
04:49 <****> eg, I'd like to map buttons 8 and 9
07:55 <****> how do i move to the right one character in insert mode, is there any way other than the arrow keys?
07:55 <****> ctrl-o l
07:55 <****> yeah
07:55 <****> i know that one, just thought there might be a single cmmand
07:56 <****> you can always map one...
07:56 <****> basically, I have the parenthesis auto-close, which i like when working w/ lisp, but i don't want to waste a lot of keystrokes when moving past the paren
07:56 <****>a
07:56 <****> maybe a way to move to the next paren in insert mode?
07:56 <****> remember that caps lock is really escape =p
07:56 <****> yep
07:56 <****> well no
07:57 <****> yeah
07:57 <****> at least on any sane vimmer's keyboard layout =P
07:57 <****> my caps lock is ctrl
07:57 <****> so i do escape by ctrl-[
07:57 <****> ah. close enough.
07:57 <****> my caps lock is compose:)
07:57 <****> heheh
07:57 <****>escape
07:57 <****> unlink: ah. my insert is compose
07:57 <****> i'm on laptop keyboard
07:57 <****> so no insert
07:58 <****> macbook pro
07:58 <****> (it's useful, but I don't need it often... plus, insert is positively harmful)
07:58 <****> implicit: one of the 2 enters could be made useful then =P
07:59 <****> yeah
07:59 <****> i never use the left enter
07:59 <****> oops
07:59 <****> the bottom right enter
07:59 <****> or the bottom right command key
07:59 <****> i still feel like a vi newb, even though i've used it so long
07:59 <****> hm. didn't they have 2 enter keys on the macbook?
08:00 <****> yeah they do
08:00 <****> there's a return & an enter
08:00 <****> mm.
08:00 <****> is there actually any justification for the 2 keys?
08:00 <****> have no diea
08:00 <****> idea
08:00 <****> that's like asking, is there any justification for having caps lock where ctrl should be
08:01 <****> :)
08:01 <****> not really
08:01 <****> implicit: well... there's tradition behind that brain damage
08:01 <****> that's the first thing i changed in my keyboard layout, i can't live with the ctrl down there, it kills me
08:01 <****> haha, yeah
08:01 <****> I don't recall any other keyboard having 2 enters before...
08:02 <****> yeah, i don't think i know of one either
08:02 <****> my thinkpad has an insert
08:02 <****> you are kidding, twe enters...
08:02 <****> i like they keyboard still, most of they keys are in good places
08:02 <****> and good feel to it
08:02 <****> Shilin, there's one return (in the normal place)m, and an enter two keys to the right of the space bar
08:03 <****> what's the diff?
08:03 <****> have no idea
08:03 <****> i never use enter
08:03 <****> implicit: mm. I think my favorite laptop keyboard was on my old one
08:03 <****> the IBM R40 that I still have
08:03 <****> that's a great keyboard
08:03 <****> i had the t30 before i think i twas
08:04 <****> i'm typing on a T60 as we speak
08:04 <****> the one on my new laptop isn't bad either
08:04 <****> it was a really good laptop
08:04 <****> (Fujitsu T2010)
08:04 <****> i like macosx, but some things drive me crazy
08:04 <****> i'm almost considering switching back to linux
08:05 <****> they terminal i've already got to the point wehere i like it, but there's no good package mangement system or antyhing
08:05 <****> implicit: mm. I'd like to get a Mac, but they don't actually sell the sort of hardware I want...
08:05 <****> hehehe
Total 4 pages. You are browsing page 1/4.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
