123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
-
-
-
-
- set nocompatible
-
-
-
-
-
- filetype plugin on
-
- set path+=**
-
-
-
-
- command! MakeTags !ctags -R .
-
-
-
-
- let g:netrw_banner=0
- let g:netrw_browse_split=4
- let g:netrw_altv=1
- let g:netrw_liststyle=3
- let g:netrw_list_hide=netrw_gitignore#Hide()
- let g:netrw_list_hide.=',\(^}|\s\s)\zs\.\S\+'
-
-
-
-
-
-
-
-
- nnoremap ,pyclass :-1read $HOME/.vim/skeletons/class.py<CR>6l
-
-
-
-
- set autoindent
-
- set expandtab
-
-
- " When shifting lines, round the indentation to the nearest multiple of "shiftwidth.
-
-
-
- " Insert "tabstop" number of spaces when the "tab
-
-
- set tabstop=4
-
-
-
-
- let g:autopep8_max_line_length=150
- let g:autopep8_on_save = 1
-
-
-
-
-
- set hlsearch
-
- set ignorecase
-
- set incsearch
-
- set smartcase
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- set encoding=utf-8
-
- set linebreak
-
- set scrolloff=3
-
- set sidescrolloff=5
-
- syntax enable
-
- set wrap
-
-
-
-
- colorscheme elflord
-
- set laststatus=2
-
- highlight NormalColor ctermbg=11 ctermfg=0
- highlight InsertColor ctermbg=14 ctermfg=0
- highlight ReplaceColor ctermbg=13 ctermfg=0
- highlight VisualColor ctermbg=9 ctermfg=0
- highlight CommandColor ctermbg=15 ctermfg=0
- highlight FilenameColor ctermbg=10 ctermfg=0
- highlight RightColor ctermbg=8 ctermfg=15
-
- set statusline=
- set statusline+=%#NormalColor#%{(mode()=='n')?'\ \ NORMAL\ \ ':''}
- set statusline+=%#InsertColor#%{(mode()=='i')?'\ \ INSERT\ \ ':''}
- set statusline+=%#ReplaceColor#%{(mode()=='r')?'\ \ REPLACE\ ':''}
- set statusline+=%#VisualColor#%{(mode()=='v')?'\ \ VISUAL\ \ ':''}
- set statusline+=%#CommandColor#%{(mode()=='c')?'\ \ COMMAND\ ':''}
-
- set statusline+=%#FilenameColor#
- set statusline+=\ %f
- set statusline+=\ %m
- set statusline+=%=
- set statusline+=%#RightColor#
- set statusline+=\ %y
- set statusline+=\ %{&fileencoding?&fileencoding:&encoding}
- set statusline+=\[%{&fileformat}\]
- set statusline+=\ %p%%
- set statusline+=\ %l:%c
- set statusline+=\ [0x%B]\
-
-
-
-
- set wildmenu
-
-
-
-
-
-
-
- set number
-
- set relativenumber
-
- set noerrorbells
-
- set visualbell
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- set backupdir=~/.cache/vim
-
-
-
- set dir=~/.cache/vim
-
-
-
-
-
- set history=1000
-
-
-
-
-
-
-
-
-
-
-
- set wildignore+=.pyc,.swp
|