<!-- header_tag --> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd"> <html> <!-- Created on le 15 décembre 2009 by texi2html 1.82 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> Olaf Bachmann <obachman@mathematik.uni-kl.de> and many others. Maintained by: Many creative people. Send bugs and suggestions to <texi2html-bug@nongnu.org> --> <head> <title>GNU LilyPond – Utilisation des programmes : 2.2.2 Vim mode</title> <meta name="description" content="GNU LilyPond – Utilisation des programmes: 2.2.2 Vim mode"> <meta name="keywords" content="GNU LilyPond – Utilisation des programmes: 2.2.2 Vim mode"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2html 1.82"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="index.fr.html#Top" rel="start" title="GNU LilyPond — Utilisation des programmes"> <link href="LilyPond-index.fr.html#LilyPond-index" rel="index" title="B. LilyPond index"> <link href="index_toc.fr.html#SEC_Contents" rel="contents" title="Table des matières"> <link href="index_abt.fr.html#SEC_About" rel="help" title="A propos de ce document"> <link href="Text-editor-support.fr.html#Text-editor-support" rel="up" title="2.2 Text editor support"> <link href="LilyPond-index.fr.html#LilyPond-index" rel="next" title="B. LilyPond index"> <link href="Emacs-mode.fr.html#Emacs-mode" rel="previous" title="2.2.1 Emacs mode"> <link rel="stylesheet" type="text/css" title="Patrick McCarty's design" href="lilypond-mccarty.css"> <link rel="alternate stylesheet" type="text/css" href="lilypond.css" title="Andrew Hawryluk's design"> <link rel="alternate stylesheet" type="text/css" href="lilypond-blue.css" title="Kurt Kroon's blue design"> <!--[if lte IE 7]> <link href="lilypond-ie-fixes.css" rel="stylesheet" type="text/css"> <![endif]--> </head> <body lang="fr" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> <div id="main"> <a name="Vim-mode"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="Setup.fr.html#Setup" title="Début de ce chapitre ou chapitre précédent"> << Setup </a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.fr.html#Top" title="Couverture (top) du document" rel="start">Racine</a>][<a href="index_toc.fr.html#SEC_Contents" title="Table des matières" rel="contents">Table des matières</a>][<a href="LilyPond-index.fr.html#LilyPond-index" title="Index" rel="index">Index</a>][<a href="index_abt.fr.html#SEC_About" title="A propos (page d’aide)" rel="help"><font size="-4"> </font>? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Running-LilyPond.fr.html#Running-LilyPond" title="Chapitre suivant"> Running LilyPond >> </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="Emacs-mode.fr.html#Emacs-mode" title="Section précédente dans l’ordre de lecture" accesskey="p" rel="previous"> < Emacs mode </a>]</td><td valign="middle" align="center" colspan="1">[<a href="Text-editor-support.fr.html#Text-editor-support" title="Section supérieure" accesskey="u" rel="up"> Plus haut: Text editor support </a>]</td><td valign="middle" align="right" colspan="2">[<a href="jEdit.fr.html#jEdit" title="Section suivante dans l’ordre de lecture" accesskey="n" rel="next"> jEdit > </a>]</td></tr></table> <a name="Vim-mode"></a> <h3 class="subsection">2.2.2 Vim mode</h3> <p>En ce qui concerne <a href="http://www.vim.org">VIM</a>, LilyPond fournit un fichier ‘<tt>vimrc</tt>’ qui gère la coloration synthaxique. Le répertoire <code>$VIM</code> inclus dans les sources contient aussi un mode pour saisir la musique et lancer LilyPond. </p> <p>Le type de fichier LilyPond sera reconnu si votre ‘<tt>~/.vim/filetype.vim</tt>’ contient </p> <blockquote><pre class="example">if exists("did_load_filetypes") finish endif augroup filetypedetect au! BufNewFile,BufRead *.ly,*.ily setf lilypond augroup END </pre></blockquote> <p>N’oubliez pas d’inclure ce chemin en ajoutant à votre ‘<tt>~/.vimrc</tt>’ la ligne suivante : </p> <blockquote><pre class="example">set runtimepath+=/usr/local/share/lilypond/${LILYPOND_VERSION}/vim/ </pre></blockquote> <p>où ${LILYPOND_VERSION} correspond à votre version de LilyPond. Si LilyPond n’est pas installé dans ‘<tt>/usr/local/</tt>’, modifiez ce chemin en conséquence. </p> <hr size="6"> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="Setup.fr.html#Setup" title="Début de ce chapitre ou chapitre précédent"> << Setup </a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.fr.html#Top" title="Couverture (top) du document" rel="start">Racine</a>][<a href="index_toc.fr.html#SEC_Contents" title="Table des matières" rel="contents">Table des matières</a>][<a href="LilyPond-index.fr.html#LilyPond-index" title="Index" rel="index">Index</a>][<a href="index_abt.fr.html#SEC_About" title="A propos (page d’aide)" rel="help"><font size="-4"> </font>? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Running-LilyPond.fr.html#Running-LilyPond" title="Chapitre suivant"> Running LilyPond >> </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="Emacs-mode.fr.html#Emacs-mode" title="Section précédente dans l’ordre de lecture" accesskey="p" rel="previous"> < Emacs mode </a>]</td><td valign="middle" align="center" colspan="1">[<a href="Text-editor-support.fr.html#Text-editor-support" title="Section supérieure" accesskey="u" rel="up"> Plus haut: Text editor support </a>]</td><td valign="middle" align="right" colspan="2">[<a href="jEdit.fr.html#jEdit" title="Section suivante dans l’ordre de lecture" accesskey="n" rel="next"> jEdit > </a>]</td></tr></table> <!-- footer_tag --> <div class="footer"> <p class="footer_version"> This page is for LilyPond-2.12.3 (stable-branch). </p> <p class="footer_report"> Your <a href="http://lilypond.org/web/devel/participating/documentation-adding">suggestions for the documentation</a> are welcome, please report errors to our <a href="http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs">bug list</a>. </p> </div> <p id="languages"> Other languages: <a href="Vim-mode.html">English</a>, <a href="Vim-mode.es.html">español</a>, <a href="Vim-mode.de.html">deutsch</a>. <br> </p> <!-- FOOTER --> <!-- end div#main here --> </div> <div id="tocframe"> <p class="toc_uplink"><a href="../index.fr.html" title="Documentation Index"><< Retour à l’accueil de la documentation</a></p> <h4 class="toc_header"><a href="index.fr.html#Top" title="Start of the manual">Utilisation des programmes</a></h4> <div class="contents"> <ul class="toc"> <li><a name="toc-Install-1" href="Install.fr.html#Install">1. Install</a> <ul class="toc"> <li><a name="toc-Precompiled-binaries-1" href="Precompiled-binaries.fr.html#Precompiled-binaries">1.1 Precompiled binaries</a> </li> <li><a name="toc-Compiling-from-source-1" href="Compiling-from-source.fr.html#Compiling-from-source">1.2 Compiling from source</a> </li> </ul> </li> <li class="toc_current"><a name="toc-Setup-1" href="Setup.fr.html#Setup">2. Setup</a> <ul class="toc"> <li><a name="toc-Setup-for-specific-Operating-Systems-1" href="Setup-for-specific-Operating-Systems.fr.html#Setup-for-specific-Operating-Systems">2.1 Setup for specific Operating Systems</a> </li> <li class="toc_current"><a name="toc-Text-editor-support-1" href="Text-editor-support.fr.html#Text-editor-support">2.2 Text editor support</a> <ul class="toc"> <li><a name="toc-Emacs-mode-1" href="Emacs-mode.fr.html#Emacs-mode">2.2.1 Emacs mode</a> </li> <li class="toc_current"><a name="toc-Vim-mode-1" href="Vim-mode.fr.html#Vim-mode">2.2.2 Vim mode</a> </li> <li><a name="toc-jEdit-1" href="jEdit.fr.html#jEdit">2.2.3 jEdit</a> </li> <li><a name="toc-TexShop-1" href="TexShop.fr.html#TexShop">2.2.4 TexShop</a> </li> <li><a name="toc-TextMate-1" href="TextMate.fr.html#TextMate">2.2.5 TextMate</a> </li> <li><a name="toc-LilyKDE-1" href="LilyKDE.fr.html#LilyKDE">2.2.6 LilyKDE</a> </li> </ul> </li> <li><a name="toc-Point-and-click-1" href="Point-and-click.fr.html#Point-and-click">2.3 Point and click</a> </li> </ul> </li> <li><a name="toc-Running-LilyPond-1" href="Running-LilyPond.fr.html#Running-LilyPond">3. Running LilyPond</a> <ul class="toc"> <li><a name="toc-Normal-usage-1" href="Normal-usage.fr.html#Normal-usage">3.1 Normal usage</a> </li> <li><a name="toc-Command_002dline-usage-1" href="Command_002dline-usage.fr.html#Command_002dline-usage">3.2 Command-line usage</a> </li> <li><a name="toc-Error-messages-1" href="Error-messages.fr.html#Error-messages">3.3 Error messages</a> </li> <li><a name="toc-Updating-with-convert_002dly" href="Updating-files-with-convert_002dly.fr.html#Updating-files-with-convert_002dly">3.4 Updating with <code>convert-ly</code></a> </li> <li><a name="toc-Reporting-bugs-1" href="Reporting-bugs.fr.html#Reporting-bugs">3.5 Reporting bugs</a> </li> </ul> </li> <li><a name="toc-lilypond_002dbook_003a-Integrating-text-and-music" href="LilyPond_002dbook.fr.html#LilyPond_002dbook">4. <code>lilypond-book</code>: Integrating text and music</a> <ul class="toc"> <li><a name="toc-An-example-of-a-musicological-document-1" href="An-example-of-a-musicological-document.fr.html#An-example-of-a-musicological-document">4.1 An example of a musicological document</a> </li> <li><a name="toc-Integrating-music-and-text-1" href="Integrating-music-and-text.fr.html#Integrating-music-and-text">4.2 Integrating music and text</a> </li> <li><a name="toc-Music-fragment-options-1" href="Music-fragment-options.fr.html#Music-fragment-options">4.3 Music fragment options</a> </li> <li><a name="toc-Invoking-lilypond_002dbook-1" href="Invoking-lilypond_002dbook.fr.html#Invoking-lilypond_002dbook">4.4 Invoking <code>lilypond-book</code></a> </li> <li><a name="toc-Filename-extensions-1" href="Filename-extensions.fr.html#Filename-extensions">4.5 Filename extensions</a> </li> <li><a name="toc-Alternative-methods-of-mixing-text-and-music" href="Alternate-methods-of-mixing-text-and-music.fr.html#Alternate-methods-of-mixing-text-and-music">4.6 Alternative methods of mixing text and music</a> </li> </ul> </li> <li><a name="toc-Converting-from-other-formats-1" href="Converting-from-other-formats.fr.html#Converting-from-other-formats">5. Converting from other formats</a> <ul class="toc"> <li><a name="toc-Invoking-midi2ly-1" href="Invoking-midi2ly.fr.html#Invoking-midi2ly">5.1 Invoking <code>midi2ly</code></a> </li> <li><a name="toc-Invoking-musicxml2ly-1" href="Invoking-musicxml2ly.fr.html#Invoking-musicxml2ly">5.2 Invoking <code>musicxml2ly</code></a> </li> <li><a name="toc-Invoking-abc2ly-1" href="Invoking-abc2ly.fr.html#Invoking-abc2ly">5.3 Invoking <code>abc2ly</code></a> </li> <li><a name="toc-Invoking-etf2ly-1" href="Invoking-etf2ly.fr.html#Invoking-etf2ly">5.4 Invoking <code>etf2ly</code></a> </li> <li><a name="toc-Generating-LilyPond-files-1" href="Generating-LilyPond-files.fr.html#Generating-LilyPond-files">5.5 Generating LilyPond files</a> </li> </ul> </li> <li><a name="toc-GNU-Free-Documentation-License-1" href="GNU-Free-Documentation-License.fr.html#GNU-Free-Documentation-License">A. GNU Free Documentation License</a> </li> <li><a name="toc-LilyPond-index-1" href="LilyPond-index.fr.html#LilyPond-index">B. LilyPond index</a> </li> </ul> </div> </div> </body> </html>