Commit graph

429 commits

Author SHA1 Message Date
Marco Hinz
f96d217c70 Doc: add NERDTree hint to FAQ 2013-08-05 15:04:01 +02:00
Marco Hinz
cede7aec39 Fix the use of s:numfiles 2013-08-05 14:40:45 +02:00
Marco Hinz
e10b807ba9 Doc: g:startify_list_order 2013-08-05 13:52:24 +02:00
Marco Hinz
32c62857c9 Clean up VimEnter autocmd 2013-08-05 00:15:27 +02:00
Marco Hinz
516a92060e Bump to 1.7 2013-08-04 23:35:12 +02:00
Marco Hinz
22edae78d1 Merge branch 'restore-cursor-position' 2013-08-04 18:55:37 +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
34436b8da5 Remove VimEnter event after execution 2013-08-04 18:08:57 +02:00
Marco Hinz
0d132390dd Fix enew handling
Closes #33.
2013-08-04 18:06:05 +02:00
Marco Hinz
a576a6370a Test for an empty viminfo file 2013-08-02 15:46:12 +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
257dcf5db3 Make it possible to change buffer's properties
If you ever should feel the urge to change the properties of Startify's
scratch buffer, you can overwrite them via an autocmd. E.g.:

    autocmd FileType startify setlocal buftype= statusline=YEEHAW

References #6.
2013-08-01 19:11:40 +02:00
Marco Hinz
44c01cf608 New lists handling 2013-07-30 10:26:40 +02:00
Marco Hinz
1675e50fca Join some setlocal commands 2013-07-30 00:05:06 +02:00
Marco Hinz
2c77ba02a2 Use skiplist to filter the current directory 2013-07-29 22:50:08 +02:00
Marco Hinz
fd0d93476a Merge branch 'buffer-improvements'
Closes #30.
2013-07-29 21:59:25 +02:00
Marco Hinz
428d7f5a35 Prevent empty buffers
References #30.
2013-07-29 14:53:04 +02:00
Marco Hinz
ae062f2b6f Unlet s:marked after execution
This lead to nasty bugs because Startify would take the wrong branch to
open the new buffers.

References #30.
2013-07-29 13:42:17 +02:00
Marco Hinz
e0b295a725 Remember mappings until <cr> is hit
A certain branch tried to execute buffer-local mappings after calling
:enew. Therefore the mappings didn't exist anymore.

References #30.
2013-07-29 10:32:59 +02:00
Marco Hinz
e9f28fb929 Fix header clipping
References #31.
2013-07-26 02:08:27 +02:00
Marco Hinz
7189c4bdef Improve the new approach
Works better but there seems to be a difference when selecting an entry by
mapping and by hitting <cr>.
2013-07-26 01:53:34 +02:00
Marco Hinz
34ba64ca88 New approach of handling plugins 2013-07-25 20:16:32 +02:00
Marco Hinz
53019cc309 Make Startify a scratch buffer again 2013-07-25 13:53:34 +02:00
Marco Hinz
77a14e70a8 Silence 'q' 2013-07-24 00:30:42 +02:00
Marco Hinz
990c2d2a30 Docs: add Twitter handle 2013-07-22 20:36:38 +02:00
Marco Hinz
6f3cb22c10 Don't decrement s:numfiles
This worked for the startup, but messed up calling :Startify, because
s:numfiles was down to 0.
2013-07-19 22:09:25 +02:00
Marco Hinz
e7ce96c243 README: refactoring 2013-07-19 15:48:44 +02:00
Marco Hinz
98aaf4e70c Use blank statusline 2013-07-19 01:51:02 +02:00
Marco Hinz
1e8d6142ec Leave out directories
References #29.
2013-07-19 01:31:31 +02:00
Marco Hinz
a20fa308d3 Function refactoring 2013-07-19 01:27:01 +02:00
Marco Hinz
d18cba2fa2 Improve option handling 2013-07-19 01:08:10 +02:00
Marco Hinz
9dd72dd2cd New option: g:startify_show_dir
Closes #29.
2013-07-19 00:40:20 +02:00
Marco Hinz
6b08a71b94 Update 'local-additions' header 2013-07-17 08:07:57 +02:00
Marco Hinz
23349d1a98 New option: g:startify_change_to_dir 2013-07-15 23:19:56 +02:00
Marco Hinz
c7fe8bb630 Docs: refactoring 2013-07-12 20:55:37 +02:00
Marco Hinz
66a1a1fe6a Update startify.png 2013-07-12 13:42:42 +02:00
Marco Hinz
9e69cb28f9 StartifyHeader region: fix off-by-one 2013-07-11 14:05:22 +02:00
Marco Hinz
687ee156f8 Set nolist locally 2013-07-11 13:54:52 +02:00
Marco Hinz
a7c2573cab Docs: add infos about the new custom header
Closes #27.
2013-07-11 13:50:53 +02:00
Marco Hinz
31ceed8f60 Gitignore: update 2013-07-11 13:38:58 +02:00
Marco Hinz
340f4b6835 New highlight group: StartifyHeader
It links to Normal by default.

References #27.
2013-07-11 13:37:47 +02:00
Marco Hinz
7a710d92d8 Fix cursor offset off-by-one
References #27.
2013-07-11 13:15:22 +02:00
Marco Hinz
349d2a9f3d New option: g:startify_custom_header
This is a list of strings to print before everything else. It's
surrounded by blank lines.

References #27.
2013-07-11 13:06:08 +02:00
Marco Hinz
80c66870fa Remove s:escape()
References #25.
2013-07-01 22:32:14 +02:00
Marco Hinz
3775b54d46 Minor code prettifing 2013-06-26 20:27:10 +02:00
Marco Hinz
a857d83865 Align code 2013-06-10 23:32:58 +02:00
Marco Hinz
cb5ac41cfe CONTRIBUTING: one commit per feature 2013-05-31 13:14:51 +02:00
Marco Hinz
544690b6c0 Close Startify buffer on WinLeave
Before this change the Startify buffer didn't close if only split
actions ('s' and 'v') were used to open files.
2013-05-31 13:09:14 +02:00
Marco Hinz
9ac81a8aab README: add more Markdown formatting 2013-05-31 12:58:41 +02:00
Marco Hinz
a624869b4d Change <space> binding to b 2013-05-31 12:53:00 +02:00