Vim rocks and mydebianblogspot too
~/.vimrc
~/.vimrc
syntax on
set background=dark
set tabstop=4
set shiftwidth=4
set expandtab
set softtabstop=4
set ruler
set paste
set showcmd
set list
set listchars=tab:>-,trail:.,extends:>,precedes:<
set laststatus=2
set statusline=%F%m%r%h%w\ [%4l,%3v][%3p%%]\ [enc=%{&encoding}]\ [%{strftime(\"%d.%m.%y\ %H:%M\")}]
hi StatusLine ctermfg=black ctermbg=red
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
endif
vmap <A-v> <C-v>
No comments:
Post a Comment