Commit graph

473 commits

Author SHA1 Message Date
Marco Hinz 5a45174657 Transformations: fall back to normal usage if no match 2016-03-21 11:25:30 +01:00
Marco Hinz 549f7f0c1b Make session_autoload=1 && disable_at_vimenter=1 work
References #211.
2016-03-20 16:28:46 +01:00
Marco Hinz c381ab79fc Transformations: allow patterns
The type of g:startify_transformations has to be a list of lists now.
The inner lists contain 2 elements, a pattern and either a string or a
funcref.

Example:

function! s:foo(filename)
  return fnamemodify(a:filename, ':t')
endfunction

let g:startify_transformations = [
      \ ['.*vimrc$', 'vimrc'],
      \ ['.*', function('s:foo')],
      \ ]

References #209.
2016-03-20 15:37:22 +01:00
Marco Hinz 570ef9e11f Don't add blank line for empty custom header
Closes #210.
2016-03-20 14:21:56 +01:00
Marco Hinz ffb80ec99e Add g:startify_transformations 2016-03-18 16:59:24 +01:00
Marco Hinz 5bef697e17 Doc: add tags for commands 2016-03-17 13:00:41 +01:00
Marco Hinz 41b53389af Make q work with 'buflisted' set
References #208.
2016-03-17 12:47:25 +01:00
Marco Hinz 61daf3ab19 Doc: explain dynamic custom headers in detail 2016-03-17 12:24:17 +01:00
Marco Hinz f90594bb9a Eval g:startify_custom_header if it's a string 2016-03-17 11:44:33 +01:00
Marco Hinz 994a85ac22 Refactoring: fortune.vim 2016-03-17 11:05:36 +01:00
Marco Hinz 6509329585 Fortune: use ' instead of `
Keep the fortune file ASCII-clean, according to:

http://english.stackexchange.com/questions/163480/which-is-the-correct-apostrophe-to-use-when-typing-quote-or-backtick
2016-03-15 01:42:55 +01:00
Marco Hinz 0a9e3de72c Doc: add g:startify_custom_header_quotes 2016-03-14 18:14:45 +01:00
Marco Hinz 075423f45a Default custom header: use * for corners 2016-03-14 17:29:08 +01:00
Marco Hinz e845a3958c Default custom header: add box and cow! 2016-03-14 17:26:59 +01:00
Marco Hinz a4d8870d2f Add missing fortune.vim 2016-03-14 15:56:17 +01:00
Marco Hinz 44034c01e8 Tests: g:startify_custom_header = [] 2016-03-14 15:48:39 +01:00
Marco Hinz ffe89edf03 FAQ: How to disable random quotes header? 2016-03-14 15:33:22 +01:00
Marco Hinz fa733c3e20 Show random quotes if g:startify_custom_header isn't set 2016-03-14 15:29:20 +01:00
Marco Hinz 8434c33f7a README: don't contact me via mail/gitter 2016-03-14 11:39:16 +01:00
Marco Hinz a4908f16e1 Doc: avoid using default keys for custom indices 2016-03-11 11:02:29 +01:00
Marco Hinz 193e0802ec Redraw screen after env hack 2016-03-07 15:58:03 +01:00
Sergey Vlasov f610be1431 Avoid 'Press Enter' message on session write 2016-03-07 16:28:52 +02:00
Marco Hinz 7b16f021a6 Doc: the most important command first 2016-03-07 13:23:46 +01:00
Marco Hinz de709a4dbe New option: g:startify_update_oldfiles
References #192.
2016-03-07 13:21:16 +01:00
Marco Hinz 2eaa25ba57 Prevent duplicates in v:oldfiles
References #192.
2016-03-07 13:10:45 +01:00
Marco Hinz 44f876f4e9 FAQ: There is an empty window with vim-plug! 2016-03-04 10:49:34 +01:00
Marco Hinz 23e043cc82 Env: prevent 'press enter' prompt in small windows (only Vim) 2016-02-15 16:14:36 +01:00
Marco Hinz d14150d22b Env: only run for the "files" listing 2016-02-13 21:23:24 +01:00
Marco Hinz de965726eb Env: prefer shortest variable name
If several environment variables point to the same directory, prefer the one
with the shortest name.

References #197.
2016-02-12 18:06:35 +01:00
Marco Hinz c621e375a1 Make g:startify_use_env work on Windows 2016-02-12 17:43:10 +01:00
Marco Hinz 5c50a1c669 New highlight group: StartifyVar
References #197.
2016-02-12 14:49:28 +01:00
Marco Hinz 9e4a159637 New option: g:startify_use_env
References #197.
2016-02-12 14:26:33 +01:00
Marco Hinz b3127cb0d4 Tests: use container-based infrastructure 2016-02-03 15:46:59 +01:00
Marco Hinz d8d27b216c Tests: test on Ubuntu and OSX 2016-02-03 15:15:44 +01:00
Marco Hinz b0d90b1f76 Tests: improve formatting of output 2016-02-03 14:51:54 +01:00
Marco Hinz 826b0f03e0 Tests: add syntax.vader 2016-02-02 16:44:11 +01:00
Marco Hinz 57252a4a56 Check if to be deleted session even exists 2016-02-02 15:01:00 +01:00
Marco Hinz 7994cae378 Add :SDelete! 2016-02-02 14:54:58 +01:00
Marco Hinz ec24c42b5c Never list __LAST__ as valid session 2016-02-02 14:44:07 +01:00
Marco Hinz 1c1c3abb80 Tests: add session.vader 2016-02-02 13:35:34 +01:00
Marco Hinz 9e296c31d9 Tests: simplify .travis.yml 2016-02-02 12:33:15 +01:00
Marco Hinz c742c3a752 Tests: reorganization 2016-02-02 12:25:39 +01:00
Marco Hinz 709572ccb2 README: remove Gitter badge 2016-02-02 12:04:11 +01:00
Marco Hinz 8545f6f553 Put last used session marker in session directory 2016-01-12 15:11:03 +01:00
Marco Hinz e3fb0cd845 FAQ: how to use the output of a command as header? 2016-01-05 23:00:10 +01:00
Marco Hinz 84fb86e5da README: moved feature details to wiki 2015-12-28 00:06:18 +01:00
Marco Hinz e75c49a339 Shorter section headers
Use shorter section headers and add the current working directory to the 'dir'
list.

References #193.
2015-12-27 21:10:07 +01:00
Marco Hinz 7e4cb5a974 README: complete revamp 2015-12-27 20:15:59 +01:00
Daniel Hahler 96b5fdaa77 Remove duplicate entries when adding to v:oldfiles
References #192.
2015-12-27 14:09:21 +01:00
Marco Hinz 295fe7a09a Avoid '&&' in system()
I assumed that every shell would support '&&'. Apparently this is not the case
for Fish: it uses 'and'...

Anyway, the simple solution is to avoid cd'ing in the proper directory first
and just using absolute paths for ln instead.

References #165.
2015-12-11 15:51:08 +01:00