« first day (22 days earlier)      last day (3650 days later) » 

03:42
@jamessan here?
 
5 hours later…
09:06
Anyone using the pi-rho PPA on Ubuntu for Vim?
09:21
0
Q: Does VimL questions belong here or on Stack Overflow?

ShahbazVimL: the debatable name for the language in which Vim scripts are written. Do questions regarding VimL belong here or to Stack Overflow? As a programming question, I would say SO, but on the other hand, it would probably get more attention here. If the answer is that they should be asked here,...

10:00
@muru I've never seen him here
@Carpetsmoker I think that's a ping based on vi.stackexchange.com/questions/779/…
@muru ... but unfortunately that ping isn't going to work, as you can't ping someone who hasn't been in the room recently (unless you're a mod and use super ping)
Super ping!
I guess the ability to ping anyone has a potential for abuse...
 
1 hour later…
11:12
@derobert I guessed so. Maybe I'll comment again once he shows signs of being online..
@muru Yeah. Ask him to ping you in chat. That'll work. Then he'll also be pingable for a few days.
 
2 hours later…
13:29
@muru FYI, I've fixed my answer here: vi.stackexchange.com/a/2197/51 ... I just noticed that with my earlier version vimdiff breaks
13:52
@Carpetsmoker I noticed. I'm still looking for a way to get it working with vi.stackexchange.com/questions/2009/…
14:09
@muru So what's the problem with that?
My solution seems to work? You added the part about CDPATH later, but that's just a simple loop?
14:30
@Carpetsmoker Your answer works, but it misses the point (as do Karl's and Peter's answers). James is on target here, but his solution has a problem too. Anyway, I was talking of my own effort (see last answer).
I don't understand how it misses the point? You asked to "open ~/.vim/vimrc if I type vim vimrc in $any_directory", which is exactly what it does?
The point is that I don't care about the filenames, I care about the directories.
If foo is in my home directory and it isn't in my current directory, I want ~/foo opened.
The only reason I mentioned .zshrc and vimrc are because they are the files in my ~ I most commonly edit when somewhere else
14:52
@jamessan How much effort would be involved if we have vim-* and vim-*-python3 packages?
Effort? Not much, but that's extra archive space and build time. Also, why shouldn't I then do the same thing for the different lua, ruby, and tcl versions that are in the archive? People shouldn't need to choose which version of installed Vim to run in order to have a plugin work.
@jamessan Does this problem also happen with lua, ruby, etc.?
That they have different commands loading different versions?
@muru Right ... Well, you added that part of the question later :-)
@Carpetsmoker I had to. All three focused on the trees and failed to see the forest. :(
@muru Not different commands, but different functionality.
Well, my original suggestion for the Find question is trivially modifiable to achieve your broader goal. I was just answering your original question.
I'm posting a modified function now which avoids the "File already exists" issue.
14:58
@jamessan If there aren't different commands, does vim need rebuilding to use whichever version of library is present for them? Especially for ruby, which tends to have multiple versions present on the same system..
@muru It needs rebuilding to be able to use the different versions of the library, yes. The only reason there are different versions on the same system is that they're ABI/API incompatible.
Ruby hasn't changed as much as Python 2/3, so it should matter less which version you're using
But that would be true for say, python 2.7.5 and python 2.7.6 as well, right?
The only real parallel I can see for P2/P3 is Perl (if Perl 6 ever comes out)
Posted the new FindInPath function
@muru I've been meaning to discuss with the broader Debian developer community the right way to handle dynamically loaded libraries to at least avoid point 2 in my post. That would get us closer to where I would feel comfortable building with Python2 & Python3.
@jamessan barring some unexpected interaction with other things, I think I'll be accepting your answer.
@jamessan Meanwhile, I'll try to figure out how to make an auto-updating PPA.
15:09
blueeyed already has one
He bases it on my packaging and upstream's commits.
He announced it on vim-dev ... lemme find it again
Hmm, I'll have to poke him about it. Seems it hasn't updated recently.
I'll do that tonight when I can get back on IRC
But I don't suppose blueyed will have any interest in offering -python3 packages as well?
(Thanks, for the PPA, btw. Even if it's not bleeding edge, hopefully it isn't broken like pi-rho's (launchpad.net/~pi-rho/+archive/ubuntu/dev))
 
5 hours later…
20:38
In completion, how to tune which characters are part of completion? As in e.g. isf for file names?
iskeyword
@jamessan: Hmm. OK. I'm trying to write a function for this Q:
4
Q: How do I make autocomplete look in a different file if triggered after the @ sign?

AmaruI have been using Vim as a research database, and I use tags in the form of @tag for each note, written in the second line after the title. I might have more than one tag. How can I make autocomplete look in a 'tags' when triggered after an @ sign in insert mode?

But got stuck on what seems like @ not being recognized as part of the word.
(With @ in iskeyword)
Something else is wrong then.
How did you add @? You can't just do :set isk+=@. Try :set isk+=@-@.
@jamessan: Learning by doing. Guess this is a mess. But started out with pastebin.com/et0n0P2f
Guess I have to take a step back.
21:18
Modifying iskeyword has all sorts of side-effects
I don't remember which though :-/ I just remember once looking at it, and having all sorts of side-effects, and coming to the conclusion I almost never (or never!) want to do it...
I have isf-== and isk+=- which seems to work OK. But I should have left the complete Q alone as that is a domain I have low knowledge about and the times I have messed with complete and omnicomplete it usually ends in abandonment – due to mess.
isf-== is due to the fact I sometimes do foo=<ctrl-x><ctrl-f> and I never use = in any of my file names. isk+=- is because I sometimes want to complete hyphened words; and it does not mess with my code.
21:52
Yeah, touching 'isk' is to be done with care. NetRW has made that mistake a number of times
Someone should submit some viml highlighting to google-prettify so we can have highlighted code blocks :)
@jamessan It's on "the list" to do
But if you want to do it, please do!
I don't think I'll get around to it in the coming weeks anyway
@ is might a especially troublesome letter to add, match etc. in Vim?
What do you mean, troublesome?
/@ seems to work ... as does :echo getline('.') =~ '@' ...
22:50
Body is limited to 30000 characters; you entered 60380.
ahhhwwww

« first day (22 days earlier)      last day (3650 days later) »