A Simple and Practical VimRC script for VIM on Servers.
[TOC]
The main features:
- backup in /tmp/vimbak
- smart indent
- graceful status line
- highlight parentheses
- highlight number and cursor line
- vertical bar cursor at insert mode
- show title
- turn off all bells
- friendly search
- auto pair parentheses when write
- set file header (support bash, lua, perl, python, ruby)
- Platforms:
- CentOS-7
- CentOS-8
- Fedora
- Ubuntu
- Dependencies:
- vim-enhanced
yum install vim-enhanced -y
cp dot_vimrc.vim /etc/skel/.vimrc
cp dot_vimrc.vim ~/.vimrc
mkdir /tmp/vimbak
chmod 1777 /tmp/vimbak
The following excellent people helped massively:
Vimrc-For-Server is licensed under the BSD-3-Clause license. Copyright © 2020, Zak Zhu