Re: Sourcing.vimrc breaks all of these iabbrev

2013-01-14 Thread Christian Brabandt
On Tue, January 15, 2013 02:24, stosss wrote: > I just started creating :iabbrev for all sorts of simple things. They > all work just fine when Vim starts but they all break when .vimrc is > sourced. > > I don't understand. Please be more specific. How do you start Vim, such that no .vimrc is sour

Re: Sourcing.vimrc breaks all of these iabbrev

2013-01-14 Thread stosss
On Mon, Jan 14, 2013 at 10:53 PM, Chris Schneider wrote: > I just tried to reproduce this and couldn't. > > I setup a vimrc iabbrev, launched and it worked. Then did :source ~/.vimrc > and the ibbrev still worked. So presumably there's something else weird > going on in your vimrc? Maybe a plugi

Re: Sourcing.vimrc breaks all of these iabbrev

2013-01-14 Thread stosss
On Mon, Jan 14, 2013 at 9:57 PM, sc wrote: > On Mon, Jan 14, 2013 at 08:24:40PM -0500, stosss wrote: >> I just started creating :iabbrev for all sorts of simple things. They >> all work just fine when Vim starts but they all break when .vimrc is >> sourced. > >> I don't understand. > > I don't eit

Re: Sourcing.vimrc breaks all of these iabbrev

2013-01-14 Thread Chris Schneider
I just tried to reproduce this and couldn't. I setup a vimrc iabbrev, launched and it worked. Then did :source ~/.vimrc and the ibbrev still worked. So presumably there's something else weird going on in your vimrc? Maybe a plugin is clearing them? On Mon, Jan 14, 2013 at 6:24 PM, stosss wrot

Re: Sourcing.vimrc breaks all of these iabbrev

2013-01-14 Thread sc
On Mon, Jan 14, 2013 at 08:24:40PM -0500, stosss wrote: > I just started creating :iabbrev for all sorts of simple things. They > all work just fine when Vim starts but they all break when .vimrc is > sourced. > I don't understand. I don't either -- when vim starts is not .vimrc sourced automatic

Sourcing.vimrc breaks all of these iabbrev

2013-01-14 Thread stosss
I just started creating :iabbrev for all sorts of simple things. They all work just fine when Vim starts but they all break when .vimrc is sourced. I don't understand. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. F

Re: What is a" supposed to do in visual mode?

