Article View: es.comp.os.linux.programacion
Article #14437Re: [vim] pasar el nombre del fichero a una variable.
From: Benjamín Albiñana Pérez
Date: Sun, 12 Nov 2000 00:38
Date: Sun, 12 Nov 2000 00:38
52 lines
2692 bytes
2692 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Cuando: 11 Nov 2000 22:25:47 GMT
Quien: Jaime Suarez <jsuarez@cachonero.org>
Que: Re: [vim] pasar el nombre del fichero a una variable.
>>endfun
>
>Pues ya que estamos -yo tambi�n estoy peleando con el famoso mocka- �esta
>definici�n de funci�n la pones en ~/.vimrc o puedo ponerla en un directorio
>espec�fico y que s�lo la lea cuando est� en dicho directorio?
>�Y luego c�mo se ejecuta la funci�n?
Yo lo que hago es tener un fichero con todas las
funciones:
.vim/mifuncion.vim
Y en el .vimrc
so ~/.vim/mifuncion.vim
map <F12> :call Mocka()<CR>
>Me hace falta mejor documentaci�n de VIM, con lo que me gusta...
:h function
:h expr
:h
:h quotes.txt ;-)
La documentaci�n del vim es cojonuda. Un poco liosa al
principio. Pero muy completa.
- --
Benjam�n Albi�ana P�rez
Linux User N�78177 http://www.escomposlinux.org/
Clave p�blica: wget http://www.escomposlinux.org/benalb/benjamin-gpg.asc
:plonk: /excl.,vt./ The sound a {newbie} makes as he falls to the
bottom of a {kill file}.
Jargon File (4.0.0/24 July 1996)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6DeZ8633hg168lHwRAsECAJ9J2zH02a1kmx2rzKQjSknR/zjWTgCdE/Oa
5Ix1hzHfkB6ude9vBcYqk0k=
=AWQy
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<slrn90rpjq.255.benjamin@lamanonegra.net.dhis.org>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newscore.gigabell.net!fu-berlin.de!uni-berlin.de!212-73-56-180.red-acceso.airtel.NET!not-for-mailReferences:
<slrn908jrf.unk.benjamin@lamanonegra.net.dhis.org> <slrn90e14p.k9.jsuarez@cachonero.org> <slrn90g814.k5u.benjamin@lamanonegra.net.dhis.org> <slrn90qf1b.7u.jsuarez@cachonero.org>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,d06250fd9289765b X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2000-11-11 19:00:32 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newscore.gigabell.net!fu-berlin.de!uni-berlin.de!212-73-56-180.red-acceso.airtel.NET!not-for-mail From: benjamin@lamanonegra.net.dhis.org (Benjamín Albiñana Pérez) Newsgroups: es.comp.os.linux.programacion Subject: Re: [vim] pasar el nombre del fichero a una variable. Date: Sun, 12 Nov 2000 01:38:21 +0100 Organization: Debian: the biggest, still the best Lines: 52 Message-ID: <slrn90rpjq.255.benjamin@lamanonegra.net.dhis.org> References: <slrn908jrf.unk.benjamin@lamanonegra.net.dhis.org> <slrn90e14p.k9.jsuarez@cachonero.org> <slrn90g814.k5u.benjamin@lamanonegra.net.dhis.org> <slrn90qf1b.7u.jsuarez@cachonero.org> Reply-To: benjamin@lamanonegra.net.dhis.org NNTP-Posting-Host: 212-73-56-180.red-acceso.airtel.net (212.73.56.180) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 973998031 2226831 212.73.56.180 (16 [31308]) User-Agent: vimnus.0.0.a1 (Linux)