From d3d01a45ff3b7e8abbdb05a86ffca59ed229db38 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 30 Sep 2014 12:44:39 +0200 Subject: [PATCH] Use cleaner line breaking --- doc/startify.txt | 10 +++++----- plugin/startify.vim | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/startify.txt b/doc/startify.txt index 2695bda..77ab137 100644 --- a/doc/startify.txt +++ b/doc/startify.txt @@ -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 \w" | - \ endif + \ if !argc() + \ | Startify + \ | NERDTree + \ | wincmd w + \ | endif < ------------------------------------------------------------------------------ *startify-faq-08* diff --git a/plugin/startify.vim b/plugin/startify.vim index 4ca8fef..32b845d 100644 --- a/plugin/startify.vim +++ b/plugin/startify.vim @@ -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