[b5951ec] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[b5951ec] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[6c3fd4d] | 7 | <!-- only for initial releases of a new version
|
---|
| 8 | <!ENTITY vim-download-http "http://ftp.vim.org/vim/unix/vim-&vim-version;.tar.bz2">-->
|
---|
[996f3953] | 9 | <!ENTITY vim-download-http "&sources-anduin-http;/vim/vim-&vim-version;.tar.xz">
|
---|
[83ec6939] | 10 | <!ENTITY vim-download-ftp " ">
|
---|
[1f9fd2d] | 11 | <!ENTITY vim-md5sum "939fdfad067dec0e67bc4f8ad219cb4e">
|
---|
[996f3953] | 12 | <!ENTITY vim-size "10 MB">
|
---|
[9501a015] | 13 | <!ENTITY vim-buildsize "112 MB (add 61 MB for tests)">
|
---|
[a8307df] | 14 | <!ENTITY vim-time "0.3 SBU (with parallelism=4; add 2.2 SBU for tests)">
|
---|
[b5951ec] | 15 | ]>
|
---|
| 16 |
|
---|
[28badf4] | 17 | <sect1 id="vim" xreflabel="Vim-&vim-version;">
|
---|
[0ec75653] | 18 | <?dbhtml filename="vim.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>Vim-&vim-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="vim">
|
---|
| 27 | <primary sortas="a-Vim">Vim</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Vim</title>
|
---|
| 32 |
|
---|
[f716ef4] | 33 | <para>
|
---|
| 34 | The <application>Vim</application> package, which is an
|
---|
| 35 | abbreviation for VI IMproved, contains a <command>vi</command>
|
---|
| 36 | clone with extra features as compared to the original
|
---|
| 37 | <command>vi</command>.
|
---|
| 38 | </para>
|
---|
| 39 |
|
---|
| 40 | <para>
|
---|
| 41 | The default LFS instructions install <application>vim</application>
|
---|
| 42 | as a part of the base system. If you would prefer to link
|
---|
| 43 | <application>vim</application> against <application>X</application>,
|
---|
| 44 | you should recompile <application>vim</application> to enable GUI mode.
|
---|
| 45 | There is no need for special instructions since
|
---|
| 46 | <application>X</application> support is automatically detected.
|
---|
| 47 | </para>
|
---|
| 48 |
|
---|
| 49 | <note>
|
---|
| 50 | <para>
|
---|
[9fc3125] | 51 | The version of vim changes daily. To get the latest
|
---|
[f716ef4] | 52 | version, go to <ulink url="https://github.com/vim/vim/releases">
|
---|
| 53 | https://github.com/vim/vim/releases</ulink>.
|
---|
| 54 | </para>
|
---|
| 55 | </note>
|
---|
[14430302] | 56 |
|
---|
[7107b6ef] | 57 | &lfs111_checked;
|
---|
[1db225b9] | 58 |
|
---|
[0ec75653] | 59 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 60 | <itemizedlist spacing="compact">
|
---|
| 61 | <listitem>
|
---|
[f716ef4] | 62 | <para>
|
---|
| 63 | Download (HTTP): <ulink url="&vim-download-http;"/>
|
---|
| 64 | </para>
|
---|
[0ec75653] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[f716ef4] | 67 | <para>
|
---|
| 68 | Download (FTP): <ulink url="&vim-download-ftp;"/>
|
---|
| 69 | </para>
|
---|
[0ec75653] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[f716ef4] | 72 | <para>
|
---|
| 73 | Download MD5 sum: &vim-md5sum;
|
---|
| 74 | </para>
|
---|
[0ec75653] | 75 | </listitem>
|
---|
| 76 | <listitem>
|
---|
[f716ef4] | 77 | <para>
|
---|
| 78 | Download size: &vim-size;
|
---|
| 79 | </para>
|
---|
[0ec75653] | 80 | </listitem>
|
---|
| 81 | <listitem>
|
---|
[f716ef4] | 82 | <para>
|
---|
| 83 | Estimated disk space required: &vim-buildsize;
|
---|
| 84 | </para>
|
---|
[0ec75653] | 85 | </listitem>
|
---|
| 86 | <listitem>
|
---|
[f716ef4] | 87 | <para>
|
---|
| 88 | Estimated build time: &vim-time;
|
---|
| 89 | </para>
|
---|
[0ec75653] | 90 | </listitem>
|
---|
| 91 | </itemizedlist>
|
---|
| 92 |
|
---|
[3493b1f] | 93 | <bridgehead renderas="sect3">Vim Dependencies</bridgehead>
|
---|
[0ec75653] | 94 |
|
---|
| 95 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[668844b] | 96 | <para role="recommended">
|
---|
| 97 | <xref linkend="x-window-system"/> and
|
---|
[0c25796] | 98 | <xref linkend="gtk3"/>
|
---|
[668844b] | 99 | </para>
|
---|
[0ec75653] | 100 |
|
---|
| 101 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[3b10fa8] | 102 | <para role="optional">
|
---|
[646a42e] | 103 | <xref linkend="gpm"/>,
|
---|
| 104 | <xref linkend="lua"/>,
|
---|
[4c72ea0b] | 105 | <!-- can use python3: don't advertise python2
|
---|
[4716d52] | 106 | <xref linkend="python2"/>,
|
---|
[4c72ea0b] | 107 | --> <xref linkend="rsync"/>, and
|
---|
| 108 | <xref linkend="ruby"/>
|
---|
[3b10fa8] | 109 | </para>
|
---|
[0ec75653] | 110 |
|
---|
[3597eb6] | 111 | <para condition="html" role="usernotes">User Notes:
|
---|
| 112 | <ulink url="&blfs-wiki;/vim"/></para>
|
---|
| 113 |
|
---|
[0ec75653] | 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="installation">
|
---|
| 117 | <title>Installation of Vim</title>
|
---|
| 118 |
|
---|
| 119 | <note>
|
---|
[f716ef4] | 120 | <para>
|
---|
| 121 | If you recompile <application>Vim</application> to link against
|
---|
| 122 | <application>X</application> and your <application>X</application>
|
---|
| 123 | libraries are not on the root partition, you will no longer have an
|
---|
| 124 | editor for use in emergencies. You may choose to install an additional
|
---|
| 125 | editor, not link <application>Vim</application> against
|
---|
| 126 | <application>X</application>, or move the current <command>vim</command>
|
---|
| 127 | executable to the <filename class="directory">/bin</filename> directory
|
---|
| 128 | under a different name such as <filename>vi</filename>.
|
---|
| 129 | </para>
|
---|
[0ec75653] | 130 | </note>
|
---|
[cdae315] | 131 | <!--
|
---|
[eb7de89] | 132 | <para>
|
---|
| 133 | First, if you are building the Lua interpreter for VIM, adapt it to an
|
---|
| 134 | API change in lua-5.4.0:
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
[34a065c] | 137 | <screen><userinput remap="pre">sed -i '461 s/static int/int/' src/if_lua.c</userinput></screen>
|
---|
[cdae315] | 138 | -->
|
---|
[f716ef4] | 139 | <para>
|
---|
| 140 | Install <application>Vim</application> by running the following
|
---|
| 141 | commands:
|
---|
| 142 | </para>
|
---|
[b5951ec] | 143 |
|
---|
[ac9d47a7] | 144 | <note>
|
---|
| 145 | <para>
|
---|
[4c72ea0b] | 146 | If you intend to run the tests and have not installed Xorg in /usr,
|
---|
| 147 | append LDFLAGS='-L$XORG_PREFIX/lib' to the configure line below.
|
---|
[ac9d47a7] | 148 | </para>
|
---|
| 149 | </note>
|
---|
| 150 |
|
---|
[d659cbe] | 151 | <screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h &&
|
---|
[b5951ec] | 152 | echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h &&
|
---|
[646a42e] | 153 |
|
---|
[0c25796] | 154 | ./configure --prefix=/usr \
|
---|
[1eb874ce] | 155 | --with-features=huge \
|
---|
[0c25796] | 156 | --enable-gui=gtk3 \
|
---|
[1eb874ce] | 157 | --with-tlib=ncursesw &&
|
---|
[0ec75653] | 158 | make</userinput></screen>
|
---|
| 159 |
|
---|
[ae44cab] | 160 | <note>
|
---|
| 161 | <para>
|
---|
| 162 | If the global configuration file <filename>/etc/vimrc</filename>
|
---|
| 163 | references the <envar>VIMRUNTIME</envar> environment variable, some
|
---|
| 164 | tests may complain about being unable to find the corresponding
|
---|
| 165 | directory and wait for user input. If this is the case, this file
|
---|
| 166 | should be saved and removed before running the tests.
|
---|
| 167 | </para>
|
---|
| 168 | </note>
|
---|
| 169 |
|
---|
[f716ef4] | 170 | <para>
|
---|
[ae44cab] | 171 | To test the results, issue: <command>make -j1 test</command>.
|
---|
[f716ef4] | 172 | Even if one of the tests fails to produce the file
|
---|
| 173 | <filename>test.out</filename> in <filename
|
---|
| 174 | class="directory">src/testdir</filename>, the remaining tests will
|
---|
[ae44cab] | 175 | still be executed. If all goes well, the log will report
|
---|
| 176 | <literal>ALL DONE</literal>. Some tests labelled as
|
---|
| 177 | <quote>flaky</quote> may fail occasionally and can be ignored.
|
---|
[1ec7ed5] | 178 | The tests are known to fail if the output is redirected to a file,
|
---|
| 179 | and also if they are run in a 'screen' session.
|
---|
[f716ef4] | 180 | </para>
|
---|
[83d6546] | 181 |
|
---|
[ae44cab] | 182 | <note>
|
---|
| 183 | <para>
|
---|
| 184 | Some color tests expect to be executed under the
|
---|
| 185 | <command>xterm</command> terminal emulator.
|
---|
| 186 | </para>
|
---|
| 187 | </note>
|
---|
| 188 |
|
---|
[f716ef4] | 189 | <para>
|
---|
| 190 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 191 | </para>
|
---|
[0ec75653] | 192 |
|
---|
| 193 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 194 |
|
---|
[f716ef4] | 195 | <para>
|
---|
| 196 | By default, Vim's documentation is installed in <filename
|
---|
| 197 | class="directory">/usr/share/vim</filename>. The following symlink allows
|
---|
| 198 | the documentation to be accessed via <filename
|
---|
| 199 | class="directory">/usr/share/doc/vim-&vim-version;</filename>, making it
|
---|
| 200 | consistent with the location of documentation for other packages:
|
---|
| 201 | </para>
|
---|
[841a93f] | 202 |
|
---|
[8558044] | 203 | <!-- When updating, be sure to change the vim-majmin entity for the
|
---|
[5f4e73e] | 204 | proper 'vimxx' unpacked directory -->
|
---|
[841a93f] | 205 |
|
---|
[e042e4ce] | 206 | <screen role="root"><userinput>ln -snfv ../vim/vim&vim-majmin;/doc /usr/share/doc/vim-&vim-version;</userinput></screen>
|
---|
[95799899] | 207 |
|
---|
[f716ef4] | 208 | <para>
|
---|
| 209 | If you wish to update the runtime files, issue the
|
---|
| 210 | following command (requires <xref linkend="rsync"/>):
|
---|
| 211 | </para>
|
---|
[fd7e0ed6] | 212 |
|
---|
[dc69310d] | 213 | <screen><userinput>rsync -avzcP --exclude="/dos/" --exclude="/spell/" \
|
---|
[32d0e29] | 214 | ftp.nluug.nl::Vim/runtime/ ./runtime/</userinput></screen>
|
---|
[6e11352] | 215 |
|
---|
[f716ef4] | 216 | <para>
|
---|
| 217 | To install the runtime files and regenerate the
|
---|
| 218 | <filename>tags</filename> file, as the
|
---|
| 219 | <systemitem class="username">root</systemitem> user issue:
|
---|
| 220 | </para>
|
---|
[6e11352] | 221 |
|
---|
[2202183] | 222 | <screen role="root"><userinput>make -C src installruntime &&
|
---|
| 223 | vim -c ":helptags /usr/share/doc/vim-&vim-version;" -c ":q"</userinput></screen>
|
---|
[6e11352] | 224 |
|
---|
[0ec75653] | 225 | </sect2>
|
---|
| 226 |
|
---|
| 227 | <sect2 role="commands">
|
---|
| 228 | <title>Command Explanations</title>
|
---|
| 229 |
|
---|
[f716ef4] | 230 | <para>
|
---|
| 231 | <parameter>--with-features=huge</parameter>: This switch enables all
|
---|
| 232 | the additional features available in <application>Vim</application>,
|
---|
| 233 | including support for multibyte characters.
|
---|
| 234 | </para>
|
---|
[0ec75653] | 235 |
|
---|
[1eb874ce] | 236 | <para>
|
---|
| 237 | <parameter>--with-tlib=ncursesw</parameter>: This switch forces Vim to
|
---|
| 238 | link against the <filename class="libraryfile">libncursesw</filename>
|
---|
| 239 | library.
|
---|
| 240 | </para>
|
---|
| 241 |
|
---|
[f716ef4] | 242 | <para>
|
---|
| 243 | <option>--enable-gui=no</option>: This will prevent compilation of the
|
---|
| 244 | GUI. <application>Vim</application> will still link against
|
---|
| 245 | <application>X</application>, so that some features such as the
|
---|
| 246 | client-server model or the x11-selection (clipboard) are still available.
|
---|
| 247 | </para>
|
---|
[9f12e36] | 248 |
|
---|
[f716ef4] | 249 | <para>
|
---|
| 250 | <option>--without-x</option>: If you prefer not to link
|
---|
| 251 | <application>Vim</application> against <application>X</application>, use
|
---|
| 252 | this switch.
|
---|
| 253 | </para>
|
---|
[0ec75653] | 254 |
|
---|
[f716ef4] | 255 | <para>
|
---|
[eb7de89] | 256 | <option>--enable-luainterp</option>,
|
---|
[f716ef4] | 257 | <option>--enable-perlinterp</option>,
|
---|
[4c72ea0b] | 258 | <option>--enable-python3interp=dynamic</option>,
|
---|
| 259 | <option>--enable-tclinterp --with-tclsh=tclsh</option>,
|
---|
[f716ef4] | 260 | <option>--enable-rubyinterp</option>:
|
---|
[4c72ea0b] | 261 | These options include the Lua, Perl, Python3, Tcl, or Ruby interpreters
|
---|
| 262 | that allow using other application code in <application>vim</application>
|
---|
| 263 | scripts. All the <option>--enable-...</option> options can accept
|
---|
| 264 | <option>=dynamic</option> to dynamically load the interpreter when
|
---|
| 265 | needed. This is required for <application>Python 3</application> to
|
---|
| 266 | prevent segmentation faults. For <application>tcl</application>,
|
---|
| 267 | it is necessary to indicate the name of the <command>tclsh</command>
|
---|
| 268 | executable, since <command>configure</command> only searches versioned
|
---|
| 269 | names with old versions.
|
---|
[f716ef4] | 270 | </para>
|
---|
[864b24de] | 271 |
|
---|
[95799899] | 272 | </sect2>
|
---|
| 273 |
|
---|
| 274 | <sect2 role="configuration">
|
---|
| 275 | <title>Configuring Vim</title>
|
---|
| 276 |
|
---|
| 277 | <sect3 id='vim-config'>
|
---|
| 278 | <title>Config Files</title>
|
---|
| 279 |
|
---|
[f716ef4] | 280 | <para>
|
---|
| 281 | <filename>/etc/vimrc</filename> and
|
---|
| 282 | <filename>~/.vimrc</filename>
|
---|
| 283 | </para>
|
---|
[95799899] | 284 |
|
---|
| 285 | <indexterm zone="vim vim-config">
|
---|
| 286 | <primary sortas="e-etc-vimrc">/etc/vimrc</primary>
|
---|
| 287 | </indexterm>
|
---|
| 288 |
|
---|
| 289 | <indexterm zone="vim vim-config">
|
---|
| 290 | <primary sortas="e-AA.vimrc">~/.vimrc</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 |
|
---|
| 293 | </sect3>
|
---|
[ae44cab] | 294 | <!-- there are now desktop files shipped with the package
|
---|
[7a2aeb5] | 295 | <sect3 id='vim-desktop'>
|
---|
| 296 | <title>Desktop File</title>
|
---|
| 297 |
|
---|
| 298 | <para>
|
---|
| 299 | If desired, create a menu entry for graphical vim,
|
---|
| 300 | <filename>gvim.desktop</filename>, as the <systemitem
|
---|
| 301 | class="username">root</systemitem> user
|
---|
| 302 | </para>
|
---|
| 303 |
|
---|
| 304 | <screen role="root"><userinput>cat > /usr/share/applications/gvim.desktop << "EOF"
|
---|
| 305 | <literal>[Desktop Entry]
|
---|
| 306 | Name=GVim Text Editor
|
---|
| 307 | Comment=Edit text files
|
---|
| 308 | Comment[pt_BR]=Edite arquivos de texto
|
---|
| 309 | TryExec=gvim
|
---|
| 310 | Exec=gvim -f %F
|
---|
| 311 | Terminal=false
|
---|
| 312 | Type=Application
|
---|
| 313 | Icon=gvim.png
|
---|
| 314 | Categories=Utility;TextEditor;
|
---|
| 315 | StartupNotify=true
|
---|
| 316 | MimeType=text/plain;</literal>
|
---|
| 317 | EOF</userinput></screen>
|
---|
| 318 |
|
---|
| 319 | </sect3>
|
---|
[ae44cab] | 320 | -->
|
---|
[95799899] | 321 | <sect3 id='vim-init'>
|
---|
| 322 | <title>Configuration Information</title>
|
---|
| 323 |
|
---|
[f716ef4] | 324 | <para>
|
---|
| 325 | <application>Vim</application> has an integrated spell checker
|
---|
[ae44cab] | 326 | which you can enable by issuing the following in a vim window:
|
---|
[6e11352] | 327 | </para>
|
---|
[864b24de] | 328 |
|
---|
[6e11352] | 329 | <screen><literal>:setlocal spell spelllang=ru</literal></screen>
|
---|
[fd7e0ed6] | 330 |
|
---|
[f716ef4] | 331 | <para>
|
---|
| 332 | This setting will enable spell checking for the Russian
|
---|
| 333 | language for the current session.
|
---|
| 334 | </para>
|
---|
[864b24de] | 335 |
|
---|
[f716ef4] | 336 | <para>
|
---|
| 337 | By default, <application>Vim</application> only installs spell
|
---|
| 338 | files for the English language. If a spell file is not available for
|
---|
| 339 | a language, then <application>Vim</application> will call the
|
---|
| 340 | <filename>$VIMRUNTIME/plugin/spellfile.vim</filename> plugin and will
|
---|
| 341 | try to obtain the *.spl and optionally *.sug from the vim ftp server,
|
---|
| 342 | by using the <filename>$VIMRUNTIME/plugin/netrwPlugin.vim</filename>
|
---|
| 343 | plugin.
|
---|
| 344 | </para>
|
---|
[864b24de] | 345 |
|
---|
[f716ef4] | 346 | <!-- When updating, be sure to change the line below for the proper 'vimxx'
|
---|
| 347 | unpacked directory -->
|
---|
| 348 | <para>
|
---|
| 349 | Alternatively you can manually download the *.spl and *.sug files
|
---|
| 350 | from: <ulink url="ftp://ftp.vim.org/pub/vim/runtime/spell/"/> and save
|
---|
| 351 | them to <filename class="directory"> ~/.vim/spell </filename> or in
|
---|
| 352 | <filename
|
---|
| 353 | class="directory">/usr/share/vim/vim&vim-majmin;/spell/</filename>.
|
---|
| 354 | </para>
|
---|
[864b24de] | 355 |
|
---|
[f716ef4] | 356 | <para>
|
---|
| 357 | To find out what's new in <application>Vim-&vim-version;</application>
|
---|
| 358 | issue the following command:
|
---|
| 359 | </para>
|
---|
[95799899] | 360 |
|
---|
[6e11352] | 361 | <screen><literal>:help version-&vim-version;</literal></screen>
|
---|
[95799899] | 362 |
|
---|
[f716ef4] | 363 | <para>
|
---|
| 364 | For additional information on setting up
|
---|
| 365 | <application>Vim</application> configuration files, see <xref
|
---|
| 366 | linkend="postlfs-config-vimrc"/> and <ulink
|
---|
[1ec7ed5] | 367 | url="https://vim.fandom.com/wiki/Example_vimrc"/>.
|
---|
[f716ef4] | 368 | </para>
|
---|
[95799899] | 369 |
|
---|
| 370 | </sect3>
|
---|
| 371 |
|
---|
[0ec75653] | 372 | </sect2>
|
---|
| 373 |
|
---|
| 374 | <sect2 role="content">
|
---|
| 375 | <title>Contents</title>
|
---|
| 376 |
|
---|
[f716ef4] | 377 | <para>
|
---|
| 378 | A list of the reinstalled files, along with their short
|
---|
[4c24eb0a] | 379 | descriptions can be found in the
|
---|
| 380 | <ulink url="&lfs-root;/chapter08/vim.html#contents-vim">LFS Vim
|
---|
| 381 | Installation Instructions</ulink>.
|
---|
[f716ef4] | 382 | </para>
|
---|
[0ec75653] | 383 |
|
---|
| 384 | <segmentedlist>
|
---|
| 385 | <segtitle>Installed Programs</segtitle>
|
---|
| 386 | <segtitle>Installed Libraries</segtitle>
|
---|
| 387 | <segtitle>Installed Directory</segtitle>
|
---|
| 388 |
|
---|
| 389 | <seglistitem>
|
---|
[0c25796] | 390 | <seg>gview, gvim, gvimdiff, gvimtutor, rgview, and rgvim</seg>
|
---|
[0ec75653] | 391 | <seg>None</seg>
|
---|
| 392 | <seg>/usr/share/vim</seg>
|
---|
| 393 | </seglistitem>
|
---|
| 394 | </segmentedlist>
|
---|
| 395 |
|
---|
| 396 | <variablelist>
|
---|
| 397 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 398 | <?dbfo list-presentation="list"?>
|
---|
| 399 | <?dbhtml list-presentation="table"?>
|
---|
| 400 |
|
---|
| 401 | <varlistentry id="gview">
|
---|
| 402 | <term><command>gview</command></term>
|
---|
| 403 | <listitem>
|
---|
[f716ef4] | 404 | <para>
|
---|
[4c24eb0a] | 405 | starts <command>gvim</command> in read-only mode
|
---|
[f716ef4] | 406 | </para>
|
---|
[0ec75653] | 407 | <indexterm zone="vim gview">
|
---|
| 408 | <primary sortas="b-gview">gview</primary>
|
---|
| 409 | </indexterm>
|
---|
| 410 | </listitem>
|
---|
| 411 | </varlistentry>
|
---|
| 412 |
|
---|
| 413 | <varlistentry id="gvim">
|
---|
| 414 | <term><command>gvim</command></term>
|
---|
| 415 | <listitem>
|
---|
[f716ef4] | 416 | <para>
|
---|
| 417 | is the editor that runs under <application>X</application>
|
---|
[4c24eb0a] | 418 | and includes a GUI
|
---|
[f716ef4] | 419 | </para>
|
---|
[0ec75653] | 420 | <indexterm zone="vim gvim">
|
---|
| 421 | <primary sortas="b-gvim">gvim</primary>
|
---|
| 422 | </indexterm>
|
---|
| 423 | </listitem>
|
---|
| 424 | </varlistentry>
|
---|
| 425 |
|
---|
| 426 | <varlistentry id="gvimdiff">
|
---|
| 427 | <term><command>gvimdiff</command></term>
|
---|
| 428 | <listitem>
|
---|
[f716ef4] | 429 | <para>
|
---|
| 430 | edits two or three versions of a file with
|
---|
[4c24eb0a] | 431 | <command>gvim</command> and shows the differences
|
---|
[f716ef4] | 432 | </para>
|
---|
[0ec75653] | 433 | <indexterm zone="vim gvimdiff">
|
---|
| 434 | <primary sortas="b-gvimdiff">gvimdiff</primary>
|
---|
| 435 | </indexterm>
|
---|
| 436 | </listitem>
|
---|
| 437 | </varlistentry>
|
---|
| 438 |
|
---|
[0c25796] | 439 | <varlistentry id="gvimtutor">
|
---|
| 440 | <term><command>gvimtutor</command></term>
|
---|
| 441 | <listitem>
|
---|
[f716ef4] | 442 | <para>
|
---|
| 443 | teaches the basic keys and commands of
|
---|
[4c24eb0a] | 444 | <command>gvim</command>
|
---|
[f716ef4] | 445 | </para>
|
---|
[0c25796] | 446 | <indexterm zone="vim gvimtutor">
|
---|
| 447 | <primary sortas="b-gvimtutor">gvimtutor</primary>
|
---|
| 448 | </indexterm>
|
---|
| 449 | </listitem>
|
---|
| 450 | </varlistentry>
|
---|
| 451 |
|
---|
[0ec75653] | 452 | <varlistentry id="rgview">
|
---|
| 453 | <term><command>rgview</command></term>
|
---|
| 454 | <listitem>
|
---|
[f716ef4] | 455 | <para>
|
---|
[4c24eb0a] | 456 | is a restricted version of <command>gview</command>
|
---|
[f716ef4] | 457 | </para>
|
---|
[0ec75653] | 458 | <indexterm zone="vim rgview">
|
---|
| 459 | <primary sortas="b-rgview">rgview</primary>
|
---|
| 460 | </indexterm>
|
---|
| 461 | </listitem>
|
---|
| 462 | </varlistentry>
|
---|
| 463 |
|
---|
| 464 | <varlistentry id="rgvim">
|
---|
| 465 | <term><command>rgvim</command></term>
|
---|
| 466 | <listitem>
|
---|
[f716ef4] | 467 | <para>
|
---|
[4c24eb0a] | 468 | is a restricted version of <command>gvim</command>
|
---|
[f716ef4] | 469 | </para>
|
---|
[0ec75653] | 470 | <indexterm zone="vim gvim">
|
---|
| 471 | <primary sortas="b-gvim">gvim</primary>
|
---|
| 472 | </indexterm>
|
---|
| 473 | </listitem>
|
---|
| 474 | </varlistentry>
|
---|
| 475 |
|
---|
| 476 | </variablelist>
|
---|
| 477 |
|
---|
| 478 | </sect2>
|
---|
[f45b1953] | 479 |
|
---|
| 480 | </sect1>
|
---|