Commit graph

189 commits

Author SHA1 Message Date
Marco Hinz 685760fb69
Remove g:startify_mapping_nowait
This option got obsoleted by 07b122f.
2016-12-07 13:15:40 +01:00
Marco Hinz 3a5ac99e12
Doc: add g:startify_padding_left 2016-11-27 02:43:22 +01:00
Marco Hinz 43a322edb6
FAQ 08: improve example 2016-11-24 20:32:24 +01:00
Marco Hinz df32cef08b
Enable g:startify_mapping_nowait by default
Closes #247.
2016-11-22 10:36:46 +01:00
Marco Hinz 3f7b8d7b5e Doc: add remark about nested autocmds 2016-07-21 17:09:15 +02:00
Marco Hinz 3bd270a3f2 New option: g:startify_session_before_save
Execute commands before saving the session. Useful for cleaning up.

Closes #222.
2016-06-01 17:43:19 +02:00
Marco Hinz cee51f4a9a New option: g:startify_session_sort
Sort your sessions by mtime by putting this in your vimrc:

    let g:startify_session_sort = 1

Closes #221.
2016-06-01 17:23:57 +02:00
Marco Hinz e5ce53fbef Make g:startify_commands more flexible 2016-05-31 23:38:29 +02:00
Ernst Widerberg e551be9cb0 Docs: ex command list 2016-05-31 23:38:29 +02:00
Marco Hinz 5bef697e17 Doc: add tags for commands 2016-03-17 13:00:41 +01:00
Marco Hinz 61daf3ab19 Doc: explain dynamic custom headers in detail 2016-03-17 12:24:17 +01:00
Marco Hinz 0a9e3de72c Doc: add g:startify_custom_header_quotes 2016-03-14 18:14:45 +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 a4908f16e1 Doc: avoid using default keys for custom indices 2016-03-11 11:02:29 +01: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 44f876f4e9 FAQ: There is an empty window with vim-plug! 2016-03-04 10:49:34 +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 7994cae378 Add :SDelete! 2016-02-02 14:54:58 +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 438abff72b Doc: FAQ 10: temporarily disable Startify at start
Closes #190.
2015-12-07 15:00:13 +01:00
Marco Hinz b81dfa54b9 Ignore <nowait> before 7.3.1261
References #183.

Helped-by: @timss
2015-11-22 02:07:00 +01:00
kkoenig 83d1e8ad1c Doc: add missing tags for g:startify_list_order
Closes #187.
2015-11-17 22:16:03 +01:00
Marco Hinz 3e5809c776 Doc: sort options by topic 2015-11-16 13:15:03 +01:00
somini 5b43cef057 New option: g:startify_mapping_nowait
This option forces the use of <nowait> mappings.

This might be useful if you have global mappings that start with the same
characters as indexes from Startify.

References #180
Closes #186.
2015-11-16 12:32:28 +01:00
Marco Hinz 046c62115f Doc: add tmux-resurrect to FAQ
References #181.
2015-11-14 03:09:52 +01:00
Marco Hinz 80384d9c05 :SL without argument loads last session on Unix
References #181.
2015-11-14 02:18:03 +01:00
Konfekt 7b83d16e27 Doc: update refined filter option
Closes #185.
2015-11-06 18:17:37 +01:00
Marco Hinz df8b4e1fde Support for custom indices for g:startify_bookmarks
g:startify_bookmarks now supports custom indices directly. E.g.

    let g:startify_bookmarks = [ {'v': '~/.vimrc'} ]

References #176, #178.
2015-11-03 22:39:58 +01:00
Marco Hinz 695121f065 Change skiplist default + improve docs
Thanks for the feedback, @Osse.
2015-07-06 18:53:46 +02:00
Marco Hinz 1f42935fd6 Introduce g:startify_session_remove_lines
References #159.
2015-05-12 12:02:19 +02:00
Marco Hinz 3e143739d7 Expand '~' in the skiplist
The skiplist gets checked against normal Vim regular expressions. That also
means that you can't just use '~'; see ":h /\~".

That especially sneaky if you use variables that refer to directories within
your home directory.

Solution: expand them via fnamemodify().

References #154.
2015-04-20 02:46:36 +02:00
Marco Hinz e3988d2446 Doc: better explanation of skiplist option
References #154.
2015-04-15 10:29:00 +02:00
Marco Hinz 08c0164a1b Introduce g:startify_enable_unsafe
References #149.
2015-03-06 16:12:17 +01:00
Marco Hinz 5a60580711 Update recently used files on the fly
Startify depends on v:oldfiles which lists recently used files (taken from the
viminfo file). But viminfo only gets updated once in a session: at exiting
Vim. Thus when you worked in a Vim instance for some time and opened multiple
new buffers, v:oldfiles (and therefore :Startify) wouldn't show the most
recently used files anymore.

Luckily v:oldfiles is editable, so now, each new buffer simply prepends its
associated filename to it, making :Startify always up-to-date.

References #148.
2015-02-11 17:49:22 +01:00
Marco Hinz b184b92e96 Doc: add FAQ 09 "How do I center my header/footer?" 2015-01-15 18:28:55 +01:00
Marco Hinz 362fa1d957 Fix autoloading of sessions from bookmarked directories
References #144.
2015-01-14 11:46:18 +01:00
Marco Hinz aea086205c Change meaning of g:startify_session_autoload
References #142.
2015-01-08 21:42:54 +01:00
Marco Hinz 832c0a65b1 Doc: add :SClose 2015-01-06 00:59:17 +01:00
Marco Hinz d3e2ebd3e3 Correct grammar: "last recently" -> "most recently"
Closes #129.
2014-11-25 12:19:59 +01:00
Marco Hinz 8e9ef61087 Refactoring: make "dir" list always relative 2014-11-23 17:39:51 +01:00
Daniel Hahler f86d604915 Doc: use autocmd for remapping '<cr>'
Closes #126.
2014-11-22 18:59:13 +01:00
Marco Hinz 339cdae1af Expose "open buffers" functionality for mapping
References #123.
2014-11-22 18:15:29 +01:00
Marco Hinz e964a581d0 Only set customized &stl if it's empty
References #118.
2014-11-16 14:06:25 +01:00
Marco Hinz f8f90f5704 Doc: correct faq-01 2014-10-30 17:12:00 +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 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 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
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 4558912d0c Save sessions before loading another one
References #106.
2014-09-05 19:15:34 +02:00
Marco Hinz 236e3e9ea2 Add StartifySelect highlight group 2014-09-02 16:28:10 +02:00
Marco Hinz ba1208c3f5 Doc: update wording of g:startify_skiplist 2014-08-21 15:20:30 +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
Marco Hinz 7676944ad7 Doc: add another example for custom indices 2014-06-11 12:35:01 +02:00
Marco Hinz 19da8f9ee8 Make persistence work with normal sessions 2014-06-11 12:14:21 +02:00
Øystein Walle 5370a743f2 New option: show relative paths
Closes #72.
2014-03-31 10:30:52 +02:00
UncleBill 85a7168d71 Delete open buffers before loading a new session
Closes #70.
2014-03-18 11:34:53 +01:00
Anton Shemerey bed53e76e6 Doc: missing comma in g:startify_skiplist 2013-11-12 17:45:45 +01:00
Jeremy Mack ccd02cbe16 Make split fix for NERDTree explicit 2013-11-09 17:00:35 +01:00
Marco Hinz cd0fc8c045 Doc: add example config 2013-10-22 21:32:08 +02:00
Marco Hinz 5179180d58 Doc: add mappings section 2013-10-22 17:25:03 +02:00
Marco Hinz 8c28dc6f2e Doc: remove redundant descriptions 2013-10-22 17:02:26 +02:00
Marco Hinz 13e3fd5c58 Doc: add StartifySection highlight group 2013-10-22 14:44:31 +02:00
Marco Hinz 4aecc71d9f Doc: add section headers 2013-10-22 13:51:38 +02:00
Marco Hinz bec18a1fa4 Doc: update FAQ on broken colors
References #49.
2013-10-18 11:52:10 +02:00
Marco Hinz d879f39a5d Doc: refactoring 2013-10-10 17:47:42 +02:00
Marco Hinz 25af84baa0 New option: g:startify_disable_at_vimenter 2013-09-24 18:17:26 +02:00
Marco Hinz 03810e9096 New options: g:startify_session_save{vars,cmds} 2013-09-24 17:38:52 +02:00
Marco Hinz 236996f55b Doc: add nice custom header example 2013-09-18 22:22:04 +02:00
Marco Hinz 85ce548261 Add highlighting for custom footer 2013-09-04 09:25:33 +02:00
Marco Hinz f02ed576d5 Doc: clarify on the new option 2013-08-31 21:34:10 +02:00
Marco Hinz d6932388c6 Merge pull request 42 from bling 2013-08-31 21:29:34 +02:00
Bailey Ling a64ee097d8 New option: g:startify_change_to_vcs_root 2013-08-31 21:28:11 +02:00
Marco Hinz 26638b30d4 Introduce T for opening files in tabs
Closes #39.
2013-08-22 19:14:34 +02:00
Marco Hinz 519609d26e Doc: improve FAQ
References #37.
2013-08-21 10:42:50 +02:00
Marco Hinz ae74fc3ca0 Doc: clarify on custom indices 2013-08-13 15:37:29 +02:00
Marco Hinz c9c4b559a3 Doc: add option toc 2013-08-13 15:26:06 +02:00
Marco Hinz 23173c7d6b FAQ: add ctrlp/split issue
References #36.
2013-08-13 11:47:35 +02:00
Marco Hinz b624d3a439 New option: g:startify_session_persistence
Whenever you load/save a session, v:this_session is set automatically.
If this option is enabled and v:this_session exists, the session file
will be updated before exiting Vim.

References #32.
2013-08-13 11:10:41 +02:00
Marco Hinz 050c424afe Doc: add another FAQ because of NERDTree 2013-08-10 10:43:28 +02:00
Marco Hinz f8c9b7ddfe New option: g:startify_session_autoload 2013-08-10 09:05:02 +02:00
Marco Hinz 888dcfbc0d New option: g:startify_session_detection 2013-08-08 17:53:40 +02:00
Marco Hinz f96d217c70 Doc: add NERDTree hint to FAQ 2013-08-05 15:04:01 +02:00
Marco Hinz e10b807ba9 Doc: g:startify_list_order 2013-08-05 13:52:24 +02:00
Øystein Walle 7107538da0 Optionally restore cursor position
This uses the '" mark to restore the last cursor position when opening a
file, implemented as BufReadPost autocmd.
2013-08-04 18:51:47 +02:00
Marco Hinz 068c5ef102 Use MIT license
Tom Preston-Werner's keynote at OSCON 2013 convinced me that the MIT
license is the proper license for this plugin.
2013-08-02 12:47:01 +02:00
Marco Hinz 44c01cf608 New lists handling 2013-07-30 10:26:40 +02:00
Marco Hinz 2c77ba02a2 Use skiplist to filter the current directory 2013-07-29 22:50:08 +02:00