Re: Problem with SnipMate and pathogen (i am novice)

2013-08-16 Thread Alex K
пятница, 16 августа 2013 г., 18:35:47 UTC+4 пользователь Ben Fritz написал: > On Friday, August 16, 2013 1:34:17 AM UTC-5, Alex K wrote: > > > четверг, 15 августа 2013 г., 22:26:58 UTC+4 пользователь MarcWeber написал: > > > > > > > Excerpts from Alex K's message of Thu Aug 15 20:22:05 +0200 20

Re: Yank all lines in a file

2013-08-16 Thread David Ohlemacher
1GvGy does not get the end of the last line. G just takes you to the first non-blank character of a line. I would use 1GvG$y -- David Ohlemacher Principle Software Engineer Scientific Solutions Inc. 99 Perimeter Rd Nashua New Hampshire 03063 603-880-3784 . o . . . o o o o -- -- You received

Re: Yank all lines in a file

2013-08-16 Thread Steve Litt
On Fri, 16 Aug 2013 17:45:48 -0500 Benjamin Klein wrote: > I have a silly question: What is the fastest way to yank all lines > (V) in an opened file? I normally do: > > 1 > G > V > G > yy > > Is that the simplest way to do this? I use ggyG But I know someone's going to find something better.

Re: Yank all lines in a file

2013-08-16 Thread Tim Chase
On 2013-08-17 01:03, Dominique Pellé wrote: > Another solution in 4 keystrokes: > > ggyG While this works, I tend to shirk it as I occasionally fly with 'nosol' set. It doesn't happen to impact it in this case, but the extra thought exertion isn't worth it for me, so I just use the :%y that y

Re: Yank all lines in a file

2013-08-16 Thread Dominique Pellé
Benjamin Klein wrote: > I have a silly question: What is the fastest way to yank all lines (V) in an > opened file? I normally do: > > 1 > G > V > G > yy > > Is that the simplest way to do this? You have one y too much there. Instead of 1G it's quicker to type gg. But you can also yank every

Re: Yank all lines in a file

2013-08-16 Thread Tim Chase
On 2013-08-16 17:45, Benjamin Klein wrote: > I have a silly question: What is the fastest way to yank all lines > (V) in an opened file? I normally do: > > 1 > G > V > G > yy > > Is that the simplest way to do this? If you insist on visual mode, I think you mean "1GVGy" not "1GVGyy". A couple v

Re: Yank all lines in a file

2013-08-16 Thread jk121960
gg v shift-g Gerald Klein DBA contac...@geraldklein.com www.geraldklein.com geraldklein.wordpress.com j...@zognet.com 708-599-0352 Arch/Gentoo Awesome, Ranger & Vim the coding triple threat. Linux registered user #548580 From: Benjamin Klein Sent: Friday, August 16, 2013 5:45 PM To: vim_

Yank all lines in a file

2013-08-16 Thread Benjamin Klein
I have a silly question: What is the fastest way to yank all lines (V) in an opened file? I normally do: 1 G V G yy Is that the simplest way to do this? -- b smime.p7s Description: S/MIME cryptographic signature

Re: Mapping <*-CR>

