Shorter section headers

Use shorter section headers and add the current working directory to the 'dir'
list.

References #193.
This commit is contained in:
Marco Hinz 2015-12-27 21:05:09 +01:00
parent 7e4cb5a974
commit e75c49a339

View file

@ -97,14 +97,10 @@ function! startify#insane_in_the_membrane() abort
let b:startify_section_header_lines = []
let s:lists = get(g:, 'startify_list_order', [
\ [' Most recently used files:'],
\ 'files',
\ [' Most recently used files in the current directory:'],
\ 'dir',
\ [' My sessions:'],
\ 'sessions',
\ [' My bookmarks:'],
\ 'bookmarks',
\ [' MRU'], 'files',
\ [' MRU '. getcwd()], 'dir',
\ [' Sessions'], 'sessions',
\ [' Bookmarks'], 'bookmarks',
\ ])
for item in s:lists