Created
July 3, 2014 06:08
-
-
Save archerslaw/68681366d4fc003ad85b to your computer and use it in GitHub Desktop.
modify the vimrc configure file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim /etc/vimrc | |
... | |
" Don't wake up system with blinking cursor: | |
" http://www.linuxpowertop.org/known.php | |
let &guicursor = &guicursor . ",a:blinkon0" | |
filetype plugin indent on | |
autocmd FileType python setlocal et sta sw=4 sts=4 | |
set tabstop=4 | |
set shiftwidth=4 | |
set softtabstop=4 | |
set expandtab | |
set smarttab | |
set showmatch | |
set ruler | |
set enc=utf-8 | |
set fileencodings=utf-8 | |
set termencoding=utf-8 | |
set encoding=utf-8 | |
set cursorline | |
hi CursorLine cterm=NONE ctermbg=darkred ctermfg=white guibg=darkred guifg=white | |
set cursorcolumn | |
hi CursorColumn cterm=NONE ctermbg=darkred ctermfg=white guibg=darkred guifg=white | |
"pydiction 1.2 python auto complete | |
filetype plugin on | |
let g:pydiction_location = '~/.vim/pydiction-1.2/complete-dict' | |
"defalut g:pydiction_menu_height == 15 | |
let g:pydiction_menu_height = 20 | |
set filetype=python | |
au BufNewFile,BufRead *.py,*.pyw setf python | |
set autoindent " same level indent | |
set smartindent " next level indent | |
set expandtab | |
set tabstop=4 | |
set shiftwidth=4 | |
set softtabstop=4 | |
let Tlist_Ctags_Cmd='/usr/local/bin/ctags' | |
let g:miniBufExplMapWindowNavVim = 1 | |
let g:miniBufExplMapWindowNavArrows = 1 | |
let g:miniBufExplMapCTabSwitchBufs = 1 | |
let g:miniBufExplModSelTarget = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment