Commit graph

428 commits

Author SHA1 Message Date
Marco Hinz f8f90f5704 Doc: correct faq-01 2014-10-30 17:12:00 +01:00
Marco Hinz 044feaa017 Link StartifySpecial to Comment 2014-10-30 17:09:29 +01:00
Marco Hinz c493cb902b Doc: fix typo 2014-10-23 13:46:49 +02:00
Marco Hinz 56fcb1e62e Doc: use User autocmd instead of FileType
References #114.
2014-10-23 12:37:28 +02:00
Marco Hinz 7d36933f9c Don't truncate g:startify_session_savevars
References #113.
2014-10-23 12:13:05 +02:00
Marco Hinz 5f45a3dc8e Doc: add missing option to options TOC 2014-10-09 16:14:03 +02:00
Marco Hinz d3d01a45ff Use cleaner line breaking 2014-09-30 12:44:39 +02:00
Marco Hinz 6a933d2c24 Don't start at 'vim -y'
References #111.
2014-09-29 11:38:04 +02:00
Marco Hinz b2af0d5764 Update defaults colors 2014-09-22 15:40:07 +02:00
Marco Hinz af2368cd75 Sessions: only prune unlisted buffers from arglist
References #110.
2014-09-21 14:08:40 +02:00
Marco Hinz 6616caa341 Doc: update g:startify_custom_header example 2014-09-17 17:31:17 +02:00
Marco Hinz 5085af8f0a Doc: sort TOC of options 2014-09-17 17:29:32 +02:00
Marco Hinz 5334a7eed5 Remove g:startify_session_detection
This was always enabled by default and no one seems to disable it.
2014-09-17 17:22:28 +02:00
Marco Hinz 298b53aeca Remove g:startify_restore_position
This is an unnecessary option.

    :h last-position-jump
2014-09-17 16:42:37 +02:00
Marco Hinz fa866e16f1 Remove g:startify_empty_buffer_key
This is an unnecessary option. It can be done like this:

    autocmd User Startified nnoremap <buffer><silent>X :enew<cr>
2014-09-17 16:32:07 +02:00
Reuben D'Netto 88a3c7e420 Read g:startify_list_order every time
Closes #109.
2014-09-17 16:30:00 +02:00
Marco Hinz 9fbbf730b9 Doc: add TOC to FAQ 2014-09-11 18:59:31 +02:00
Marco Hinz 7b41ac7369 Doc: add statusline plugins to the FAQ 2014-09-11 18:36:31 +02:00
Marco Hinz 1a5586e0da Trigger User autocmd for people to hook into
References #107.
2014-09-11 17:50:01 +02:00
Marco Hinz b92a8f1b51 Extend example configuration 2014-09-09 13:57:15 +02:00
Marco Hinz 00e9af20b3 Use sane defaults instead of an empty skiplist 2014-09-09 13:46:44 +02:00
Marco Hinz fc9a305bd9 Merge branch 'pers-sessions' 2014-09-08 11:18:42 +02:00
Marco Hinz 67e9147b51 Reset list of section lines properly 2014-09-07 19:12:18 +02:00
Marco Hinz 4a788df9b4 Don't save the startify buffer in a session
References #106.
2014-09-07 18:49:49 +02:00
Marco Hinz d4eb81e5f2 Saner cursor starting position 2014-09-05 21:46:43 +02:00
Marco Hinz 1765f6b6bb Prune arglist before saving sessions
:mksession saves opened buffers and files listed in the arglist.

Assuming you would do:

    $ vim foo bar
    :SS session
    :x
    $ vim
    :SL session
    :bwipeout bar
    :x

In that case the only file left in the session should be 'foo'. But
that's not the case, since :mksession! also saves the argument list,
which still consists of 'foo' and 'bar'. Next time you load the session,
both buffers would be opened again.

But since the argument list is seldomly used, or at least not with the
arguments that were given to Vim, it will be pruned from now on.

References #106.
2014-09-05 19:38:01 +02:00
Marco Hinz 4558912d0c Save sessions before loading another one
References #106.
2014-09-05 19:15:34 +02:00
Marco Hinz 8fdcc8c964 README: switch to asciidoc 2014-09-03 17:21:18 +02:00
Marco Hinz 9296df32f1 Update screenshot 2014-09-03 13:52:18 +02:00
Marco Hinz 1b7ca2ed7c Fix regex for properly selecting several entries 2014-09-02 23:12:52 +02:00
Marco Hinz eca7c84c41 Don't ignore file extensions of sessions 2014-09-02 22:46:48 +02:00
Marco Hinz 4b9e87cdda Fix Number/Select highlighting for corner cases 2014-09-02 17:56:15 +02:00
Marco Hinz 9102978c7b Fix filenames with spaces - again #2
Vim automagically does some globbing, if a path to :edit contains
special characters.

Works:        :edit /tmp/foo [bar]
Doesn't work: :edit /tmp/foo bar

This reverts 03de6ee but fixes the actual problem in another place by
throwing escape(xxx, ' ') at the path.

References #102.
2014-09-02 17:08:49 +02:00
Marco Hinz 236e3e9ea2 Add StartifySelect highlight group 2014-09-02 16:28:10 +02:00
Marco Hinz 03de6ee94d Fix filenames with spaces - again
References #102.
2014-09-02 15:06:56 +02:00
Marco Hinz 2fe12144eb Respect g:startify_session_delete_buffers in all cases
Closes #104.
2014-09-01 19:09:52 +02:00
Marco Hinz bf85306c7f Fix syntax for the "~/[foo].txt" case
Thanks to my local regexp wizard, @Osse, for helping me coming up with
the proper regexp.

References #82.
2014-08-21 19:36:58 +02:00
Marco Hinz 90358248e3 Escape paths before globbing
References #82.
2014-08-21 18:56:41 +02:00
Marco Hinz ba1208c3f5 Doc: update wording of g:startify_skiplist 2014-08-21 15:20:30 +02:00
Marco Hinz aa17d6a7cb Refactor show_{dir,files}() 2014-08-21 15:08:15 +02:00
Marco Hinz 685f2546fd Update syntax to handle [ and ] in paths 2014-08-21 13:29:30 +02:00
Marco Hinz b37d42509b Fix change_to_dir option
Thanks for reporting, @Osse.
2014-08-21 10:31:04 +02:00
Marco Hinz ec869a589e Issue a warning if the viminfo file can't be read
Also add a typical solution to the FAQ.

Closes #89.
2014-08-20 19:00:58 +02:00
Weirong Xu cbc2b29575 Map: use silent nnoremap to open entries 2014-07-14 18:53:12 +02:00
Marco Hinz 7676944ad7 Doc: add another example for custom indices 2014-06-11 12:35:01 +02:00
Marco Hinz 3f8699c4ee Fix index order in certain corner case
Closes #93.
2014-06-11 12:24:51 +02:00
Marco Hinz 19da8f9ee8 Make persistence work with normal sessions 2014-06-11 12:14:21 +02:00
Benjamin Medicke a4eef8c086 Make startify work with Neovim 2014-06-11 11:41:58 +02:00
Alejandro Exojo fe5aa8f0ba Qt Vim deserves some startup love too 2014-05-07 13:01:10 +02:00
ZeroKnight 678df1e12c Fix pathname display on Windows
glob(fname) forces `fname` to abide by the 'shellslash' setting

fnamemodify(..., ':p:~') will shorten pathnames to '~/...' if possible
2014-04-24 08:32:59 +02:00