我的vim配置
来源:互联网 发布:上海弘历软件 编辑:程序博客网 时间:2024/03/29 15:40
1.set nu显示行号
2.set scrolloff=3光标移动到buffer的顶部和底部时保持3行距离
3.状态栏
set laststatus=2 "总是显示状态行(2)
set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%l,%v][%p%%]\ %{strftime(\"%d/%m/%y\ -\ %H:%M\")} "状态行显示的内容
4.缩进
set autoindent"自动缩进?不好用?
filetype plugin indent on"自动缩进
set tabstop=4"tab长度
set shiftwidth=4?">>移动长度?
set softtabstop=4??
5.语法高亮
syntax enable ?可以没有?
syntax on [off:关闭]
6.行线和列线
set cursorline"行
set cursorcolumn"列
0 0
- 我的Vim配置
- 我的vim配置
- 我的vim配置
- 我的VIM配置
- 我的Vim配置
- 我的vim配置
- 我的 vim 配置
- 我的vim配置
- 我的vim配置
- 我的vim配置
- 我的vim配置
- 我的vim配置
- 我的vim配置
- 我的vim配置
- 我的VIM配置
- 我的vim配置
- 我的vim配置
- 我的vim配置
- volatile的用法
- 地理空间基础设施 Geospatial cyberinfrastructure (GCI)
- 安卓 webview的js交互
- Refactoring Day 9 : Extract Interface
- 串口通信整理
- 我的vim配置
- Properties 和 Jsp Compile Nullpointer
- Android WebView开发问题及优化汇总
- iOS 7 UI 过渡指南 - 开始之前(iOS 7 UI Transition Guide - Before You Start)
- Django:The translation infrastructure cannot be initialized before the apps registry is ready
- 来新公司啦!
- 中国企业家为什么越来越能说了?
- Linux下 tomcat 开机启动设置
- AVR的-section