Changeset e0d33ef for postlfs/config/vimrc.xml
- Timestamp:
- 05/30/2005 09:56:30 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 3aa07d1
- Parents:
- f009801
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/config/vimrc.xml
rf009801 re0d33ef 33 33 <application>Emacs</application> users!</para> 34 34 35 <para>The LFS book gives a basic <filename>vimrc</filename> file. Here, we 36 attempt to enhance this file. At startup, <command>vim</command> reads 37 <filename>/etc/vimrc</filename> and <filename>~/.vimrc</filename> (i.e., the 35 <para>The LFS book gives a basic <filename>vimrc</filename> file. Here, we 36 attempt to enhance this file. At startup, <command>vim</command> reads 37 <filename>/etc/vimrc</filename> and <filename>~/.vimrc</filename> (i.e., the 38 38 global <filename>vimrc</filename> and the user-specific one.). Note that this is 39 39 only true if you compiled <application>vim</application> using LFS-3.1 onwards. 40 Prior to this, the global <filename>vimrc</filename> was 40 Prior to this, the global <filename>vimrc</filename> was 41 41 <filename>/usr/share/vim/vimrc</filename>.</para> 42 42 43 <para>Here is a slightly expanded <filename>.vimrc</filename> that you can 44 put in <filename>~/.vimrc</filename> to provide user specific effects. Of 45 course, if you put it into <filename>/etc/skel/.vimrc</filename> instead, it 43 <para>Here is a slightly expanded <filename>.vimrc</filename> that you can 44 put in <filename>~/.vimrc</filename> to provide user specific effects. Of 45 course, if you put it into <filename>/etc/skel/.vimrc</filename> instead, it 46 46 will be made available to users you add to the system later. You can also copy 47 the file from <filename>/etc/skel/.vimrc</filename> to the home directory of 48 users already on the system, like root. Be sure to set permissions, owner, and 49 group if you do copy anything directly from 47 the file from <filename>/etc/skel/.vimrc</filename> to the home directory of 48 users already on the system, like root. Be sure to set permissions, owner, and 49 group if you do copy anything directly from 50 50 <filename class="directory">/etc/skel</filename>.</para> 51 51 … … 58 58 " End .vimrc</literal></screen> 59 59 60 <para>A FAQ on the LFS mailing lists regards the comment tags in 61 <filename>vimrc</filename>. Note that they are " instead of the more 62 usual # or //. This is correct, the syntax for 60 <para>A FAQ on the LFS mailing lists regards the comment tags in 61 <filename>vimrc</filename>. Note that they are " instead of the more 62 usual # or //. This is correct, the syntax for 63 63 <filename>vimrc</filename> is slightly unusual.</para> 64 64 … … 67 67 68 68 <itemizedlist> 69 <!-- 69 <!-- 70 70 <listitem> 71 71 <para><option>set nocompatible</option> : This option … … 76 76 </listitem> 77 77 <listitem> 78 <para><option>set bs=2</option>: This influences the behavior 78 <para><option>set bs=2</option>: This influences the behavior 79 79 of the backspace option. It is fairly complex so see <command>:help 'bs' 80 80 </command> for more details.</para> … … 82 82 --> 83 83 <listitem> 84 <para><option>set columns=80</option>: This simply sets the 84 <para><option>set columns=80</option>: This simply sets the 85 85 number of columns used on the screen.</para> 86 86 </listitem> 87 <!-- 87 <!-- 88 88 <listitem> 89 89 <para><option>set background=dark</option>: This tells 90 <command>vim</command> to use colors which look good on a dark 90 <command>vim</command> to use colors which look good on a dark 91 91 background.</para> 92 92 </listitem> 93 93 --> 94 94 <listitem> 95 <para><option>set wrapmargin=8</option>: This is the number of 95 <para><option>set wrapmargin=8</option>: This is the number of 96 96 characters from the right window border where wrapping starts.</para> 97 97 </listitem> 98 <!-- 98 <!-- 99 99 <listitem> 100 100 <para><option>syntax on</option>: Enables … … 109 109 110 110 <para>More information on the <emphasis>many</emphasis> 111 <command>vim</command> options can be found by reading the help 112 inside <command>vim</command> itself. Do this by typing 113 <command>:</command><option>help</option> in 114 <command>vim</command> to get the general help, or by typing 115 <command>:</command><option>help usr_toc.txt</option> to view 111 <command>vim</command> options can be found by reading the help 112 inside <command>vim</command> itself. Do this by typing 113 <command>:</command><option>help</option> in 114 <command>vim</command> to get the general help, or by typing 115 <command>:</command><option>help usr_toc.txt</option> to view 116 116 the User Manual Table of Contents.</para> 117 117
Note:
See TracChangeset
for help on using the changeset viewer.