CODESHIF - 2019年11月
https://www.codeshif.com/2019/11/
最有灵魂的开发者
-
VIM简单配置
https://www.codeshif.com/archives/39.html
2019-11-24T03:40:00+08:00
" 高亮代码
syntax on
" 高亮搜索
set hlsearch
" 搜索时同时高亮
set incsearch
" 显示行号
set number
" 自动缩进空白长度
set shiftwidth=4
" tab等同空格长度
set tabstop=4
" 定义tab键是制表符\t和空格混合,制表符表符\t长度=tabstop长度
" set softtabstop
" 改变制表符\t为空格,按tab实际为空格
set expandtab
call plug#begin()
Plug 'vim-airline/vim-airline'
Plug 'scrooloose/nerdtree'
Plug 'Yggdroot/indentLine'
Plug 'easymotion/vim-easymotion'
call plug#end()
nmap ss <Plug>(easymotion-prefix)