<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://cblfs.nicewhileitlasted.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=89.172.198.154</id>
	<title>CBLFS - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://cblfs.nicewhileitlasted.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=89.172.198.154"/>
	<link rel="alternate" type="text/html" href="https://cblfs.nicewhileitlasted.com/Special:Contributions/89.172.198.154"/>
	<updated>2026-05-21T07:19:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>?title=Vim&amp;diff=12134</id>
		<title>Vim</title>
		<link rel="alternate" type="text/html" href="?title=Vim&amp;diff=12134"/>
		<updated>2007-11-25T10:16:23Z</updated>

		<summary type="html">&lt;p&gt;89.172.198.154: /* 64Bit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| style=&amp;quot;text-align: left; background-color: AliceBlue;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Download Source:&lt;br /&gt;
| http://ftp.at.vim.org/pub/vim/unix/vim-{{Vim-Version}}.tar.bz2&lt;br /&gt;
|-&lt;br /&gt;
!Translated Vim Messages:&lt;br /&gt;
| http://ftp.at.vim.org/pub/vim/extra/vim-{{Vim-Version}}-lang.tar.gz&lt;br /&gt;
|-&lt;br /&gt;
!Required Patch:&lt;br /&gt;
| http://svn.cross-lfs.org/svn/repos/patches/vim/vim-{{Vim-Version}}-fixes-23.patch&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
{{Package-Introduction|According to the Vim website, Vim is an advanced and highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems. For a primer on text manipulation see: http://gavin.brokentrain.net/projects/vimtips/vimtips.pdf |http://www.vim.org/}}&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
=== Required ===&lt;br /&gt;
* [[X Window System]]&lt;br /&gt;
=== Optional ===&lt;br /&gt;
* [[Gtk2]] or [[LessTif]] or [[Gtk1]]&lt;br /&gt;
* [[Python]]&lt;br /&gt;
* [[TCL]]&lt;br /&gt;
* [[Ruby]]&lt;br /&gt;
* [[GPM]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;If you recompile Vim to link against X, and your X libraries are not on the root partition, you will no longer have an editor for use in emergencies. You may choose to install an additional editor, not link Vim against X, or move the current vim executable to the /bin directory under a different name such as vi.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Non-Multilib ==&lt;br /&gt;
&lt;br /&gt;
If desired, unpack the translated messages archive:&lt;br /&gt;
&lt;br /&gt;
 tar -xf ../vim-{{Vim-Version}}-lang.tar.gz --strip-components=1&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 patch -Np1 -i ../vim-{{Vim-Version}}-fixes-23.patch &amp;amp;&amp;amp;&lt;br /&gt;
 echo &#039;#define SYS_VIMRC_FILE &amp;quot;/etc/vimrc&amp;quot;&#039; &amp;gt;&amp;gt; src/feature.h &amp;amp;&amp;amp;&lt;br /&gt;
 echo &#039;#define SYS_GVIMRC_FILE &amp;quot;/etc/gvimrc&amp;quot;&#039; &amp;gt;&amp;gt; src/feature.h &amp;amp;&amp;amp;&lt;br /&gt;
 ./configure --prefix=/usr --with-features=huge &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
== Multilib ==&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;This package does not provide any libraries so only one installation is needed.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== 32Bit ===&lt;br /&gt;
&lt;br /&gt;
If desired, unpack the translated messages archive:&lt;br /&gt;
&lt;br /&gt;
 tar -xf ../vim-{{Vim-Version}}-lang.tar.gz --strip-components=1&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 patch -Np1 -i ../vim-{{Vim-Version}}-fixes-23.patch &amp;amp;&amp;amp;&lt;br /&gt;
 echo &#039;#define SYS_VIMRC_FILE &amp;quot;/etc/vimrc&amp;quot;&#039; &amp;gt;&amp;gt; src/feature.h &amp;amp;&amp;amp;&lt;br /&gt;
 echo &#039;#define SYS_GVIMRC_FILE &amp;quot;/etc/gvimrc&amp;quot;&#039; &amp;gt;&amp;gt; src/feature.h &amp;amp;&amp;amp;&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILD32}&amp;quot; ./configure --prefix=/usr --with-features=huge \&lt;br /&gt;
     --x-libraries=${XORG_PREFIX}/usr/lib &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== N32 ===&lt;br /&gt;
&lt;br /&gt;
If desired, unpack the translated messages archive:&lt;br /&gt;
&lt;br /&gt;
 tar -xf ../vim-{{Vim-Version}}-lang.tar.gz --strip-components=1&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 patch -Np1 -i ../vim-{{Vim-Version}}-fixes-23.patch &amp;amp;&amp;amp;&lt;br /&gt;
 echo &#039;#define SYS_VIMRC_FILE &amp;quot;/etc/vimrc&amp;quot;&#039; &amp;gt;&amp;gt; src/feature.h &amp;amp;&amp;amp;&lt;br /&gt;
 echo &#039;#define SYS_GVIMRC_FILE &amp;quot;/etc/gvimrc&amp;quot;&#039; &amp;gt;&amp;gt; src/feature.h &amp;amp;&amp;amp;&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILDN32}&amp;quot; ./configure --prefix=/usr --with-features=huge \&lt;br /&gt;
     --x-libraries=${XORG_PREFIX}/usr/lib32 &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== 64Bit ===&lt;br /&gt;
&lt;br /&gt;
If desired, unpack the translated messages archive:&lt;br /&gt;
&lt;br /&gt;
 tar -xf ../vim-{{Vim-Version}}-lang.tar.gz --strip-components=1&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 patch -Np1 -i ../vim-{{Vim-Version}}-fixes-23.patch &amp;amp;&amp;amp;&lt;br /&gt;
 echo &#039;#define SYS_VIMRC_FILE &amp;quot;/etc/vimrc&amp;quot;&#039; &amp;gt;&amp;gt; src/feature.h &amp;amp;&amp;amp;&lt;br /&gt;
 echo &#039;#define SYS_GVIMRC_FILE &amp;quot;/etc/gvimrc&amp;quot;&#039; &amp;gt;&amp;gt; src/feature.h &amp;amp;&amp;amp;&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILD64}&amp;quot; ./configure --prefix=/usr --with-features=huge \&lt;br /&gt;
     --x-libraries=${XORG_PREFIX}/lib64 &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
&lt;br /&gt;
Create a desktop file if desired.&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; /usr/share/applications/gvim.desktop &amp;lt;&amp;lt; EOF&lt;br /&gt;
 [Desktop Entry]&lt;br /&gt;
 Name=gVim&lt;br /&gt;
 Version=7.0&lt;br /&gt;
 Comment=&amp;quot;The&amp;quot; UNIX editor, improved and GUIfied.&lt;br /&gt;
 Exec=gvim&lt;br /&gt;
 Icon=gvim&lt;br /&gt;
 Type=Application&lt;br /&gt;
 StartupNotify=true&lt;br /&gt;
 MimeType=text/plain;&lt;br /&gt;
 Categories=Application;Development;&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
Create a Vim resources file to set your options.&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; ~/.vimrc &amp;lt;&amp;lt; EOF&lt;br /&gt;
 &lt;br /&gt;
 &amp;quot; Begin ~/.vimrc&lt;br /&gt;
 &lt;br /&gt;
 set nocompatible &amp;quot; Get out of vi-compatible mode.&lt;br /&gt;
 filetype on &amp;quot; Detect the type of file.&lt;br /&gt;
 set history=1000 &amp;quot; How many lines of history to remember.&lt;br /&gt;
 set cf &amp;quot; Enable error files and error jumping.&lt;br /&gt;
 set ffs=unix &amp;quot; Support Unix file format.&lt;br /&gt;
 filetype plugin on &amp;quot; Load filetype plugins&lt;br /&gt;
 set viminfo+=! &amp;quot;&lt;br /&gt;
 set isk+=_,$,@,%,#,- &amp;quot; None of these should be word dividers, so make them not be.&lt;br /&gt;
 &lt;br /&gt;
 set background=dark &amp;quot; Use a dark background.&lt;br /&gt;
 syntax on &amp;quot; Syntax highlighting on&lt;br /&gt;
 colorscheme elflord &amp;quot; Set default color scheme.&lt;br /&gt;
 &lt;br /&gt;
 set ruler &amp;quot; Always show current positions along the bottom &lt;br /&gt;
 set cmdheight=2 &amp;quot; Make command bar 2 high.&lt;br /&gt;
 set number &amp;quot; Turn on line numbers.&lt;br /&gt;
 set lz &amp;quot; Do not redraw while running macros (much faster) (LazyRedraw).&lt;br /&gt;
 set backspace=2 &amp;quot; Make backspace work normally.&lt;br /&gt;
 set mouse=a &amp;quot; Use mouse everywhere.&lt;br /&gt;
 set report=0 &amp;quot; Tell me when anything is changed via :&lt;br /&gt;
 &lt;br /&gt;
 set showmatch &amp;quot; Show matching brackets.&lt;br /&gt;
 set mat=50 &amp;quot; How many tenths of a second to blink matching brackets.&lt;br /&gt;
 set lines=80 &amp;quot; 80 lines tall.&lt;br /&gt;
 set columns=160 &amp;quot; 160 cols wide.&lt;br /&gt;
 set so=10 &amp;quot; Keep 10 lines (top/bottom) for scope.&lt;br /&gt;
 set laststatus=2 &amp;quot; Always show the status line.&lt;br /&gt;
 &lt;br /&gt;
 set ai &amp;quot; Autoindent.&lt;br /&gt;
 set si &amp;quot; Smartindent.&lt;br /&gt;
 set cindent &amp;quot; Do c-style indenting.&lt;br /&gt;
 set tabstop=4 &amp;quot; Tab spacing (settings below are just to unify it).&lt;br /&gt;
 set softtabstop=4&lt;br /&gt;
 set shiftwidth=4&lt;br /&gt;
 set noexpandtab &amp;quot; Real tabs please!&lt;br /&gt;
 set nowrap &amp;quot; Do not wrap lines  &lt;br /&gt;
 set smarttab &amp;quot; Use tabs at the start of a line, spaces elsewhere.&lt;br /&gt;
 &lt;br /&gt;
 &amp;quot; End ~/.vimrc&lt;br /&gt;
 &lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
= Contents =&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Installed Programs:&lt;br /&gt;
| gview, gvim, gvimdiff, rgview, rgvim&lt;br /&gt;
|-&lt;br /&gt;
! Installed Libraries:&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
! Installed Directory:&lt;br /&gt;
| /usr/share/vim&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Short Descriptions ===&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! gview&lt;br /&gt;
| starts gvim in read-only mode. &lt;br /&gt;
|-&lt;br /&gt;
! gvim&lt;br /&gt;
| is the editor that runs under X and includes a GUI. &lt;br /&gt;
|-&lt;br /&gt;
! gvimdiff&lt;br /&gt;
| edits two or three versions of a file with gvim and shows the differences. &lt;br /&gt;
|-&lt;br /&gt;
! rgview&lt;br /&gt;
| is a restricted version of gview. &lt;br /&gt;
|-&lt;br /&gt;
! rgvim&lt;br /&gt;
| is a restricted version of gvim.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>89.172.198.154</name></author>
	</entry>
</feed>