2013-01-14 Thread Chris Schneider
I actually cover this about 2/3rds the way through my VimDrills screencast for this week (http://www.vimdrills.com/blog/drill-3-text-objects). Basically, while in visual mode, you can keep repeating text-objects to expand out your selected area. So va" (visual all quote), then you can tack on

Re: What is a" supposed to do in visual mode?

2013-01-14 Thread stosss
On Mon, Jan 14, 2013 at 4:06 PM, skeept wrote: > On Monday, January 14, 2013 3:57:27 PM UTC-5, Jack Gates wrote: >> On Mon, Jan 14, 2013 at 3:55 PM, stosss wrote: >> >> > On Mon, Jan 14, 2013 at 3:49 PM, skeept < wrote: >> >> >> Hi I was reading some documentation and I came across >> >> >> >> >>

Re: What is a" supposed to do in visual mode?

2013-01-14 Thread skeept
On Monday, January 14, 2013 3:57:27 PM UTC-5, Jack Gates wrote: > On Mon, Jan 14, 2013 at 3:55 PM, stosss wrote: > > > On Mon, Jan 14, 2013 at 3:49 PM, skeept < wrote: > > >> Hi I was reading some documentation and I came across > > >> > > >> |v_aquote| a" extend highlight

Re: What is a" supposed to do in visual mode?

2013-01-14 Thread stosss
On Mon, Jan 14, 2013 at 3:55 PM, stosss wrote: > On Mon, Jan 14, 2013 at 3:49 PM, skeept wrote: >> Hi I was reading some documentation and I came across >> >> |v_aquote| a" extend highlighted area with a double >> >> In my case I start visual mode and type a" but nothing seem

Re: What is a" supposed to do in visual mode?

2013-01-14 Thread stosss
On Mon, Jan 14, 2013 at 3:49 PM, skeept wrote: > Hi I was reading some documentation and I came across > > |v_aquote| a" extend highlighted area with a double > > In my case I start visual mode and type a" but nothing seems to happen. Is > this supposed to surround the visual

What is a" supposed to do in visual mode?

2013-01-14 Thread skeept
Hi I was reading some documentation and I came across |v_aquote| a" extend highlighted area with a double In my case I start visual mode and type a" but nothing seems to happen. Is this supposed to surround the visual selection with "? I tried this with vim -u NONE --noplug

Re: Use current file name in the current file?

2013-01-14 Thread stosss
On Mon, Jan 14, 2013 at 11:51 AM, Ben Fritz wrote: > On Monday, January 14, 2013 10:32:04 AM UTC-6, Jack Gates wrote: >> >> > In what context? Do you want to insert the file name into the file? Access >> > the file name on the command-line? Something else? If you tell us what >> > you're trying

Re: Save part from file.txt to file1.txt ?

2013-01-14 Thread stosss
On Mon, Jan 14, 2013 at 11:53 AM, Ben Fritz wrote: > On Monday, January 14, 2013 10:42:27 AM UTC-6, Jack Gates wrote: >> >> Manually that works. I did find that help section. But I want to do it >> >> automated. Is my answer in that help file? I will go back and read it >> >> again. If I have file

Re: Save part from file.txt to file1.txt ?

2013-01-14 Thread Ben Fritz
On Monday, January 14, 2013 10:42:27 AM UTC-6, Jack Gates wrote: > > Manually that works. I did find that help section. But I want to do it > > automated. Is my answer in that help file? I will go back and read it > > again. If I have file.txt and I run a mapping that yanks some lines > > and s

Re: Use current file name in the current file?

2013-01-14 Thread Ben Fritz
On Monday, January 14, 2013 10:32:04 AM UTC-6, Jack Gates wrote: > > > In what context? Do you want to insert the file name into the file? Access > > the file name on the command-line? Something else? If you tell us what > > you're trying to accomplish we can help better. > > I was thinking abo

Re: Save part from file.txt to file1.txt ?

2013-01-14 Thread Tim Chase
On 01/14/13 10:42, stosss wrote: :7,42w >> blah.txt Will append lines 7-42 of the current file to the end of existing other file blah.txt. Manually that works. I did find that help section. But I want to do it automated. Is my answer in that help file? I will go back and read it again. If

Re: Save part from file.txt to file1.txt ?

2013-01-14 Thread Tim Chase
On 01/14/13 10:15, Ben Fritz wrote: I want to generate file1.txt, file2.txt, file3.txt from file.txt with a mapping. I open file.txt yank "a50Y another "b50Y another "c50Y Look through :help :write and :help :write_f for the various ways to write output to a file. For example, :7,42w >> blah

Re: Save part from file.txt to file1.txt ?

2013-01-14 Thread stosss
On Mon, Jan 14, 2013 at 11:15 AM, Ben Fritz wrote: > On Monday, January 14, 2013 9:41:42 AM UTC-6, Jack Gates wrote: >> I haven't found it in help yet because I'm probably not searching correctly. >> >> >> >> I want save the yanked text from one large file and save it to another >> >> file. I can

Re: Yank part of line?

2013-01-14 Thread stosss
On Mon, Jan 14, 2013 at 11:29 AM, Ben Fritz wrote: > On Saturday, January 12, 2013 8:52:50 PM UTC-6, Jack Gates wrote: >> This appears to be the only thing in help that seems to imply you can >> >> yank part of a line. But I can't figure out how to make that work. Am >> >> I wrong about this? Is t

Re: How to paste register over visual selection?

2013-01-14 Thread skeept
On Saturday, January 12, 2013 2:46:34 PM UTC-5, David Fishburn wrote: > On Jan 12, 2013, at 12:10 PM, skeept wrote: > > > > >> > > > > > > Would it be possible to define a mapping for p that, when in visual mode > > checks if I have specified a register (with "a) and in that case pastes

Re: Use current file name in the current file?

2013-01-14 Thread stosss
On Mon, Jan 14, 2013 at 11:11 AM, Ben Fritz wrote: > On Sunday, January 13, 2013 3:18:49 PM UTC-6, Jack Gates wrote: >> I think I saw something earlier about being able to use the current >> >> file name in the current file. But now I can't find what I saw >> >> earlier. I have been in too many he

Re: Yank part of line?

2013-01-14 Thread Ben Fritz
On Saturday, January 12, 2013 8:52:50 PM UTC-6, Jack Gates wrote: > This appears to be the only thing in help that seems to imply you can > > yank part of a line. But I can't figure out how to make that work. Am > > I wrong about this? Is the only way to yank part of a line in visual > > mode on

Re: Save part from file.txt to file1.txt ?

2013-01-14 Thread Ben Fritz
On Monday, January 14, 2013 9:41:42 AM UTC-6, Jack Gates wrote: > I haven't found it in help yet because I'm probably not searching correctly. > > > > I want save the yanked text from one large file and save it to another > > file. I can do this manually with no problem but how to do it > > au

Re: Use current file name in the current file?

2013-01-14 Thread Ben Fritz
On Sunday, January 13, 2013 3:18:49 PM UTC-6, Jack Gates wrote: > I think I saw something earlier about being able to use the current > > file name in the current file. But now I can't find what I saw > > earlier. I have been in too many help files today. > > > > I hope some one understands wh

Re: Gvim - Always Opens In Full Screen

2013-01-14 Thread Ben Fritz
On Saturday, January 12, 2013 7:39:21 AM UTC-6, Roy Fulbright wrote: > Thanks for your reply. I am running on Windows 7. I do not need to know how > to run maximized (running maximized is my problem). I need to figure out how > to keep from running maximized. In Windows XP and past versions (I a

Re: Yank part of line?

2013-01-14 Thread stosss
On Mon, Jan 14, 2013 at 10:53 AM, Charles Campbell wrote: > stosss wrote: >> >> On Mon, Jan 14, 2013 at 8:45 AM, Tony Mechelynck >> wrote: >>> >>> On 13/01/13 08:15, stosss wrote: On Sun, Jan 13, 2013 at 1:29 AM, John Beckett wrote: > > stosss wrote: >> >> This app

Re: Yank part of line?

2013-01-14 Thread Charles Campbell
stosss wrote: On Mon, Jan 14, 2013 at 8:45 AM, Tony Mechelynck wrote: On 13/01/13 08:15, stosss wrote: On Sun, Jan 13, 2013 at 1:29 AM, John Beckett wrote: stosss wrote: This appears to be the only thing in help that seems to imply you can yank part of a line. But I can't figure out how to

Save part from file.txt to file1.txt ?

2013-01-14 Thread stosss
I haven't found it in help yet because I'm probably not searching correctly. I want save the yanked text from one large file and save it to another file. I can do this manually with no problem but how to do it automated has escaped me so far. I want to generate file1.txt, file2.txt, file3.txt fro

Re: ctrl-f and ctrl-b don't scroll an entire page

2013-01-14 Thread Charles Campbell
Christian Brabandt wrote: Hi John! On Fr, 11 Jan 2013, John Little wrote: On Saturday, January 12, 2013 8:34:24 AM UTC+13, Charles Campbell wrote: about that "2". Is this "a page has rows lines less 2" standard, or is it an artifact of my o/s? IIRC vi did that. nvi still does. The 'window

Re: Yank part of line?

2013-01-14 Thread stosss
On Mon, Jan 14, 2013 at 8:45 AM, Tony Mechelynck wrote: > On 13/01/13 08:15, stosss wrote: >> >> On Sun, Jan 13, 2013 at 1:29 AM, John Beckett >> wrote: >>> >>> stosss wrote: This appears to be the only thing in help that seems to imply you can yank part of a line. But I can't figu

Re: Yank part of line?

2013-01-14 Thread Tony Mechelynck
On 13/01/13 08:15, stosss wrote: On Sun, Jan 13, 2013 at 1:29 AM, John Beckett wrote: stosss wrote: This appears to be the only thing in help that seems to imply you can yank part of a line. But I can't figure out how to make that work. Am I wrong about this? Is the only way to yank part of a

Re: Yank part of line?

2013-01-14 Thread Tim Chase
On 01/14/13 04:08, stosss wrote: On Sun, Jan 13, 2013 at 8:15 AM, Tim Chase wrote: On 01/13/13 01:15, stosss wrote: On Sun, Jan 13, 2013 at 1:29 AM, John Beckett wrote: In normal mode, you can of course move the cursor to somewhere An example could be in your reply above "move the cursor

Re: Error with autostarting in vim-indent-guides

2013-01-14 Thread Gautier DI FOLCO
2013/1/14 Christian Brabandt > The regular expression looks invalid (\%-3v, the minus is not allowed). > Other than that I am afraid we can't really help. > You should file an issue at the mentioned project site. > So, whith let g:indent_guides_start_level = 1 it works. Thank you verry much. -

Re: Error with autostarting in vim-indent-guides

2013-01-14 Thread Christian Brabandt
On Mon, January 14, 2013 07:53, Gautier DI FOLCO wrote: > Hi, > > I'm trying to use vim-indent-guides ( > https://github.com/nathanaelkane/vim-indent-guides/issues) > with Vim 7.3.682 on Fedora 17. > > I have set this in my vimrc: > > let g:indent_guides_start_level = 0 > let g:indent_guide