Re: key chording in vim

2013-04-14 Thread michael raba
This plugin appears to do somewhat what I want http://www.vim.org/scripts/script.php?script_id=2425 Except that Requirement 2) isn't met. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visi

bigvim.bat makes 7.3.834 break Ruby 1.9.x support

2013-04-14 Thread Yongwei Wu
People complained that my recent build of Vim no longer worked with Ruby. I reproduced the behaviour. I checked the recent Ruby-related patches, and found out that reverting 7.3.834 made it work again. Obviously, this part is problematic: *** 344,349 --- 346,362 { return dll_rb_

Re: vim plugins reordering

2013-04-14 Thread Marc Weber
My personal summary about plugin managers which tries to summarize the differences: https://raw.github.com/MarcWeber/vim-git-wiki/master/topic/vim%20plugin%20managment.wiki Marc Weber -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text yo

Re: help! ab multiple line abbreviations MacVIm

2013-04-14 Thread Tony Mechelynck
On 15/04/13 02:48, zwu...@ucr.edu wrote: Hi all, I try to ab several multiple line commands by following the instruction on vim wiki http://vim.wikia.com/wiki/Using_abbreviations However, when copy and paste this line into my vimrc file, I didn't get the expected result (I sourced the vimrc fil

help! ab multiple line abbreviations MacVIm

2013-04-14 Thread zwu002
Hi all, I try to ab several multiple line commands by following the instruction on vim wiki http://vim.wikia.com/wiki/Using_abbreviations However, when copy and paste this line into my vimrc file, I didn't get the expected result (I sourced the vimrc file before my test). Below is the line: :ab m

Re: key chording in vim

2013-04-14 Thread Tony Mechelynck
On 14/04/13 23:48, michael raba wrote: hello, I want to do the following with gvim: Hold down the 's' key, then press 1. Type "hello world" Note1: if I just press s, it acts like normal. Note2: If I hold down 1 and press s, it should not do anything Is this possible to do natively? No. Vim

Re: How can one set tabstops to specific values?

2013-04-14 Thread Linda W
Tony Mechelynck wrote: > > > IMHO using variable *hard* tabs is courting disaster, because most > other programs (including printers, and the Python interpreter) always > use fixed hard tabs every 8 columns. But my terminal uses '2' for a tabstop (linux console is programmable for tabs

key chording in vim

2013-04-14 Thread michael raba
hello, I want to do the following with gvim: Hold down the 's' key, then press 1. Type "hello world" Note1: if I just press s, it acts like normal. Note2: If I hold down 1 and press s, it should not do anything Is this possible to do natively? Thanks in advance Michael Raba -- -- You rece

Command line completion

2013-04-14 Thread Suresh Govindachar
Hello, Issue: On vim's command line, the following finds the possible completions :find ./foo/blah/blee but the following (without the leading ./) will not: :find foo/blah/blee Why? My settings: verbose set path? path=.,,c:/opt/vim,c:/opt/vim/**

Re: Moving the cursors down without scrolling the text

2013-04-14 Thread Gary Johnson
On 2013-04-14, Nicolas Dermine wrote: > > On 14 Apr 2013 14:10, Meino Cramer wrote: > > > > Hi, > > > > I have two questions: > > > > How can one move the cursor in vim (not gvim) from any point in the text > > to the last/first currently displayed line without scrolling the > > displayed text

Re: Learn Vimscript the Hardway

2013-04-14 Thread Some Developer
This is on my reading list. I've been wanting to make a couple of Vim plugins and this might just be what I need to get started. Thanks for the heads up. On 10 April 2013 12:31, Ping wrote: > agree,very good book! > > On Apr 10, 2013, at 5:57 AM, Phil Dobbin wrote: > > > Hi, all. > > > > My h

Re: How can one set tabstops to specific values?

2013-04-14 Thread Tony Mechelynck
On 14/04/13 14:28, Erik Christiansen wrote: On 14.04.13 03:24, Tony Mechelynck wrote: For the sake of portability, I recommend keeping 'tabstop' at its default of 8, setting 'expandtab' on, and using any values you like for 'shiftwidth' and 'softtabstop'. This way existing hard tabs will be seen

Re: vim plugins reordering

2013-04-14 Thread Marcin Szamotulski
There are multiple choices: beside the pathogen that was mentioned before, you can also try: VAM: https://github.com/MarcWeber/vim-addon-manager?source=cr vundle: https://github.com/gmarik/vundle and a few others on vimorg. Best regards, Marcin On 02:02 Sun 14 Apr , Tony Mechelynck wrote: >

Determine the position we left off before moving to the command line

2013-04-14 Thread Axel Bender
I'm searching a way to determine the last cursor position before entering the command line to execute a command defined with :command -range=% aaa call ,func(). If I start from a visual block, I'm able to retrieve that position with line(".") or a:firstline in func(). However, if I don't use

Re: How can one set tabstops to specific values?

2013-04-14 Thread Erik Christiansen
On 14.04.13 03:24, Tony Mechelynck wrote: > For the sake of portability, I recommend keeping 'tabstop' at its default of > 8, setting 'expandtab' on, and using any values you like for 'shiftwidth' > and 'softtabstop'. This way existing hard tabs will be seen at multiples of > 8, no new ones will be

Re: Multiple cursors in vim, is it possible?

2013-04-14 Thread Terry Ma
On Sunday, August 5, 2012 6:12:20 AM UTC-7, Asis Hallab wrote: > Dear Vimers, > > > I just watched a screencast about Submile Text 2, a much buzzed about new > text editor. > It has a very neat feature called multiple cursors, where the user just > selects different positions in the current buf

Re: Moving the cursors down without scrolling the text

2013-04-14 Thread Nicolas Dermine
On 14 Apr 2013 14:10, wrote: > > Hi, > > I have two questions: > > How can one move the cursor in vim (not gvim) from any point in the text > to the last/first currently displayed line without scrolling the > displayed text. Hi mcc, In normal mode H moves the cursor to the top. L to the bott

Moving the cursors down without scrolling the text

2013-04-14 Thread meino . cramer
Hi, I have two questions: How can one move the cursor in vim (not gvim) from any point in the text to the last/first currently displayed line without scrolling the displayed text. and I tried things like : h move : h moving : h move cursor : h move-cursor : h cursor-movements and

Re: How can one set tabstops to specific values?

2013-04-14 Thread Marco
On 2013–04–13 Linda W wrote: > I'd like to be able to set tabstops in various files to useful values > > like in > /etc/fstab > set ts=17,17,8,24,3 Also interesting in this context is the concept of “elastic tabstops”, which compute the necessary values automatically. However, vim neither suppor