Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Vi syntax highlighting settings     - [Errno 4] IOError: [Errno ftp error] with yum appears as a workaround (Linux)

- LVM management parameters commonly used commands explained in detail (Linux)

- Create RAID 1 (mirroring) with two disks (Linux)

- ImageMagick Tutorial: How to cut images in Linux command line (Linux)

- Firewall Configuration Red Hat Enterprise Linux 4 (Linux)

- Shell generated using automated configuration script Orabbix (Database)

- Some Linux networking tools you might not know (Linux)

- Keepalived achieve high availability Nginx Reverse Proxy (Server)

- Java coding conventions (Programming)

- How to improve the performance of Ruby On Rails (Linux)

- Linux monitoring tools introduced series --smem (Server)

- Manually create Oracle Database Explanations (Database)

- Steps to build MPICH2 development environment on CentOS 6.4 (Linux)

- CentOS 6.6 running level (Linux)

- Using Ruby to build a simple HTTP service and sass environment (Server)

- Ubuntu the ARP (arptables) (Linux)

- Adjust the size of the hard disk VirtualBox (Linux)

- Detailed PHP code optimization [section] (explain reasons) (Programming)

- Use NTFS-3G to mount NTFS partitions under Linux U disk and removable hard disk (Linux)

- How to deploy Icinga server (Server)

  Vi syntax highlighting settings
  Add Date : 2018-11-21      
  Because he often do some C / C ++ is a small problem. Very inconvenient to use gedit drops when the test each machine, so just get to use Vi. Therefore, it first set about to suit my needs.

First, let Vi syntax highlighting

vi ~ / .vimrc
If not the new
Adding syntax on

If an error
E319: Sorry, the command is not available in this version: syntax enable
  Press ENTER or type command to continue
It may be tiny version of vim. You can re-install vim
"Sudo apt-get install vim"

My linux version
Linux version 2.6.18-6-686 (Debian 2.6.18.dfsg.1-18etch1) (waldi@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) # 1 SMP Sun Feb 10 22:11:31 UTC 2008
Initially, it was to use netinstall version installed, it is likely to be tiny version

Then a number of other settings
set tabstop = 4
set softtabstop = 4
set shiftwidth = 4
set autoindent
set cindent
. Set cinoptions = {0,1s, t0, n-2, p2s, (03s, = 5s,> 1s, = 1s,: 1s
set nu // automatically display line numbers
set hlsearch // search results highlighted
- Daemon under Linux (Linux)
- Linux systems use IP masquerading anti-hacker (Linux)
- Linux Command Line Art (Linux)
- Ubuntu installation under Scrapy (Linux)
- Raspberry Pi 2 to install the latest version of the FPC and Lazarus 1.5 (Linux)
- Fedora10 use Git version Configuration Management (Linux)
- tar decompression problems gzip: stdin: not in gzip format (Linux)
- Text editing and viewing text Linux command (Linux)
- Linux5.8 installed phpMyAdmin was unable to issue related php-mcrypt (Database)
- Ubuntu security settings and tools (Linux)
- VNC configuration detailed analysis under Linux (Linux)
- echo command (Linux)
- Ubuntu how to install and use Objective-C (Linux)
- Linux find command detailing (Linux)
- Windows using SSH management Ubuntu (Linux)
- How to Install Sticky Notes on Ubuntu and Derivatives (Linux)
- Netcat Example (Linux)
- Installation Mate Desktop in FreeBSD 10.1 (Linux)
- SecureCRT remote connection Ubuntu fails to solve the case (Linux)
- Oracle 11g Export guide problem not an empty table (Database)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.