From 646a5c1cbfd95873950a87b5f75d52073a967023 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Mon, 28 May 2018 19:12:29 +0000 Subject: Mon May 28 19:12:29 UTC 2018 a/pkgtools-15.0-noarch-13.txz: Rebuilt. installpkg: default line length for --terselength is the number of columns. removepkg: added --terse mode. upgradepkg: default line length for --terselength is the number of columns. upgradepkg: accept -option in addition to --option. ap/vim-8.1.0026-x86_64-1.txz: Upgraded. d/bison-3.0.5-x86_64-1.txz: Upgraded. e/emacs-26.1-x86_64-1.txz: Upgraded. kde/kopete-4.14.3-x86_64-8.txz: Rebuilt. Recompiled against libidn-1.35. n/conntrack-tools-1.4.5-x86_64-1.txz: Upgraded. n/libnetfilter_conntrack-1.0.7-x86_64-1.txz: Upgraded. n/libnftnl-1.1.0-x86_64-1.txz: Upgraded. n/links-2.16-x86_64-2.txz: Rebuilt. Rebuilt to enable X driver for -g mode. n/lynx-2.8.9dev.19-x86_64-1.txz: Upgraded. n/nftables-0.8.5-x86_64-1.txz: Upgraded. n/p11-kit-0.23.11-x86_64-1.txz: Upgraded. n/ulogd-2.0.7-x86_64-1.txz: Upgraded. n/whois-5.3.1-x86_64-1.txz: Upgraded. xap/network-manager-applet-1.8.12-x86_64-1.txz: Upgraded. xap/vim-gvim-8.1.0026-x86_64-1.txz: Upgraded. --- slackbook/html/vi-configuration.html | 96 ------------------------------------ 1 file changed, 96 deletions(-) delete mode 100644 slackbook/html/vi-configuration.html (limited to 'slackbook/html/vi-configuration.html') diff --git a/slackbook/html/vi-configuration.html b/slackbook/html/vi-configuration.html deleted file mode 100644 index e37b86dda..000000000 --- a/slackbook/html/vi-configuration.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - -vi Configuration - - - - - - - - - - - -
-

16.6 vi -Configuration

- -

Your vi clone of choice can be configured in several -ways.

- -

A variety of commands can be entered while in command mode to set up vi just how you like it. Depending on your editor, you can enable -features to make programming easier (like syntax hilighting, auto-indenting, and more), -set up macros to automake tasks, enable textual substitutions, and more.

- -

Almost all of these commands can be put into a configuration file in your home -directory. elvis expects a .exrc file, -while vim expects a .vimrc file. Most -of the setup commands that can be entered in command mode can be placed in the -configuration file. This includes setup information, textual substitutions, macros, and -more.

- -

Discussing all these options and the differences between the editors is quite an -involved subject. For more information, check out the man page or web site for your -preferred vi editor. Some editors (like vim) have extensive help within the editor that can be accessed with -the :help command, or something similar. You can also check out the -O'Reilly book Learning the vi Editor by -Lamb and Robbins.

- -

Many common programs in Linux will load up a text file in vi -by default. For example, editing your crontabs will start up vi -by default. If you do not like vi and would like another editor -to be started instead, all you need to do is set the VISUAL -environment variable to the editor you prefer. For information on setting environment -variables, see the section called Environment Variables in Chapter 8. If you want to make -sure that your editor will be the default every time you login, add the VISUAL setting to -your .bash_profile or .bashrc -files.

-
- - - - - -- cgit v1.2.3