Changeset dbb3c5c
- Timestamp:
- 09/28/2003 02:29:25 AM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 6.0, 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/inkscape-core-mods, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- f27667f
- Parents:
- c668bd4
- Location:
- postlfs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/config/vimrc.xml
rc668bd4 rdbb3c5c 34 34 <screen>" Begin .vimrc 35 35 36 set nocompatible37 36 set bs=2 38 set columns= 8037 set columns=72 39 38 set background=dark 40 set tabstop=841 set wrapmargin=842 set nobk43 39 syntax on 44 40 set ruler 45 set noexpandtab46 41 47 42 " End .vimrc</screen> … … 55 50 options in this example file means here:</para> 56 51 <itemizedlist> 57 <listitem><para><userinput>set nocompatible</userinput> : This option58 stops <command>vim</command> from behaving in a strongly <command>vi59 </command>-compatible way. It should be at the start of any <filename>vimrc60 </filename> file as it can affect lots of other options which you may want to61 override.</para></listitem>62 52 63 53 <listitem><para><userinput>set bs=2</userinput> : This influences the behavior … … 65 55 </userinput> for more details.</para></listitem> 66 56 67 <listitem><para><userinput>set columns= 80</userinput> : This simply sets the57 <listitem><para><userinput>set columns=72</userinput> : This simply sets the 68 58 number of columns used on the screen.</para></listitem> 69 59 … … 71 61 <command>vim</command> to use colors which look good on a dark 72 62 background.</para></listitem> 73 74 <listitem><para><userinput>set tabstop=8</userinput> : The number of spaces75 which a tabstop takes.</para></listitem>76 77 <listitem><para><userinput>set wrapmargin=8</userinput> : This is the number of78 characters from the right window border where wrapping starts.</para>79 </listitem>80 81 <listitem><para><userinput>set nobk</userinput> : This stops <command>vim82 </command> from creating a backup before overwriting a file.</para></listitem>83 63 84 64 <listitem><para><userinput>syntax on</userinput> : Enables … … 89 69 the screen.</para></listitem> 90 70 91 <listitem><para><userinput>set noexpandtab</userinput> : This makes92 <command>vim</command> insert tabs as tab characters instead of as a set of93 spaces.</para></listitem>94 71 95 72 </itemizedlist> -
postlfs/editors/nano/nano-config.xml
rc668bd4 rdbb3c5c 4 4 <sect3><title>Config files</title> 5 5 <para><filename>/etc/nanorc</filename>, <filename>~/.nanorc</filename></para> 6 7 <para>Example Configuration</para> 8 9 <screen><userinput>set autoindent 10 set const 11 set fill 72 12 set historylog 13 set multibuffer 14 set nohelp 15 set regexp 16 set smooth 17 set suspend</userinput></screen> 18 19 <para>Another example is in the source directory in the 20 <filename>nanorc.sample</filename> file. It includes color 21 configurations and has some documentation included in the 22 comments.</para> 6 23 </sect3> 7 8 24 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.