Use cleaner line breaking
This commit is contained in:
parent
6a933d2c24
commit
d3d01a45ff
2 changed files with 12 additions and 12 deletions
|
@ -598,11 +598,11 @@ How do I get both NERDTree and Startify working at startup?~
|
||||||
Put this in your vimrc:
|
Put this in your vimrc:
|
||||||
>
|
>
|
||||||
autocmd VimEnter *
|
autocmd VimEnter *
|
||||||
\ if !argc() |
|
\ if !argc()
|
||||||
\ Startify |
|
\ | Startify
|
||||||
\ NERDTree |
|
\ | NERDTree
|
||||||
\ execute "normal \<c-w>w" |
|
\ | wincmd w
|
||||||
\ endif
|
\ | endif
|
||||||
<
|
<
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*startify-faq-08*
|
*startify-faq-08*
|
||||||
|
|
|
@ -13,17 +13,17 @@ let g:loaded_startify = 1
|
||||||
augroup startify
|
augroup startify
|
||||||
if !get(g:, 'startify_disable_at_vimenter')
|
if !get(g:, 'startify_disable_at_vimenter')
|
||||||
autocmd VimEnter *
|
autocmd VimEnter *
|
||||||
\ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[gmnq]\=vim\=x\=\%[\.exe]$') |
|
\ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[gmnq]\=vim\=x\=\%[\.exe]$')
|
||||||
\ call startify#insane_in_the_membrane(0) |
|
\ | call startify#insane_in_the_membrane(0)
|
||||||
\ endif |
|
\ | endif
|
||||||
\ autocmd! startify VimEnter
|
\ | autocmd! startify VimEnter
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get(g:, 'startify_session_persistence')
|
if get(g:, 'startify_session_persistence')
|
||||||
autocmd startify VimLeave *
|
autocmd startify VimLeave *
|
||||||
\ if exists('v:this_session') && filewritable(v:this_session) |
|
\ if exists('v:this_session') && filewritable(v:this_session)
|
||||||
\ call startify#session_write(fnameescape(v:this_session)) |
|
\ | call startify#session_write(fnameescape(v:this_session))
|
||||||
\ endif
|
\ | endif
|
||||||
endif
|
endif
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue