Friday, September 5, 2014

Re: what adds an auto heading to my new files??

On 06/09/14 01:52, Francis (Grizzly) Smit wrote:
> On 06/09/14 01:10, Francis (Grizzly) Smit wrote:
>> On 06/09/14 00:40, Reid Thompson wrote:
>>> On Sat, 2014-09-06 at 00:34 +1000, Francis (Grizzly) Smit wrote:
>>>> yeah when I open a new file like say a C/CPP file i get a automatic
>>>> header like so:
>>> http://www.thegeekstuff.com/2009/01/tutorial-make-vim-as-your-cc-ide-using-cvim-plugin/
>>>
>> Bingo cvim it is thanks you.
>>
>> you don't know how to customize the date time it uses do you I prefer
>> iso or at the very least 4 digit years
>>
> Once again thx,
>
> just one more question if I may it says that if I type \if in normal mode
> then I would be promoted for a function name etc see below:
>
> Feature 2: Adding C function using \if
>
> For writing a subroutine, type \if in normal mode, which will prompt for
> the function name (as shown in Fig1 below) and inserts the subroutine
> with default function content (as shown in Fig2 below).
>
> but this doesn't work for me \if puts me in insert mode and put an f in
> does \ have to be set to something
>
found it some of the stuff in my .vimrc that I inherited from mandrake
and ubuntu and God knows where was interfering commented loads out and
now it works

--


.~. In my life God comes first....
/V\ but Linux is pretty high after that :-D
/( )\ Francis (Grizzly) Smit
^^-^^ http://www.smit.id.au/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GM/CS/H/P/S/IT/L d- s+:+ a++ C++++ UL++++$ P++ L+++$ E--- W++
N W--- M-- V-- PE- PGP t+ 5-- X-- R- tv b++++ D-
G e++ h+ y?
------END GEEK CODE BLOCK------
http://www.geekcode.com/

--
--
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, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment