Commit graph

319 commits

Author SHA1 Message Date
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
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
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
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
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
23349d1a98 New option: g:startify_change_to_dir 2013-07-15 23:19:56 +02:00
Marco Hinz
687ee156f8 Set nolist locally 2013-07-11 13:54:52 +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
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
a624869b4d Change <space> binding to b 2013-05-31 12:53:00 +02:00
Marco Hinz
37d6f0137b Do not give already escaped path to filereadable()
References #22.
2013-05-30 11:36:01 +02:00
Marco Hinz
4e9b9a2f31 Bump to 1.6 2013-05-30 10:26:55 +02:00
Marco Hinz
f535b97b3f Make completion work with files containing spaces 2013-05-30 09:57:59 +02:00
AkaiBureido
efb79ebed9 Do no concatenate sname to spath prior empty check 2013-05-30 09:17:41 +02:00
Marco Hinz
b9dcd09038 Less magic when opening sessions 2013-05-25 18:09:24 +02:00
Marco Hinz
453e4e56b4 SSave: use correct variable 2013-05-25 17:48:32 +02:00
Marco Hinz
ab8c15eb4c SSave: check for empty input 2013-05-25 11:36:02 +02:00
Marco Hinz
77aa5df09f Function renaming and reordering 2013-05-25 11:20:18 +02:00
AkaiBureido
77642786c2 Resolve scoping issues 2013-05-25 11:04:33 +02:00
Marco Hinz
12e662ece0 Function reordering 2013-05-13 22:53:16 +02:00
Marco Hinz
b0edb1deab Make internal functions script-local 2013-05-13 22:50:13 +02:00
Marco Hinz
3414459d82 Do not mangle global namespace 2013-05-13 19:53:44 +02:00
Marco Hinz
51314fd3c8 Put almost everything into autoload 2013-05-13 19:48:03 +02:00
Marco Hinz
edfe0cf1f6 Make commands remember last used session
Closes #20.
2013-05-13 00:02:17 +02:00
Marco Hinz
ab48a7b26c Allow spaces in session names 2013-05-11 16:37:53 +02:00
Marco Hinz
b7175c0456 Bump to 1.5 2013-05-08 17:19:19 +02:00
Marco Hinz
47a96067c4 Better symlink handling 2013-05-08 17:18:11 +02:00
Marco Hinz
7724dde313 autoload: add marker folds 2013-05-02 23:34:45 +02:00