Skip to content

Commit

Permalink
Fix enew handling
Browse files Browse the repository at this point in the history
Closes mhinz#33.
  • Loading branch information
mhinz committed Aug 4, 2013
1 parent a576a63 commit 0d13239
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion autoload/startify.vim
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ function! startify#insane_in_the_membrane() abort
endfor
endif

enew
setlocal noswapfile nobuflisted buftype=nofile bufhidden=wipe
setlocal nonumber nolist statusline=\ startify
setfiletype startify
Expand Down
2 changes: 1 addition & 1 deletion plugin/startify.vim
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ augroup END
command! -nargs=? -bar -complete=customlist,startify#session_list SSave call startify#session_save(<f-args>)
command! -nargs=? -bar -complete=customlist,startify#session_list SLoad call startify#session_load(<f-args>)
command! -nargs=? -bar -complete=customlist,startify#session_list SDelete call startify#session_delete(<f-args>)
command! -nargs=0 -bar Startify call startify#insane_in_the_membrane()
command! -nargs=0 -bar Startify enew | call startify#insane_in_the_membrane()

" vim: et sw=2 sts=2

0 comments on commit 0d13239

Please sign in to comment.