startify.txt 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. *startify.txt* Showing recently used stuff like a boss.
  2. *startify*
  3. __ __ ___
  4. /\ \__ /\ \__ __ /'___\
  5. ____\ \ ,_\ __ _ __\ \ ,_\/\_\/\ \__/ __ __
  6. /',__\\ \ \/ /'__`\ /\`'__\ \ \/\/\ \ \ ,__\/\ \/\ \
  7. /\__, `\\ \ \_/\ \L\.\_\ \ \/ \ \ \_\ \ \ \ \_/\ \ \_\ \
  8. \/\____/ \ \__\ \__/.\_\\ \_\ \ \__\\ \_\ \_\ \/`____ \
  9. \/___/ \/__/\/__/\/_/ \/_/ \/__/ \/_/\/_/ `/___/> \
  10. /\___/
  11. \/__/
  12. by Marco Hinz~
  13. Twitter: https://twitter.com/_mhinz_
  14. Github: http://github.com/mhinz
  15. IRC: mhi^ (Freenode)
  16. >
  17. If you use any of my plugins, please star them on github. It's a great way
  18. of getting feedback and gives me the kick to put more time into their
  19. development.
  20. If you encounter any bugs or have feature requests, just open an issue
  21. report on Github.
  22. Thank you for flying mhi^ airlines. Get the Vim on!
  23. <
  24. ==============================================================================
  25. CONTENTS *startify-contents*
  26. INTRO .......................................... |startify-intro|
  27. USAGE .......................................... |startify-usage|
  28. OPTIONS ........................................ |startify-options|
  29. AUTOCMD ........................................ |startify-autocmd|
  30. COMMANDS ....................................... |startify-commands|
  31. MAPPINGS ....................................... |startify-mappings|
  32. COLORS ......................................... |startify-colors|
  33. FAQ ............................................ |startify-faq|
  34. EXAMPLE ........................................ |startify-example|
  35. ==============================================================================
  36. INTRO *startify-intro*
  37. Startify is a plugin that shows recently used files, bookmarks and
  38. sessions that were saved to a certain directory.
  39. ==============================================================================
  40. USAGE *startify-usage*
  41. Startify basically provides two things:
  42. 1) If you start Vim without giving any filenames to it (or pipe stuff to it so
  43. it reads from STDIN), startify will show a small but pretty start screen
  44. that shows recently used files (using viminfo) and sessions by default.
  45. Additionally, you can define bookmarks, thus entries for files that always
  46. should be available on the start screen.
  47. You can either navigate to a certain menu entry and hit enter or you just
  48. key in whatever is written between the square brackets on that line. You
  49. can even double-click anywhere on the line now.
  50. In addition, 'e' creates an empty buffer, 'i' creates an empty buffer and
  51. jumps into insert mode, 'q' quits.
  52. Moreover, you can open several files at one go. Navigate to an entry and
  53. hit either 'b' (open in same window), 's' (open in split), 'v' (open in
  54. vertical split) or 't' (open in tab). You can do that for multiple entries.
  55. You can also mix them. The order of the selections will be remembered.
  56. Afterwards execute these actions via <cr>.
  57. When the selection is finished, Startify will close automatically. You can
  58. reopen the screen via :Startify.
  59. And you can define your own custom ascii art header now!
  60. 2) It eases handling of loading and saving sessions by only working with a
  61. certain directory. These commands are used for convenience:
  62. :SLoad load a session
  63. :SSave save a session
  64. :SDelete delete a session
  65. :SClose close a session
  66. ==============================================================================
  67. OPTIONS *startify-options*
  68. Put these variables into your vimrc. The shown assignments are also the
  69. default values.
  70. |g:startify_bookmarks|
  71. |g:startify_change_to_dir|
  72. |g:startify_change_to_vcs_root|
  73. |g:startify_custom_footer|
  74. |g:startify_custom_header|
  75. |g:startify_custom_indices|
  76. |g:startify_disable_at_vimenter|
  77. |g:startify_enable_special|
  78. |g:startify_enable_unsafe|
  79. |g:startify_files_number|
  80. |g:startify_list_order|
  81. |g:startify_relative_path|
  82. |g:startify_session_autoload|
  83. |g:startify_session_delete_buffers|
  84. |g:startify_session_dir|
  85. |g:startify_session_persistence|
  86. |g:startify_session_savecmds|
  87. |g:startify_session_savevars|
  88. |g:startify_skiplist_server|
  89. |g:startify_skiplist|
  90. ------------------------------------------------------------------------------
  91. *g:startify_session_dir*
  92. >
  93. let g:startify_session_dir = '~/.vim/session'
  94. <
  95. The directory to save/load sessions to/from.
  96. The default for Windows systems is '$HOME\vimfiles\session'.
  97. ------------------------------------------------------------------------------
  98. *g:startify_list_order*
  99. >
  100. let g:startify_list_order = ['files', 'dir', 'bookmarks', 'sessions']
  101. <
  102. At the moment startify supports these lists:~
  103. 1) "files"
  104. This lists the most recently used files using viminfo. The number of files
  105. is limited by g:startify_files_number.
  106. 2) "dir"
  107. This lists the files from the current directory sorted by modification
  108. time. The number of files is limited by g:startify_files_number.
  109. 3) "bookmarks"
  110. This lists bookmarks, thus hardcoded files or directories that will always
  111. be shown. Have a look at g:startify_bookmarks.
  112. 4) "sessions"
  113. This lists all the sessions saved in the directory
  114. g:startify_session_dir.
  115. Section headers:~
  116. Additionally you can add lists of strings to that list. These will be shown
  117. above the following item in |g:startify_list_order|.
  118. NOTE: Section headers are context-senstive. This means that if the following
  119. item is a startify list ("dir", "bookmarks", ...) and empty (no files in the
  120. current directory, no bookmarks defined, ...), the section header won't be
  121. shown as well.
  122. NOTE: The section header use the StartifySection highlight group.
  123. Section headers example:~
  124. >
  125. let g:startify_list_order = [
  126. \ [' My most recently', ' used files'],
  127. \ 'files',
  128. \ [' My most recently used files in the current directory:'],
  129. \ 'dir',
  130. \ [' These are my sessions:'],
  131. \ 'sessions',
  132. \ [' These are my bookmarks:'],
  133. \ 'bookmarks',
  134. \ ]
  135. <
  136. Feel free to add some cool ASCII action!
  137. ------------------------------------------------------------------------------
  138. *g:startify_bookmarks*
  139. >
  140. let g:startify_bookmarks = []
  141. <
  142. A list of files to bookmark. Those files will always be shown at the bottom of
  143. the start screen.
  144. Example:
  145. >
  146. let g:startify_bookmarks = [ '~/.vimrc' ]
  147. <
  148. ------------------------------------------------------------------------------
  149. *g:startify_files_number*
  150. >
  151. let g:startify_files_number = 10
  152. <
  153. The number of files to list.
  154. ------------------------------------------------------------------------------
  155. *g:startify_session_autoload*
  156. >
  157. let g:startify_session_autoload = 0
  158. <
  159. If you fire up "vim" in a directory that contains a "Session.vim", that session
  160. will be loaded automatically. Otherwise it will be shown as the top entry in
  161. the Startify buffer.
  162. This also works if you open a bookmarked directory.
  163. Great way to create a portable project folder.
  164. ------------------------------------------------------------------------------
  165. *g:startify_session_persistence*
  166. >
  167. let g:startify_session_persistence = 0
  168. <
  169. Automatically update sessions in two cases:
  170. 1) Before leaving Vim
  171. 2) Before loading a new session via :SLoad
  172. This also works for sessions started with:
  173. >
  174. vim -S mysession.vim
  175. <
  176. ------------------------------------------------------------------------------
  177. *g:startify_session_delete_buffers*
  178. >
  179. let g:startify_session_delete_buffers = 0
  180. <
  181. Delete open buffers before loading a new session.
  182. ------------------------------------------------------------------------------
  183. *g:startify_change_to_dir*
  184. >
  185. let g:startify_change_to_dir = 1
  186. <
  187. When opening a file or bookmark, change to its directory.
  188. ------------------------------------------------------------------------------
  189. *g:startify_change_to_vcs_root*
  190. >
  191. let g:startify_change_to_vcs_root = 0
  192. <
  193. When opening a file or bookmark, seek and change to the root directory of the
  194. VCS (if there is one).
  195. At the moment only git, hg, bzr and svn are supported.
  196. ------------------------------------------------------------------------------
  197. *g:startify_skiplist*
  198. >
  199. let g:startify_skiplist = [
  200. \ 'COMMIT_EDITMSG',
  201. \ fnamemodify($VIMRUNTIME, ':p') .'/doc',
  202. \ 'bundle/.*/doc',
  203. \ '.vimgolf',
  204. \ ]
  205. <
  206. A list of Vim regular expressions that is used to filter recently used files.
  207. See |pattern.txt| for what patterns can be used.
  208. NOTE: Due to the nature of patterns, you can't just use something like
  209. "'~/mysecret'" but have to use "$HOME . '/mysecret.txt". The former would do
  210. something entirely different: |/\~|
  211. Example:
  212. >
  213. let g:startify_skiplist = [
  214. \ '\.vimgolf',
  215. \ '^/tmp',
  216. \ '/project/.*/documentation',
  217. \ $HOME . '/mysecret.txt',
  218. \ ]
  219. <
  220. ------------------------------------------------------------------------------
  221. *g:startify_skiplist_server*
  222. >
  223. let g:startify_skiplist_server = []
  224. <
  225. Do not create the startify buffer, if this is a Vim server instance with a
  226. name contained in this list.
  227. Example:
  228. >
  229. let g:startify_skiplist_server = [ 'GVIM' ]
  230. <
  231. ------------------------------------------------------------------------------
  232. *g:startify_enable_special*
  233. >
  234. let g:startify_enable_special = 1
  235. <
  236. Show <empty buffer> and <quit>.
  237. ------------------------------------------------------------------------------
  238. *g:startify_enable_unsafe*
  239. >
  240. let g:startify_enable_unsafe = 0
  241. <
  242. Enable the option only in case you think Vim starts too slowly (because of
  243. :Startify) or if you often edit files on remote filesystems.
  244. It's called unsafe because it improves the time :Startify needs to execute by
  245. reducing the amount of syscalls to the underlying operating system, but
  246. sacrifices the precision of shown entries.
  247. This could lead to inconsistences in the shown :Startify entries (e.g. the
  248. same file could be shown twice, because one time file was opened via absolute
  249. path and another time via symlink).
  250. Currently this option does this:
  251. - don't resolves symlinks (readlink(2))
  252. - don't check every file if it's readable (stat(2))
  253. - don't filter through the bookmark list
  254. ------------------------------------------------------------------------------
  255. *g:startify_session_savevars*
  256. >
  257. let g:startify_session_savevars = []
  258. <
  259. Include a list of variables in here which you would like Startify to save into
  260. the session file in addition to what Vim normally saves into the session file.
  261. For example, Vim will not normally save all-lowercase global variables, which
  262. are common for plugin settings. It may be advisable to include
  263. |g:startify_session_savevars| and |g:startify_session_savecmds| into this list
  264. so they are saved every time the session saves.
  265. Example:
  266. >
  267. let g:startify_session_savevars = [
  268. \ 'g:startify_session_savevars',
  269. \ 'g:startify_session_savecmds',
  270. \ 'g:random_plugin_use_feature'
  271. \ ]
  272. <
  273. ------------------------------------------------------------------------------
  274. *g:startify_session_savecmds*
  275. >
  276. let g:startify_session_savecmds = []
  277. <
  278. Include a list of cmdline commands which Vim will run upon loading the
  279. session. This can be useful to set various things (other than variables,
  280. |g:startify_session_savevars| above) which Vim may not normally save into the
  281. session file, as well as run external commands upon loading a session.
  282. Example:
  283. >
  284. let g:startify_session_savecmds = [
  285. \ 'silent !pdfreader ~/latexproject/main.pdf &'
  286. \ ]
  287. <
  288. ------------------------------------------------------------------------------
  289. *g:startify_custom_indices*
  290. >
  291. let g:startify_custom_indices = []
  292. <
  293. Use any list of strings as indices instead of increasing numbers. If there are
  294. more startify entries than actual items in the custom list, the remaining
  295. entries will be filled using the default numbering scheme starting from 0.
  296. Thus you can create your own indexing scheme that fits your keyboard layout.
  297. You don't want to leave the home row, do you?!
  298. Example:
  299. >
  300. let g:startify_custom_indices = ['f', 'g', 'h']
  301. <
  302. This would result in:
  303. [f] /most/recently/used/file1
  304. [g] /most/recently/used/file2
  305. [h] /most/recently/used/file3
  306. [0] /most/recently/used/file4
  307. [1] /most/recently/used/file5
  308. [2] /most/recently/used/file6
  309. etc.
  310. If you want numbers to start at 1 instead of 0, you could use this:
  311. >
  312. let g:startify_custom_indices = map(range(1,100), 'string(v:val)')
  313. <
  314. NOTE: There is no sanitizing going on, so you should know what you're doing!
  315. Best practices:
  316. - do not use 'e', 'i' or 'q' (they will be overwritten anyway)
  317. - do not use 'b', 's', 't', 'v' (used for opening several files at once)
  318. - do not use duplicates (previous mappings will be overwritten)
  319. - do not uses empty strings (creates unreachable entries)
  320. - you might want to keep 'j' and 'k' (for navigation)
  321. ------------------------------------------------------------------------------
  322. *g:startify_custom_header*
  323. >
  324. let g:startify_custom_header = ''
  325. <
  326. This is a list of single-quoted strings to be shown before everything else.
  327. Every string will be written on its own line.
  328. NOTE: If a string contains ', you have to quote it with another '.
  329. A programmatic example:
  330. >
  331. let g:startify_custom_header =
  332. \ map(split(system('fortune | cowsay'), '\n'), '" ". v:val') + ['','']
  333. <
  334. A hardcoded example:
  335. >
  336. let g:startify_custom_header = [
  337. \ ' ________ __ __ ',
  338. \ ' __ /\_____ \/\ \\ \ ',
  339. \ ' __ __ /\_\ ___ ___ \/___//''/''\ \ \\ \ ',
  340. \ ' /\ \/\ \\/\ \ /'' __` __`\ /'' /'' \ \ \\ \_ ',
  341. \ ' \ \ \_/ |\ \ \/\ \/\ \/\ \ /'' /''__ \ \__ ,__\',
  342. \ ' \ \___/ \ \_\ \_\ \_\ \_\ /\_/ /\_\ \/_/\_\_/ ',
  343. \ ' \/__/ \/_/\/_/\/_/\/_/ \// \/_/ \/_/ ',
  344. \ '',
  345. \ '',
  346. \ ]
  347. <
  348. Also have a look at |startify-faq-08|.
  349. ------------------------------------------------------------------------------
  350. *g:startify_custom_footer*
  351. >
  352. let g:startify_custom_footer = ''
  353. <
  354. Same as the custom header, but shown at the bottom of the startify buffer.
  355. ------------------------------------------------------------------------------
  356. *g:startify_disable_at_vimenter*
  357. >
  358. let g:startify_disable_at_vimenter = 0
  359. <
  360. Don't run Startify at Vim startup. You can still call it anytime via
  361. :Startify.
  362. -----------------------------------------------------------------------------
  363. *g:startify_relative_path*
  364. >
  365. let g:startify_relative_path = 0
  366. <
  367. Show filenames relative to the current working directory instead of as
  368. absolute paths. This only applies to the "files" list, since the "dir" list is
  369. relative by nature.
  370. ==============================================================================
  371. AUTOCMD *startify-autocmd*
  372. In case you want to alter the startify buffer to cause all kinds of mayhem, an
  373. user autocmd is issued. You can hook into it like this:
  374. >
  375. autocmd User Startified let &l:stl = ' This statusline rocks!'
  376. <
  377. ==============================================================================
  378. COMMANDS *startify-commands*
  379. >
  380. :SLoad
  381. :SSave
  382. :SDelete
  383. <
  384. Commands to load, save or delete a session. These take either 0 or 1 argument.
  385. If you don't specify the session name as an argument, they will just ask for
  386. it.
  387. Providing only a part of the session name works too, if you complete the
  388. argument with either <c-d> or <tab> afterwards.
  389. >
  390. :SClose
  391. <
  392. Save and close the current session, close all listed buffers, and open the
  393. Startify buffer.
  394. >
  395. :Startify
  396. <
  397. Open the startify buffer.
  398. ==============================================================================
  399. MAPPINGS *startify-mappings*
  400. Some things are remapped in the startify buffer..
  401. >
  402. q
  403. <
  404. Close startify. Also quit Vim if it is the only buffer.
  405. >
  406. e
  407. <
  408. Close startify and create a blank buffer.
  409. >
  410. i
  411. <insert>
  412. <
  413. Close startify, create a blank buffer and jump into insert mode right away.
  414. >
  415. <2-LeftMouse>
  416. <
  417. Use a simple mouse click to open the targeted entry.
  418. >
  419. [any number that is shown between square brackets]
  420. <
  421. Open the entry with the given number.
  422. >
  423. b
  424. s
  425. v
  426. t
  427. <
  428. Mark current entry to be opened in either the same window, in a split window,
  429. in a vertical split window or in a new tab.
  430. >
  431. <cr>
  432. <
  433. Open all marked entries. If nothing was marked beforehand, just open the
  434. current entry.
  435. If you want to use another key instead of <cr>, put this in your vimrc:
  436. >
  437. autocmd User Startified nmap <buffer> o <plug>(startify-open-buffers)
  438. <
  439. ==============================================================================
  440. COLORS *startify-colors*
  441. You can overwrite the highlight groups used by startify. The plugin defines
  442. these groups:
  443. Highlight group | Description | Default
  444. ------------------------------------------------------------------
  445. | |
  446. StartifyBracket | [,] | linked to Delimiter
  447. StartifyFile | the actual file | <none>
  448. StartifyFooter | the custom footer | linked to Normal
  449. StartifyHeader | the custom header | linked to Normal
  450. StartifyNumber | the numbers between [] | linked to Number
  451. StartifyPath | the path to a file | <none>
  452. StartifySection | section headers | linked to Special
  453. StartifySelect | selected entries | linked to Title
  454. StartifySlash | slashes in paths | <none>
  455. StartifySpecial | <empty buffer>,<quit> | <none>
  456. Example: (my terminal emulator supports 256 colors)
  457. >
  458. highlight StartifyBracket ctermfg=240
  459. highlight StartifyFooter ctermfg=240
  460. highlight StartifyHeader ctermfg=114
  461. highlight StartifyNumber ctermfg=215
  462. highlight StartifyPath ctermfg=245
  463. highlight StartifySlash ctermfg=240
  464. highlight StartifySpecial ctermfg=240
  465. <
  466. ==============================================================================
  467. FAQ *startify-faq*
  468. |startify-faq-01| I don't want the start screen to use cursorline!
  469. |startify-faq-02| Recent files aren't shown!
  470. |startify-faq-03| I have broken colors when using sessions!
  471. |startify-faq-04| How to disable common but unimportant files?
  472. |startify-faq-05| CtrlP or NERDTree open a split in Startify!
  473. |startify-faq-06| How do I get both NERDTree and Startify working at
  474. startup?
  475. |startify-faq-07| The session autoload feature is not working!
  476. |startify-faq-08| How do I center my header/footer?
  477. ------------------------------------------------------------------------------
  478. *startify-faq-01*
  479. I want to use cursorline!~
  480. Startify issues a User event when it's finished. It can be used to set
  481. buffer-local options etc.
  482. >
  483. autocmd User Startified setlocal cursorline
  484. <
  485. ------------------------------------------------------------------------------
  486. *startify-faq-02*
  487. Recent files aren't shown!~
  488. Perhaps the problem is that the viminfo file..
  489. - doesn't exist
  490. - is invalid
  491. - is empty
  492. - can't be read (check permissions)
  493. I suggest the following steps:
  494. 1) Create a new directory:
  495. >
  496. $ mkdir -p ~/.vim/files/info
  497. <
  498. 2) Put this into your vimrc:
  499. >
  500. set viminfo='100,n$HOME/.vim/files/info/viminfo
  501. <
  502. See |'viminfo'| for information about the second step and what it does
  503. exactly.
  504. ------------------------------------------------------------------------------
  505. *startify-faq-03*
  506. I have broken colors when using sessions!~
  507. Nothing this plugin could do about. Try playing around with 'sessionoptions'.
  508. NOTE: Startify removes 'options' from the session options automatically,
  509. because it's the source of many problems.
  510. Some people swear it works for them with these settings:
  511. >
  512. set sessionoptions=blank,curdir,folds,help,tabpages,winpos
  513. <
  514. ------------------------------------------------------------------------------
  515. *startify-faq-04*
  516. How to disable common but unimportant files?~
  517. Use the skiplist. Personally I use:
  518. >
  519. let g:startify_skiplist = [
  520. \ 'COMMIT_EDITMSG',
  521. \ fnamemodify($VIMRUNTIME, ':p') .'/doc',
  522. \ 'bundle/.*/doc',
  523. \ '\.DS_Store'
  524. \ ]
  525. <
  526. ------------------------------------------------------------------------------
  527. *startify-faq-05*
  528. CtrlP or NERDTree open a split in Startify!~
  529. Put this in your vimrc:
  530. >
  531. autocmd User Startified setlocal buftype=
  532. <
  533. If you're using CtrlP without NERDTree, there is an even more elegant
  534. solution:
  535. >
  536. let g:ctrlp_reuse_window = 'startify'
  537. <
  538. ------------------------------------------------------------------------------
  539. *startify-faq-06*
  540. How do I get both NERDTree and Startify working at startup?~
  541. Put this in your vimrc:
  542. >
  543. autocmd VimEnter *
  544. \ if !argc()
  545. \ | Startify
  546. \ | NERDTree
  547. \ | wincmd w
  548. \ | endif
  549. <
  550. ------------------------------------------------------------------------------
  551. *startify-faq-07*
  552. The session autoload feature is not working!~
  553. Do you have NERDTree installed by any chance? If so, try this:
  554. >
  555. let NERDTreeHijackNetrw = 0
  556. <
  557. ------------------------------------------------------------------------------
  558. *startify-faq-08*
  559. How do I center my header/footer?~
  560. Try something along these lines:
  561. >
  562. function! s:filter_header(lines) abort
  563. let longest_line = max(map(copy(a:lines), 'len(v:val)'))
  564. let centered_lines = map(copy(a:lines),
  565. \ 'repeat(" ", (&columns / 2) - (longest_line / 2)) . v:val')
  566. return centered_lines
  567. endfunction
  568. let g:startify_custom_header = s:filter_header(['a', 'bb', 'ccc'])
  569. <
  570. ==============================================================================
  571. EXAMPLE *startify-example*
  572. This is my configuration..
  573. >
  574. autocmd User Startified setlocal cursorline
  575. let g:startify_enable_special = 0
  576. let g:startify_files_number = 8
  577. let g:startify_relative_path = 1
  578. let g:startify_change_to_dir = 1
  579. let g:startify_session_autoload = 1
  580. let g:startify_session_persistence = 1
  581. let g:startify_session_delete_buffers = 1
  582. let g:startify_list_order = [
  583. \ [' LRU:'],
  584. \ 'files',
  585. \ [' LRU within this dir:'],
  586. \ 'dir',
  587. \ [' Sessions:'],
  588. \ 'sessions',
  589. \ [' Bookmarks:'],
  590. \ 'bookmarks',
  591. \ ]
  592. let g:startify_skiplist = [
  593. \ 'COMMIT_EDITMSG',
  594. \ fnamemodify($VIMRUNTIME, ':p') .'/doc',
  595. \ 'bundle/.*/doc',
  596. \ '\.vimgolf',
  597. \ ]
  598. let g:startify_bookmarks = [
  599. \ '~/.vim/vimrc',
  600. \ '/data/vim/golfing',
  601. \ ]
  602. let g:startify_custom_footer =
  603. \ ['', " Vim is charityware. Please read ':help uganda'.", '']
  604. let g:startify_custom_header =
  605. \ map(split(system('tips | cowsay -f apt'), '\n'), '" ". v:val') + ['']
  606. hi StartifyBracket ctermfg=240
  607. hi StartifyFile ctermfg=147
  608. hi StartifyFooter ctermfg=240
  609. hi StartifyHeader ctermfg=114
  610. hi StartifyNumber ctermfg=215
  611. hi StartifyPath ctermfg=245
  612. hi StartifySlash ctermfg=240
  613. hi StartifySpecial ctermfg=240
  614. <
  615. ==============================================================================
  616. vim: tw=78