#vim - Thu 5 Apr 2007 between 07:54 and 08:13

NY Lost Funds



xeladosDoes it matter that I'm using xterm and regular vim as opposed to gvim?
xinming_How to run command once within vi please?
currently, we have to type :!
Is there other short cut?
xeladosxinming_: I don't believe there is.
LeoNerdHow much shorter did you want?
xeladosOh neat, gvim doesn'
t look bad
xinming_one key stroke. :-P
Ori_Bxinming_: feel free to remap it?
elifxinming_: if you know the command to run always make a map of if :nmap <something> :!cmd
<CR>
in the final
Ori_Beven if you don't, :nmap c :!
that works, leaves you at the prompt to type the command
(but c is, of course, already used)
xeladosAha. I think I figured out why I couldn't copy from vim to other programs. Apparently running vim as gvim or through screen makes it able to do that.
Any ideas why?
elifxelados: you're trying to copy from the selection on screen ?
k1If I have a file with the permissions set to 464 and me as owner and a group which I'm part of but isn't my primary group, vim opens it as readonly ... isn't that a bug?
xeladoselif: Yeah.
elif: Regular vim in xterm doesn't seem to be able to do that. It beeps at me when I try to use the + or * registers.
LeoNerdDoes it have +xterm_clipboard support?
xeladosLeoNerd: Will 'vim -v' tell me?
LeoNerd:version does anyway.
VImtermuteoy
LeoNerdOr vim --version
xelados+xterm_clipboard, yes
LeoNerdHrm... echo $DISPLAY
Oh.. does it also have +x11 ?
xeladosyes
LeoNerdMost odd..
elifxelados: Here I select from my terminal the lines with the mouse and a clipboard running on my wm holds the selection... the bitter thing on that is that i'm not able to further select text out of screen....
xeladosHmm, I'm able to do the same.
LeoNerdAh.. is this via screen ?
xeladoswell, wait
in xterm
LeoNerdOr plain xterm => vim ?
xeladosplain xterm => vim
I can do it with ease using screen or gvim

Page: 3 10 

IrcArchive

NY Lost Funds