Skip to content

zakzhu/vimrc-for-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vimrc-For-Server

license release prs welcome

A Simple and Practical VimRC script for VIM on Servers.

[TOC]

Features

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)

Screenshot

Requirements

  • Platforms:
    • CentOS-7
    • CentOS-8
    • Fedora
    • Ubuntu
  • Dependencies:
    • vim-enhanced

Installation

yum install vim-enhanced -y
cp dot_vimrc.vim /etc/skel/.vimrc
cp dot_vimrc.vim ~/.vimrc
mkdir /tmp/vimbak
chmod 1777 /tmp/vimbak

Thanks

The following excellent people helped massively:

License

Vimrc-For-Server is licensed under the BSD-3-Clause license. Copyright © 2020, Zak Zhu