IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.71 MB
Powered by
Channel Info
Network: freenodeChannel: #vim |
Search in www.irclog.org
Log from #vim at freenode 2006-06-04
Pages: 1
[20:37]<saxyed>hey guys :) quick regex question that's thowing me..I want to match a string on a line with grep, but ONLY if there isn't a ! anywhere in the string before that...I'm trying to use '[^!]*mystring" or "[^!]*mystring" and neither are working, I'm obviously doing something wrong
[20:37]<saxyed>not a directy vim question but y'all are quite good at regex, especially squeek...hm, who isn't here
[20:37]<saxyed>ive got some philosophy with my match wrong, i know it, but im not sure how/why and the docs aren't helping me heh
[20:59]<dtd>since the vimspell documentation is talking about mouse clicks, I'm starting to think it's for gvim... If I try the :SpellCheck command it tells me how many possible errors but doesn't provide any hints as to which words, nor provide a dialog for fixing them... any clues?
[20:59]<ylcyss>:h 'mouse'
[21:00]<ylcyss>btw, why using vimspell instead of vim7's native spell checking?
[21:00]<2gjva>vim has native spell checking?
[21:01]<znzumnz>vim7
[21:01]<2gjva>i'm using 87
[21:01]<2gjva>*7
[21:01]<2gjva>i suppose the spelling would go nuts on code though?
[21:02]<zyzzzgd>nope
[21:03]<2gjva>i haven't noticed it underlining any words or anything...off by default?
[21:03]<zyzzzgd>yeah
[21:03]<znzumnz>set spell
[21:06]<jnfnwzllnzcn>how do I do a non-greedy multiline match in vim
[21:06]<jnfnwzllnzcn>ie I would like to remove all xml comments from a file
[21:07]<jnfnwzllnzcn>my best guess so far is :
[21:07]<jnfnwzllnzcn>s/<!--\_.*?-->//
[21:07]<jnfnwzllnzcn>however vim is not accepting the *?
[21:07]<zyzzzgd>that will fail on <xml is="<!-- retarded">
[21:08]<jnfnwzllnzcn>yep
[21:08]<jnfnwzllnzcn>however that is retarded xml :-p
[21:19]<dtd>ok thanks all, maybe I'll upgrade to vim7 :-P bye for now
[21:26]<2gjva>set spell did nothing except crash my vim
[21:30]<tjzgn>Hi.. I'm trying to run a gtk2 gvim on a remote X server, but it just complains that I dont' have any fonts configured with fontconfig... surely it shouldn't need fonts on the client machine, only the X server..
[21:31]<-- dvxn|syzzzyus xzs>http://www.bagdadsoftware.de")
[21:34]<dwyfsjg>Surely you have no idea how either gtk or fontconfig actually work, right?
[21:41]<tjzgn>mwilson: indeed not, which is why i'm asking
[21:42]<tjzgn>what kind of fonts does it want?
[21:46]<zxzzfns_>do highlight/match commands conflict with eachother? I am trying to highlight tabs at the beignning of the line (in blue) and trailing whitespace (in red)
[21:47]<zxzzfns_>it only works when i turn one of them on
[21:54]<-- syzzzyus xzs puyv>http://www.bagdadsoftware.de")
[22:00]<2fjgmyn>how do you get vim to autoindent by one tab character after typing "{\n"? I can get it to do it after existing indents with :set autoindent
[22:01]<gwrylj>blondie: you could use a :inoremap I think
[22:01]<ylcyss>that would be the worst way to do it :)
[22:02]<ylcyss>blondie: :h :filetype-indent
[22:02]<ylcyss>and :h cindent
[22:02]<ylcyss>sorry, :h 'cindent'
[22:03]<2fjgmyn>hmm
[22:03]<pfrsdrhh>hi, anyone knows a plugin like the indent-finder, but one that works?
[22:03]<ylcyss>what would that do?
[22:04]<2fjgmyn>thanks, :filetype-indent on works
[22:04]<pfrsdrhh>finds the current indentation of the file and sets things like tw etc. according to what it found
[22:06]<rreergjvr>hi
[22:06]<rreergjvr>how do I enable 8bit characetrs - so that dw deletes a word in russian.
[22:07]<ylcyss>:h 'isk'
[22:48]<znpr11s>so i'm reading usr_03.txt, "Word movement", which claims if i press 'w' on 'special/separated/words' it should move to the slashes between the words, but pressing 'W' will move to the end of that entire string. but both w and W behave the latter way...
[22:48]<vljln>what kind of file?
[22:48]<vljln>it all boils down to the value of 'iskeyword'
[22:49]<znpr11s>text file -- i'm reading the user manual
[22:50]<vljln>the help file settings are a bit different
[22:50]<vljln>it will work in a normal file
[22:50]<znpr11s>ah, i will try that
[22:50]<gwrylj>seems strange that it wouldn't work in vimtutor... given it's supposed to have you interact while using it
[22:50]<vljln>it's not vimtutor
[22:51]<znpr11s>you're right, it works outside the help file
[22:51]<vljln>see what is says about 'iskeyword'?
[22:51]<vljln>well 'iskeyword' is different in help files
[22:51]<znpr11s>i see
[22:51]<vljln>it's because of how tags need to work
[23:02]<rxzysr>I'm having some trouble with a rebind. I'm trying to make tab switching work with the apple key on my laptop (ibook, running debian). xev shows the keysym is "Super_L", so I was trying something like nmap <Super_L-Left> :tabp, and nmap <Super_L-Right> :tabn. Neither seem to work
[23:05]<vljln>I don't think that's possible
[23:06]<vljln>shift, control, and meta only
[23:06]<rxzysr>ah, hmm. That's a shame
[23:06]<vljln>you could always try emacs
[23:07]<rxzysr>That's an interesting suggestion for having a problem with 1 bind in vim
[23:07]<vljln>yeah well, an interesting answer for an interesting question
[23:07]<znpr11s>maybe you can remap it outside of vim
[23:08]<vljln>I tend to reserve super/hyper for my window manager myself
[23:09]<drssygn>hi folks
[23:09]<drssygn>when i do :s/string1/string2/ i get string one replace with string2 thats so far fine but how about if i want to replace all occurance of string one in the actuall file ?
[23:10]<rxzysr>Make it greedy
[23:10]<rxzysr>Well, that's one way at lease
[23:11]<vljln>yassine, that's in the faq
[23:24]<fzrgse>What's a word boundary in Vim's regexp?
[23:25]<auga2fjaanz>:help regexp
[23:26]<fzrgse>Fyi, \< and \>
[23:27]<vljln>correct!
[23:28]<vljln>though I thought you meant the definition
[23:32]<dzzaxygj>ciao
Pages: 1







