vim是世界上最好的编辑器(尝试在荒无人烟的博客引战

配置什么的直接就丢上来了。。。(懒得解释了,只是mark一下方便自己手贱。。。

最操蛋的事情莫过于敲代码敲到一半蓝牙键盘坏了。。。

"set paste
set laststatus=2
language messages zh_CN.utf-8
"set ambiwidth=double
set encoding=utf-8
set langmenu=zh_CN.UTF-8
set nu
set tabstop=2
syntax on
set smartindent
set expandtab
set autoindent
set incsearch
set showcmd
au BufRead,BufNewFile *.vue set filetype=html
" ----------------------------- Vundle Start -----------------------------
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'

call vundle#end()
filetype plugin indent on
" ----------------------------- Vundle End   -----------------------------
Plugin 'The-NERD-tree'
Plugin 'taglist.vim'
Plugin 'winmanager'
Plugin 'bufexplorer.zip'
Plugin 'bling/vim-airline'
Plugin 'ctrlp.vim'
Plugin 'jnurmine/Zenburn'
Plugin 'tomasr/molokai'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'mattn/emmet-vim'
Plugin 'git.zip'
"Plugin 'Conque-Shell'
Plugin 'oplatek/Conque-Shell'
"生成一个tags文件
nmap <F8> <Esc>:!ctags -R *<CR>

"----------taglist----------
" 不同时显示多个文件的 tag ,只显示当前文件的
let Tlist_Show_One_File=1
" 如果 taglist 窗口是最后一个窗口,则退出 vim
let Tlist_Exit_OnlyWindow=1
"让当前不被编辑的文件的方法列表自动折叠起来 
let Tlist_File_Fold_Auto_Close=1
"把taglist窗口放在屏幕的右侧,缺省在左侧 
let Tlist_Use_Right_Window=1
"显示taglist菜单
let Tlist_Show_Menu=1
"启动vim自动打开taglist
"let Tlist_Auto_Open=1
"----------taglist----------

"""""""""""""""""""""""""""""""

"" winManager setting

"""""""""""""""""""""""""""""""

"设置界面分割

"let g:winManagerWindowLayout  "BufExplorer,FileExplorer|TagList"

let g:winManagerWindowLayout = "TagList|FileExplorer,BufExplorer"

"设置winmanager的宽度,默认为25

let g:winManagerWidth = 20

"定义打开关闭winmanager按键

nmap <C-N> <ESC>:WMToggle<CR>

"在进入vim时自动打开winmanager

let g:AutoOpenWinManager = 0

autocmd! VimEnter * :WMToggle
"airline
let g:airline_powerline_fonts = 1
"let g:airline#extensions#tabline#enabled = 1
"let g:airline#extensions#tabline#buffer_nr_show = 1
let g:airline_solarized_bg='dark'
let g:airline_theme="zenburn" 

"theme
colorscheme zenburn
"colorscheme moloka

"Conque-Shell
let g:ConqueTerm_PyVersion = 3
let g:ConqueTerm_TERM = 'xterm-color-256'
let g:ConqueTerm_FastMode = 0

标签: 没有标签


添加新评论