Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
- set termencoding=utf-8
- set encoding=utf-8
- set shiftwidth=4
- set tabstop=4
- set expandtab
- set autoindent
- set number
- "set relativenumber
- set hlsearch
- filetype plugin indent on
- autocmd FileType lua setlocal sta sw=4 sts=4
- autocmd FileType python setlocal sta ts=8 sw=4 sts=8
- autocmd FileType erlang setlocal sta ts=4 sw=4 sts=4
- "ctrlp plugin
- set runtimepath^=~/.vim/bundle/ctrlp.vim
- "tagbar plugin
- nmap <F6> :TagbarToggle<CR>
- let g:tagbar_autofocus = 1 "自动高亮代码所在Tag区域
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement