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