Re: How to configure vim to use the mouse, AND to copy and paste

2010-10-04 Thread Alexander Dietz
Hi, I am not sure if I correctly understood these tips. There were some ideas of using crtl+v and crtl+insert for copy/pasting text, but this is not what I want. I want to copy a text to the clipboard by just marking the text in vim, and the using the middle-button of the mouse to paste it into

Re: file that hangs vim

2010-10-04 Thread Christian Brabandt
Hi Mark! On Sa, 02 Okt 2010, Mark Huiskes wrote: function! SipmapRuler( type ) let line = line(.) - 1 if a:type == 1 call append( line, INFO 121824303642485460667278%$ ) if !exists(g:sipmap_1ruler) call append(

RE: Pain at Vim Tips wiki

2010-10-04 Thread John Beckett
Oivvio Polite wrote: Just out of curiosity, how was the decision made that the vim wiki should be hosted at wikia? Wouldn't be natural for a project of this size to have a wiki completely under its own control? Some history of the wiki is available here:

FW: file that hangs vim

2010-10-04 Thread Christian Brabandt
Forwarding to vim-dev, it seems more appropriate there. - Forwarded message from Christian Brabandt - From: Christian Brabandt cbli...@256bit.org To: v...@vim.org Subject: Re: file that hangs vim Date: Mon, 4 Oct 2010 09:11:19 +0200 Hi Mark! On Sa, 02 Okt 2010, Mark Huiskes wrote:

Vim python vimrc split interpreter

2010-10-04 Thread flebber
HI I am starting to use vim for python. So I have found this guide http://www.sontek.net/post/Python-with-a-modular-IDE-%28Vim%29.aspx However I was hoping to have a default setup with split screen. One aplit with python(ide) editor and the other side an interactive interpreter. I plan to use

Renumber all buffers

2010-10-04 Thread Oivvio Polite
I use minibufexpl.vim all the time which gives me a listing of all buffers and their respective numbers on screen all the time. This makes it very convenient to switch to other buffers by their number. But since I'm usually in the same vim session for days on end my buffer numbers tend to get

Re: How to set utf-8 locally (for a buffer) on loading the file

2010-10-04 Thread esquifit
Thank you both Tony and Kyungjoon for the detailed explanation. I understand that setting 'encode' globally is recommended (or rather the right thing to do) and so I did it. I've also set fileencodings as suggested y Tony. This seems to works fine. The whole set of options (encoding,

Re: How to bury a mapping?

2010-10-04 Thread Israel Chauca F.
On Oct 4, 2010, at 12:35 AM, Bee wrote: How to bury a mapping? The following works, and by using upper case makes it difficult to type the sub-string ,HR. imap ,HR ---1-2-3-4-5-6 cr imap ,ha --,HR imap ,hf \ ,HR imap ,hh -,HR imap ,hs

Re: How to set utf-8 locally (for a buffer) on loading the file

2010-10-04 Thread Ben Fritz
On Oct 4, 8:07 am, Simon Ruderich si...@ruderich.org wrote: On Mon, Oct 04, 2010 at 02:50:02AM -0700, esquifit wrote: [snip] relevant for GUI. Fundamentally I'm missing a high level description of which encodings and which conversions come at which moment into play (vim startup,

Re: Why is vim built against python 2.7

2010-10-04 Thread flebber
On Oct 5, 1:47 am, flebber flebber.c...@gmail.com wrote: I am trying to use vim 7.3 with python 2.6 but it keeps complaining that python 2.7 is not available. I found this site showing gvim72 builds with different builds for seperate python versions. Why does vim build against a specific

Re: How to bury a mapping?

2010-10-04 Thread Bee
On Oct 3, 10:52 pm, Israel Chauca F. israelvar...@fastmail.fm wrote: On Oct 4, 2010, at 12:35 AM, Bee wrote: How to bury a mapping? The following works, and by using upper case makes it difficult to type the sub-string ,HR. imap ,HR

Re: Why is vim built against python 2.7

2010-10-04 Thread Reckoner
This might help: http://showmedo.com/videotutorials/video?name=1850010fromSeriesID=185 good luck! On Oct 4, 7:47 am, flebber flebber.c...@gmail.com wrote: I am trying to use vim 7.3 with python 2.6 but it keeps complaining that python 2.7 is not available. I found this site showing gvim72

Re: vim diff

2010-10-04 Thread Andy Wokula
Am 03.10.2010 17:49, schrieb Sammi: Do I need open two files in vim or use vimdiff command? You should drop diffbyline.vim into your plugin folder to make the DiffLineByLine() function available after startup. Within Vim, execute :SetLineByLineDiff which is a shortcut for :set

Re: Renumber all buffers

2010-10-04 Thread Oivvio Polite
On Mon, Oct 04, 2010 at 01:46:12PM -0400, Charles E Campbell Jr wrote: Exit vim. Then edit all the buffers. Vim does not otherwise permit buffer renumbering. Hmm. at first that didn't seem very helpful, but when I realised I could pair it with mksession it actually works rather nicely.

Buffers in command line?

2010-10-04 Thread Ven Tadipatri
Hi, I was wondering if there was a way to paste the contents of a buffer when in command line mode. For example, if I want to search for the word that I'm on, I was thinking of highlighting it in visual mode, yanking it into a buffer, then searching for what I yanked. Thanks, Ven -- You

Re: Buffers in command line?

2010-10-04 Thread Gary Johnson
On 2010-10-04, Ven Tadipatri wrote: Hi, I was wondering if there was a way to paste the contents of a buffer when in command line mode. For example, if I want to search for the word that I'm on, I was thinking of highlighting it in visual mode, yanking it into a buffer, then searching for

RE: Buffers in command line?

2010-10-04 Thread John Beckett
Ven Tadipatri wrote: I was wondering if there was a way to paste the contents of a buffer when in command line mode. For example, if I want to search for the word that I'm on, I was thinking of highlighting it in visual mode, yanking it into a buffer, then searching for what I yanked.

Re: How to set utf-8 locally (for a buffer) on loading the file

2010-10-04 Thread Benjamin R. Haskell
On Mon, 4 Oct 2010, esquifit wrote: On 4 Oct, 15:42, Ben Fritz wrote: You can also set fileencoding manually after a file read, so that you can convert it to a different encoding when writing the file. You will probably want this new encoding in your fileencodings option so it can be

Re: Buffers in command line?

2010-10-04 Thread sc
On Monday 04 October 2010 16:03:28 Ven Tadipatri wrote: Hi, I was wondering if there was a way to paste the contents of a buffer when in command line mode. For example, if I want to search for the word that I'm on, I was thinking of highlighting it in visual mode, yanking it into a buffer,

Re: Why is vim built against python 2.7

2010-10-04 Thread flebber
Will have to wait until the necessary lang and extra files for 7.3 are here. http://ftp.vim.org/vim/extra/ On Oct 5, 3:42 am, Reckoner recko...@gmail.com wrote: This might help: http://showmedo.com/videotutorials/video?name=1850010fromSeriesID=185 good luck! On Oct 4, 7:47 am, flebber

Re: Why is vim built against python 2.7

2010-10-04 Thread Vlad Irnov
On Oct 4, 10:58 am, flebber flebber.c...@gmail.com wrote: On Oct 5, 1:47 am, flebber flebber.c...@gmail.com wrote: I am trying to use vim 7.3 with python 2.6 but it keeps complaining that python 2.7 is not available. I found this site showing gvim72 builds with different builds for

GVIM and Windows XP problem

2010-10-04 Thread carey
I've been using gvim version 7.1 for a long time without any problems. Somewhere between Friday afternoon and Monday it lost the ability to display the menu or toolbar (though the gray area for the toolbar is there). p Things I've tried: ul liUninstalling 7.1 and installing 7.3. Also deleting my

Re: How to set utf-8 locally (for a buffer) on loading the file

2010-10-04 Thread esquifit
Thank you very much for the patient answer, I'm sorry for my lengthy post. So, I think I kind of understand what fenc and fencs do, but I'm still unsure as to what enc does. Sets the character encoding used inside Vim. It applies to text in the buffers, registers, Strings in