prism

2009-12-27

Vim env make me happy

自己的小筆記

http://blog.dispatched.ch/2009/05/24/vim-as-python-ide/

http://blog.tplus1.com/index.php/2007/08/29/how-to-use-vimdiff-as-the-subversion-diff-tool/

vimdiff
http://www.ibm.com/developerworks/cn/linux/l-vimdiff/index.html

http://www.vim.org/scripts/script.php?script_id=1542 put this file under ~/.vim/plugin/ C-x C-o get the tips

taglist (vim-scripts debain package)

minibufexplorer (vim-scripts debain package)


under debian require package

vim vim-lesstif vim-nox vim-scripts vim-gtk vim-gnome exuberant-ctags

simple .vimrc


set tabstop=4
set shiftwidth=4
set softtabstop=4
set autoindent
set ignorecase
set nowrapscan
set et
set number
set noswapfile

nnoremap <F8> :Tlist<CR>
nnoremap <F9> <ESC> zi


colors delek

syntax on
filetype on
filetype plugin on
au Syntax python set omnifunc=pythoncomplete#Complete
au Syntax python set completefunc=pythoncomplete#Complete

setglobal fileencoding=utf8
set fileencoding=utf8
set termencoding=utf8
set fileencodings=utf-8,big5,latin1
set guifont=Arial\ 16
set vb

map <ESC><C-Left> :tabprev<CR>
map <ESC><C-Right> :tabnext<CR>
map <C-t>n <ESC>:tabnext<CR>
map <C-t>p <ESC>:tabprev<CR>
map <C-t>t <ESC>:tabnew<CR><ESC>:e
map <C-b>b <ESC>:tabclose<CR>


沒有留言: