Commit graph

557 commits

Author SHA1 Message Date
Marco Hinz 0c23b67dbf
Warn if :StartifyDebug is run outside Startify buffer 2017-11-02 20:24:23 +01:00
Marco Hinz 7f910ed436
Use VimLeavePre for session persistence 2017-06-15 18:15:45 +02:00
Marco Hinz 53c53b2444
Make startify#fortune#boxe() handle funcref
References #285.
2017-06-05 13:34:55 +02:00
Marco Hinz 1940c9f9b9
Make startify#fortune#boxed() take optional argument
References #285.
2017-06-05 10:52:22 +02:00
Marco Hinz ae8cfbb9db
g:startify_use_env: ignore $HOME
References #284.
2017-05-30 00:00:35 +02:00
Marco Hinz 367aec0966
g:startify_use_env: compare against absolute path
References #284.
2017-05-29 23:13:35 +02:00
Marco Hinz c60ebcc313
g:startify_relative_path: :.:~ -> :~:.
References #284.
2017-05-29 21:13:58 +02:00
Marco Hinz 1b128ab685
Doc: clarify g:startify_relative_path
References #284.
2017-05-29 13:05:31 +02:00
Marco Hinz 1e251fb749
Fix g:startify_change_to_dir corner cases
References https://github.com/mhinz/vim-startify/issues/283
2017-05-07 20:05:50 +02:00
Samar Dhwoj Acharya 8abaf8ed9f Fix dir listing corner case 2017-05-03 09:45:17 +02:00
Marco Hinz 664ed502ed
Use vim-devicons only when it's enabled
References c193556225 (commitcomment-21866826)
2017-04-22 16:32:36 +02:00
Marco Hinz f80b0cbe62
Make <MiddleMouse> use "* instead of "" by default
Startify remaps <MiddleMouse> and uses v:register to paste from a specific
register.

The problem:

Unless 'clipboard' is set to "unnamed" or "unnamedplus", v:register will default
to "", whereas <MiddleMouse> usually defaults to "*.

Fixes #281.
2017-04-07 01:52:21 +02:00
Marco Hinz 2e89a6ec2b
Expand bookmark paths
Closes #275.
2017-03-13 15:53:25 +01:00
Marco Hinz a16e94e687
Disable intro to avoid potential flashing
References #229.
2017-02-26 03:39:09 +01:00
Marco Hinz b7398c8135
Check g:startify_session_persistence on VimLeave
Closes #274.
2017-02-25 22:45:12 +01:00
Marco Hinz 967ea449f5
Make <MiddleMouse> take register
References #272.
2017-02-22 21:08:07 +01:00
Marco Hinz 66d4500576
Make <MiddleMouse> paste in new empty buffer
References #272.
2017-02-22 19:48:42 +01:00
Marco Hinz 5e9e6a48c9
README: add gotcha section
References #269.
2017-02-04 13:52:51 +01:00
Marco Hinz 72c51e773a
New option: g:startify_session_number
Closes #268.
2017-01-20 20:11:32 +01:00
Marco Hinz b08d65a967
Make buffer readonly again
This time we pay more attention to when the buffer will still be written by the
plugin itself.

Note to self: Never commit after midnight.
2017-01-19 14:07:27 +01:00
Marco Hinz 42a317bc9e
Revert "Make buffer readonly"
This reverts commit 5c4ed4a34a.
2017-01-19 13:16:31 +01:00
Marco Hinz 5c4ed4a34a
Make buffer readonly
This is done to avoid accidentally saving the Startify buffer to disk.

For why Startify is not using buftype=nofile in the first place, see `:h
startify-faq-05`.

References #265.
2017-01-19 03:49:14 +01:00
Marco Hinz 44be5fc486
Fortune: remove PL-specific quote 2017-01-19 01:51:04 +01:00
Marco Hinz 8e1b21fb04
Doc: replace FAQ 05
The old FAQ 05 was obsolete.

References #265.
2017-01-19 01:34:43 +01:00
Marco Hinz 1d722c72f9
Fortune: add new quotes 2017-01-19 00:47:28 +01:00
Marco Hinz b8da06ad2c
Doc: add cowsay() example 2017-01-12 01:40:45 +01:00
Marco Hinz 5affa1fb89
Add :scriptencoding to fortune.vim 2017-01-11 20:57:27 +01:00
Marco Hinz e8756ee862
Fortune: make cowsay() take optional characters
Example:

    let g:startify_custom_header =
        \ startify#fortune#cowsay('═','║','╔','╗','╝','╚')
2017-01-11 20:54:36 +01:00
Marco Hinz b9e9a8addb
Fortune: readd quotes
Oops..
2017-01-11 20:23:41 +01:00
Marco Hinz f7c4e8a0cb
Doc: update g:startify_session_delete_buffers
References #262.
2017-01-11 16:59:16 +01:00
Marco Hinz 579b106724
Make g:startify_session_delete_buffers = 1 the default
References #262.
2017-01-11 16:28:38 +01:00
Marco Hinz 3510ff837c
README: update screenshot 2017-01-11 13:17:59 +01:00
Marco Hinz f3044c7f52
Fortune: handle multibyte characters 2017-01-11 12:57:33 +01:00
Marco Hinz 89bf0a5c24
New option: g:startify_fortune_use_unicode
References #261.
2017-01-10 14:03:22 +01:00
Marco Hinz af521fa617
Fix s:sort_by_mtime()
Fixes #260.
2017-01-07 14:13:07 +01:00
Marco Hinz 28cfff5ba9
Sessions: filter foox.vim only if foo.vim exists
We used to filter all sessions ending with "x.vim", because of session extra
files. (See 10. in `:h :mks`.)

To avoid false positives, we now only filter a session "foox.vim", if there is
also an accompanying session "foo.vim".

References #259.
2017-01-06 00:36:58 +01:00
Marco Hinz c26fcfcd17
Fortune: add Alan Perlis quotes
Closes #256.
2017-01-02 14:39:06 +01:00
Marco Hinz 72f398ebe2
Don't trigger autocmds on :enew
Fixes #257.
2016-12-26 23:12:51 +01:00
Marco Hinz 881246ed5c
Mappings: add s:nowait to j and k 2016-12-20 11:39:27 +01:00
Marco Hinz 3a1ed53393
Remove "wait" arg from s:register 2016-12-20 11:29:17 +01:00
Marco Hinz 8b8cc3fdba
Fortune: add new quotes 2016-12-20 11:28:47 +01:00
Marco Hinz 685760fb69
Remove g:startify_mapping_nowait
This option got obsoleted by 07b122f.
2016-12-07 13:15:40 +01:00
Marco Hinz 07b122f7b4
Enforce mapping order when using <nowait>
Opposed to normal mappings, the definition order is important when using
<nowait> mappings.

Simple test case:

:enew | nnoremap <buffer><nowait> 1 :echo "foo"<cr>| nnoremap <buffer><nowait> 11 :echo "bar"<cr>

Then hit 1 in normal mode.

:enew | nnoremap <buffer><nowait> 11 :echo "foo"<cr>| nnoremap <buffer><nowait> 1 :echo "bar"<cr>

Then hit 1 in normal mode again.

References #252.
2016-12-06 21:57:49 +01:00
Marco Hinz 3a5ac99e12
Doc: add g:startify_padding_left 2016-11-27 02:43:22 +01:00
Nate c14a677496
Add g:startify_padding_left
Closes https://github.com/mhinz/vim-startify/pull/250
2016-11-27 02:39:09 +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 9732427469 Don't silence system()
References #243.
2016-10-31 22:53:10 +01:00
Marco Hinz 150571becb Revert "Ignore "ln" errors"
This reverts commit 7b8f614b09.
2016-10-31 22:47:42 +01:00
Marco Hinz 7b8f614b09 Ignore "ln" errors
References #243.
2016-10-31 13:02:12 +01:00