فهرست منبع

Shorter section headers

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

References #193.
Marco Hinz 10 سال پیش
والد
کامیت
e75c49a339
1فایلهای تغییر یافته به همراه4 افزوده شده و 8 حذف شده
  1. 4 8
      autoload/startify.vim

+ 4 - 8
autoload/startify.vim

@@ -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