Commit graph

91 commits

Author SHA1 Message Date
Marco Hinz 3b362f6514 Remove debug echo 2013-09-03 18:50:54 +02:00
Marco Hinz 6fd47ecea4 New option: g:startify_custom_footer 2013-09-03 00:08:17 +02:00
Marco Hinz 4f7d5aae53 Fix last line issue 2013-09-01 20:03:55 +02:00
Marco Hinz ddb4fce6b9 Make <insert> work like i 2013-08-31 21:41:32 +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 a3021bd42b Fix comment typos 2013-08-22 19:54:46 +02:00
Marco Hinz 5a14004635 Refactor s:open_buffers() 2013-08-22 19:39:27 +02:00
Marco Hinz 26638b30d4 Introduce T for opening files in tabs
Closes #39.
2013-08-22 19:14:34 +02:00
Marco Hinz 68bbece773 Prevent marking sessions 2013-08-15 13:44:19 +02:00
Marco Hinz 0354319801 SSave: fix warning message 2013-08-13 14:19:51 +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 aa17311a94 Fix indexing for certain list orders
References #32.
2013-08-11 19:04:21 +02:00
Marco Hinz 8c09725d03 User some helper variables 2013-08-10 10:41:27 +02:00
Marco Hinz f8c9b7ddfe New option: g:startify_session_autoload 2013-08-10 09:05:02 +02:00
Marco Hinz fd7c52a05b Remove useless concatenation 2013-08-09 16:17:35 +02:00
Marco Hinz e52768a3d7 Change into dir also for bookmarked dirs
References #32.
2013-08-09 15:08:56 +02:00
Marco Hinz d9b44f32f7 Refactor open_buffers() pt2 2013-08-09 13:15:33 +02:00
Marco Hinz a71514a97b Refactor set_mark() and open_buffers() 2013-08-09 12:21:20 +02:00
Marco Hinz 888dcfbc0d New option: g:startify_session_detection 2013-08-08 17:53:40 +02:00
Marco Hinz cede7aec39 Fix the use of s:numfiles 2013-08-05 14:40:45 +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 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