vim-sussify/plugin/startify.vim

25 lines
954 B
VimL
Raw Normal View History

2013-04-23 16:41:02 +02:00
" Plugin: https://github.com/mhinz/vim-startify
" Description: Start screen displaying recently used stuff.
" Maintainer: Marco Hinz <http://github.com/mhinz>
2013-09-04 09:38:53 +02:00
" Version: 1.8
2013-04-23 16:41:02 +02:00
if exists('g:loaded_startify') || &cp
finish
endif
let g:loaded_startify = 1
augroup startify
2013-08-05 00:15:27 +02:00
autocmd VimEnter *
\ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[gm]\=vimx\=\%[\.exe]$') |
2013-05-13 19:48:03 +02:00
\ call startify#insane_in_the_membrane() |
2013-08-04 18:08:57 +02:00
\ endif |
\ autocmd! startify VimEnter
2013-04-23 16:41:02 +02:00
augroup END
2013-05-25 11:08:22 +02:00
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>)
2013-08-04 18:06:05 +02:00
command! -nargs=0 -bar Startify enew | call startify#insane_in_the_membrane()
2013-04-25 15:42:06 +02:00
2013-04-23 16:41:02 +02:00
" vim: et sw=2 sts=2