2013-08-16 Thread Ben Fritz
On Friday, August 16, 2013 11:56:03 AM UTC-5, Gautier DI FOLCO wrote: > > > I have no difference with CTRL-K (it is alway ^M) but with CTRL-V I can see > [0^M for , so, theoretically I can map , can't I? Yes, in theory. I'm not exactly sure how to get any of those problematic ones working in

Re: vim command to include a file into current file

2013-08-16 Thread Tim Chase
On 2013-08-16 10:57, Gary Johnson wrote: > On 2013-08-16, Javier Mediavilla Vegas wrote: > > Hi all, > > Is there any command or any method that allows to include a file > > in the current file you are editing? > > > > By including a file I don't mean to read it with :read and paste > > it. I mean

Re: vim command to include a file into current file

2013-08-16 Thread Marc Weber
Hi Javier, talk about your use case, not what you want. Replacing \include looks to me you want text snippets such as http://vim-wiki.mawercer.de/wiki/topic/text-snippets-skeletons-templates.html (this page is incomplete). > Basically, I would like to have a conceal behaviour for such an order >

Re: vim command to include a file into current file

2013-08-16 Thread Gary Johnson
On 2013-08-16, Javier Mediavilla Vegas wrote: > Hi all, > Is there any command or any method that allows to include a file > in the current file you are editing? > > By including a file I don't mean to read it with :read and paste > it. I mean something like > \include{file} > > The semantic

vim command to include a file into current file

2013-08-16 Thread Javier Mediavilla Vegas
Hi all, Is there any command or any method that allows to include a file in the current file you are editing? By including a file I don't mean to read it with :read and paste it. I mean something like \include{file} The semantic that I am looking can be (merely an example): In normal m

Re: Mapping <*-CR>

2013-08-16 Thread Gautier DI FOLCO
2013/8/16 Ben Fritz > On Friday, August 16, 2013 9:55:56 AM UTC-5, Gautier DI FOLCO wrote: > > Hi all, > > > > I'm using ViM 7.3 on FreeBSD 9.1 and I have some troubles with mapping > and : > > > > map A > > map A > > > > > > It doesn't work, have you the same issue or an idea of a solution? >

Re: Mapping <*-CR>

2013-08-16 Thread Ben Fritz
On Friday, August 16, 2013 9:55:56 AM UTC-5, Gautier DI FOLCO wrote: > Hi all, > > I'm using ViM 7.3 on FreeBSD 9.1 and I have some troubles with mapping > and : > > map A > map A > > > It doesn't work, have you the same issue or an idea of a solution? > > For your help, > Thanks by advanc

Re: Automatically open fold with in normal mode?

2013-08-16 Thread Reckoner
On Friday, August 16, 2013 7:00:15 AM UTC-7, David Fishburn wrote: > On Fri, Aug 16, 2013 at 9:32 AM, Jürgen Krämer wrote: > > > > Hi, > > > > > Reckoner wrote: > > > > > > I'm using vim 7.3 on windows 8. > > > > > > Is there a way to setup a normal mode mapping where if I hit on a >

Mapping <*-CR>

2013-08-16 Thread Gautier DI FOLCO
Hi all, I'm using ViM 7.3 on FreeBSD 9.1 and I have some troubles with mapping and : map A map A It doesn't work, have you the same issue or an idea of a solution? For your help, Thanks by advance. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your rep

Re: Problem with SnipMate and pathogen (i am novice)

2013-08-16 Thread Ben Fritz
On Friday, August 16, 2013 1:34:17 AM UTC-5, Alex K wrote: > четверг, 15 августа 2013 г., 22:26:58 UTC+4 пользователь MarcWeber написал: > > > Excerpts from Alex K's message of Thu Aug 15 20:22:05 +0200 2013: > > > > > > > Don't think it helps, because .c snipet is in default installation of >

Re: Automatically open fold with in normal mode?

2013-08-16 Thread David Fishburn
On Fri, Aug 16, 2013 at 9:32 AM, Jürgen Krämer wrote: > > Hi, > > Reckoner wrote: > > > > I'm using vim 7.3 on windows 8. > > > > Is there a way to setup a normal mode mapping where if I hit on > a folded section, it will open that section (as in zO). The trick is that I > only want that mapping

Re: Automatically open fold with in normal mode?

2013-08-16 Thread Jürgen Krämer
Hi, Reckoner wrote: > > I'm using vim 7.3 on windows 8. > > Is there a way to setup a normal mode mapping where if I hit on a > folded section, it will open that section (as in zO). The trick is that I > only want that mapping to work *while on a folded line* and not otherwise > map else

Automatically open fold with in normal mode?

2013-08-16 Thread Reckoner
Hi, I'm using vim 7.3 on windows 8. Is there a way to setup a normal mode mapping where if I hit on a folded section, it will open that section (as in zO). The trick is that I only want that mapping to work *while on a folded line* and not otherwise map elsewhere. Possible? Thanks! -- --