78 lines
1.7 KiB
VimL
78 lines
1.7 KiB
VimL
silent! runtime bundle/vim-pathogen/autoload/pathogen.vim
|
|
silent! execute pathogen#infect()
|
|
|
|
autocmd BufRead,BufNewFile *.md set filetype=markdown
|
|
command Q q
|
|
command W w
|
|
command WQ wq
|
|
inoremap <down> <nop>
|
|
inoremap <left> <nop>
|
|
inoremap <right> <nop>
|
|
inoremap <up> <nop>
|
|
let g:netrw_altv=1
|
|
let g:netrw_banner = 0
|
|
let g:netrw_browse_split = 4
|
|
let g:netrw_liststyle = 3
|
|
let g:netrw_sort_sequence = '[\/]$,*'
|
|
let g:netrw_winsize = -28
|
|
nmap <silent> <A-Down> :wincmd j<CR>
|
|
nmap <silent> <A-Left> :wincmd h<CR>
|
|
nmap <silent> <A-Right> :wincmd l<CR>
|
|
nmap <silent> <A-Up> :wincmd k<CR>
|
|
nnoremap <down> <nop>
|
|
nnoremap <left> <nop>
|
|
nnoremap <right> <nop>
|
|
nnoremap <up> <nop>
|
|
set autoindent
|
|
set background=dark
|
|
set colorcolumn=73
|
|
set cursorcolumn
|
|
set cursorline
|
|
set directory=$TEMP//,/tmp//,.
|
|
set encoding=utf-8
|
|
set expandtab
|
|
set guioptions=cr
|
|
set ignorecase
|
|
set linebreak
|
|
set list
|
|
set modelines=0
|
|
set nojoinspaces
|
|
set number
|
|
set omnifunc=syntaxcomplete#Complete
|
|
set printoptions=paper:A4,duplex:off,header:0
|
|
set relativenumber
|
|
set shiftwidth=4
|
|
set smartcase
|
|
set spl=en_gb nospell
|
|
set tabstop=4
|
|
set textwidth=72
|
|
set ttyfast
|
|
set viminfo="NONE"
|
|
set wrap
|
|
silent! colorscheme desert
|
|
silent! filetype plugin indent on
|
|
silent! syntax on
|
|
|
|
if has("patch-7.4.710")
|
|
set listchars=eol:¶,tab:→ ,trail:~,extends:>,precedes:<,space:·
|
|
else
|
|
set listchars=eol:¶,tab:→ ,trail:~,extends:>,precedes:<
|
|
endif
|
|
|
|
if has("gui_running")
|
|
if has("gui_gtk2")
|
|
set guifont=Monospace\ Regular\ 10
|
|
elseif has("gui_win32")
|
|
set guifont=Consolas:h10:cANSI
|
|
endif
|
|
|
|
set columns=88
|
|
set lines=40
|
|
|
|
try
|
|
colorscheme jellybeans
|
|
catch /^Vim\%((\a\+)\)\=:E185/
|
|
colorscheme darkblue
|
|
endtry
|
|
|
|
endif
|