linux下vim的配置
2016-03-28 11:50
477 查看
下面是我的配置信息:
set shortmess=atI syntax enable syntax on set ai set nu set ruler set autoindent set nocompatible set magic set confirm set history=1000 set cursorline highlight Comment ctermfg=lightblue guifg=darkblue set cindent set expandtab set tabstop=4 set softtabstop=4 set shiftwidth=4 set smarttab set si set wrap set showmatch set smartindent set cin set hlsearch au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif "删除行末的空格 autocmd BufWritePre * :%s/\s\+$//ge "每行到第80个字符就自动换行 setlocal textwidth=80
相关文章推荐
- Android 在 SElinux下 如何获得对一个内核节点的访问权限
- Linux内核-链表
- Centos中安装VMware 12
- 通用 CentOS 6 服务器安全配置指南
- linux awk命令
- centos7下更改java环境
- 一天一个linux命令,这篇文章不错,大家可以看看
- Linux文本处理工具集锦
- centos中mysql无法显示中文问题
- linux 进程通信 IPC
- linux watchdog demo hacking
- CentOS 7 /RHEL 7: How To Change The System Locale
- 配置Linux日志文件
- linux下的 fork vfork和clone函数
- linux随生成机数
- Linux ulimit 系统资源控制
- linux 下 pac 使用
- linux 下 pac 使用
- Linux date命令
- Linux配置SSH免密码登陆