Sunday, August 26, 2012

Any way to small down my .vimrc file?

Hello there,

I have these lines in my .vimrc file:

autocmd filetype python setlocal expandtab shiftwidth=4 tabstop=4 softtabstop=4
autocmd filetype python setlocal textwidth=78
autocmd filetype python match ErrorMsg '\%>80v.\+'
autocmd filetype python setlocal formatoptions-=t
autocmd filetype python nnoremap <buffer> <leader>bp :normal Oimport
pdb; pdb.set_trace()<Esc>
autocmd filetype python nnoremap <silent> <C-t>
mmviw:s/True\\|False/\={'True':'False','False':'True'}[submatch(0)]/<CR>`m:nohlsearch<CR>
autocmd filetype python nnoremap <F5> :upd\|!python %<CR>
autocmd filetype python nnoremap <leader>8 :w\|call Flake8()<cr>
autocmd filetype python inoremap <F5> <esc>:upd\|!python %<CR>


Is there any possiblity to make them even more smaller (in bytes)?
I mean they have "autocmd filetype python" in common.
My .vimrc file has now of 15KBs.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: