Startupify and cleanup

This commit is contained in:
ViViDboarder 2015-08-13 22:43:20 -07:00
parent 008e2ef801
commit 179ccc8e96
5 changed files with 38 additions and 25 deletions

2
.gitignore vendored
View File

@ -7,5 +7,7 @@ vim/autoload/plug.vim.old
vim/backup/*~ vim/backup/*~
vim/plugged/* vim/plugged/*
vim/rc/*.local.rc.vim vim/rc/*.local.rc.vim
vim/rc/plugins/*.local.rc.vim
vim/tmp/*.swo vim/tmp/*.swo
vim/tmp/*.swp vim/tmp/*.swp
vim/tmp/viminfo

View File

@ -18,6 +18,7 @@ set mouse=a
set backup set backup
set backupdir=~/.vim/backup set backupdir=~/.vim/backup
set directory=~/.vim/tmp set directory=~/.vim/tmp
set viminfo='100,n~/.vim/tmp/viminfo
" Filetype extension " Filetype extension
au BufRead,BufNewFile *.md set syntax=markdown au BufRead,BufNewFile *.md set syntax=markdown

View File

@ -105,6 +105,8 @@ endif
" }} " }}
" GUI {{ " GUI {{
Plug 'mhinz/vim-startify'
call s:smart_source_rc('plugins/startify')
Plug 'bling/vim-airline' Plug 'bling/vim-airline'
" vim-airline {{ " vim-airline {{
" Use short-form mode text " Use short-form mode text
@ -169,20 +171,21 @@ Plug 'tmux-plugins/vim-tmux'
Plug 'alfredodeza/coveragepy.vim' Plug 'alfredodeza/coveragepy.vim'
Plug 'alfredodeza/pytest.vim' Plug 'alfredodeza/pytest.vim'
Plug 'davidhalter/jedi-vim' Plug 'davidhalter/jedi-vim'
" {{ " jedi-vim {{
let g:jedi#completions_enabled = 0 let g:jedi#completions_enabled = 0
let g:jedi#auto_vim_configuration = 0 let g:jedi#auto_vim_configuration = 0
" }} " }} jedi-vim
Plug 'klen/python-mode' Plug 'klen/python-mode'
" {{ " python-mode {{
let g:pymode_breakpoint = 0 let g:pymode_breakpoint = 0
let g:pymode_lint = 0 let g:pymode_lint = 0
let g:pymode_lint_checkers = ['flake8'] let g:pymode_lint_checkers = ['flake8']
let g:pymode_lint_on_write = 0 let g:pymode_lint_on_write = 0
let g:pymode_rope = 0 let g:pymode_rope = 0
let g:pymode_rope_complete_on_dot = 0 let g:pymode_rope_complete_on_dot = 0
let g:pymode_rope_completion = 0 let g:pymode_rope_completion = 0
"}} " }} python-mode
" }} " }}
" Themes {{ " Themes {{
@ -202,12 +205,11 @@ Plug 'wombat256.vim'
" neomake / vim-dispatch {{ " neomake / vim-dispatch {{
if has('nvim') if has('nvim')
Plug 'benekastah/neomake' Plug 'benekastah/neomake'
" {{ " neomake {{
nmap <leader>nm :Neomake<CR> nmap <leader>nm :Neomake<CR>
nnoremap <F5> :Neomake<CR> nnoremap <F5> :Neomake<CR>
let g:neomake_python_enabled_makers = ['flake8'] let g:neomake_python_enabled_makers = ['flake8']
" }} neomake
" }}
else else
Plug 'tpope/vim-dispatch' Plug 'tpope/vim-dispatch'
nnoremap <F5> :Make<CR> nnoremap <F5> :Make<CR>
@ -220,8 +222,9 @@ Plug 'tpope/vim-endwise'
" emacs bindinds in insert " emacs bindinds in insert
Plug 'tpope/vim-rsi' Plug 'tpope/vim-rsi'
Plug 'milkypostman/vim-togglelist' Plug 'milkypostman/vim-togglelist'
" {{ " vim-togglelist {{
nnoremap <silent> <F6> :call ToggleQuickfixList()<CR> nnoremap <silent> <F6> :call ToggleQuickfixList()<CR>
nnoremap <silent> <F7> :call ToggleLocationList()<CR> nnoremap <silent> <F7> :call ToggleLocationList()<CR>
" }} " }} vim-togglelist
" }} " }}

View File

@ -4,8 +4,8 @@
let g:ctrlp_max_height = 10 let g:ctrlp_max_height = 10
" Conditional Mappings " Conditional Mappings
let g:ctrlp_map = '<C-t>' let g:ctrlp_map = '<C-t>'
" Allow ctrl p to open over the initial nerdtree window " Allow ctrl p to open over startify
let g:ctrlp_dont_split = 'netrw' let g:ctrlp_reuse_window = 'startify'
" Support tag jumping " Support tag jumping
let g:ctrlp_extensions = ['tag', 'buffertag'] let g:ctrlp_extensions = ['tag', 'buffertag']
" Support Apex language " Support Apex language

View File

@ -0,0 +1,7 @@
" Override in local rc
" let g:startify_bookmarks = [
" \ '~/.vim',
" \ '~/workspace/my-shoestrap'
" \ ]
" let g:startify_custom_header =
" \ map(split(system('fortune | cowsay'), '\n'), '" ". v:val') + ['','']