46 lines
977 B
VimL
46 lines
977 B
VimL
|
call pathogen#infect()
|
||
|
set noai
|
||
|
set vb
|
||
|
set binary noeol
|
||
|
set tabstop=2
|
||
|
set shiftwidth=2
|
||
|
set softtabstop=2
|
||
|
set expandtab
|
||
|
set ruler
|
||
|
set incsearch
|
||
|
set hlsearch
|
||
|
set backspace=indent,eol,start
|
||
|
set nocompatible
|
||
|
set nobackup
|
||
|
syntax on
|
||
|
filetype plugin on
|
||
|
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
||
|
au BufRead *.html set filetype=htmlm4
|
||
|
au BufRead *.md set filetype=markdown
|
||
|
set laststatus=2
|
||
|
syntax enable
|
||
|
set background=dark
|
||
|
|
||
|
let g:airline_powerline_fonts = 1
|
||
|
|
||
|
if filereadable(glob("./.vimrc.local"))
|
||
|
source ./.vimrc.local
|
||
|
endif
|
||
|
|
||
|
nnoremap Q <nop>
|
||
|
let g:ctrlp_custom_ignore = {
|
||
|
\ 'dir': '\v[\/](\.git|build)$',
|
||
|
\ }
|
||
|
|
||
|
" Vimwiki {{
|
||
|
let g:vimwiki_list = [{'path': '~/Google Drive/vimwiki/vimwiki', 'path_html': '~/Google Drive/vimwiki/vimwiki_html/', 'auto_export':'1'}]
|
||
|
nnoremap <Leader>wb :Vimwiki2HTMLBrowse<CR><CR>
|
||
|
" }}
|
||
|
|
||
|
" Gist {{
|
||
|
let g:gist_detect_filetype = 1
|
||
|
let g:gist_open_browser_after_post = 1
|
||
|
let g:gist_post_private = 1
|
||
|
" }}
|
||
|
|