12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
-
-
- " ....... "
- " PLUGINS "
- " ''''''' "
- execute pathogen#infect()
-
- let g:local_vimrc=".vimrc_local.vim"
- let python_highlight_all = 1
- let g:vim_markdown_folding_disabled=1
- let g:swap_custom_ops = ['and', 'or']
-
-
- " ..................... "
- " PROGRAM / ENVIRONMENT "
- " ''''''''''''''''''''' "
-
- set encoding=utf-8
- set fileencodings=ucs-bom,utf-8,cp1250,latin1
- set history=500
- if isdirectory($HOME . '/.local/share/vim') == 0
- :silent !mkdir -p ~/.vim/swap >/dev/null 2>&1
- endif
- set directory=./.vim-swap//
- set directory+=~/.local/share/vim/swap//
- set directory+=~/tmp//
- set directory+=.
-
-
- " ............ "
- " UI - GENERAL "
- " '''''''''''' "
-
- noremap <F2> :set list!<CR>
- set pastetoggle=<F4>
- nmap <F3> :set invnumber<CR>
-
- if has('mouse')
- set mouse=a
- endif
-
- if !exists(":DiffOrig")
- command DiffOrig vert new
- \ | set bt=nofile
- \ | r ++edit #
- \ | 0d_
- \ | diffthis
- \ | wincmd p
- \ | diffthis
- endif
-
-
- " ............ "
- " UI - EDITING "
- " '''''''''''' "
-
- set autoindent
- set backspace=indent,eol,start
- set expandtab
- set incsearch
- set shiftwidth=4
- set tabstop=4
-
- if has("autocmd")
- filetype plugin indent on
- augroup vimrcEx
- au!
- autocmd FileType text setlocal textwidth=78
- autocmd BufReadPost *
- \ if line("'\"") > 1 && line("'\"") <= line("$") |
- \ exe "normal! g`\"" |
- \ endif
- augroup END
- else
- set autoindent
- endif
-
- " .......... "
- " UI - LOOKS "
- " '''''''''' "
-
- set list
- set list listchars=tab:→\ ,trail:·,precedes:←
- set ruler
- set showcmd
- set nowrap
-
- if &t_Co > 2 || has("gui_running")
- syntax on
- set hlsearch
- endif
-
- colorscheme pablo
- hi Folded ctermbg=NONE
- "set gfn=Droid\ Sans\ Mono\ 9
- set number
- highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE
|