Commit graph

140 commits

Author SHA1 Message Date
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
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
Marco Hinz 664ad7fa57 check if session dir contains files pt2 2013-05-02 22:25:47 +02:00
Mike Anderson b4b0dbae22 check if session dir contains files 2013-05-02 22:23:50 +02:00
Marco Hinz d671a0957c add :SDelete 2013-05-02 21:16:26 +02:00
Marco Hinz b97fcbd490 make function naming clearer 2013-04-30 13:34:25 +02:00
Marco Hinz b5ec1605cc bump to 1.4 2013-04-29 23:20:05 +02:00
Marco Hinz 803b0adbbf use more idiomatic code style 2013-04-29 15:06:40 +02:00
Marco Hinz 12d0ca643b handle spaces in paths
Closes #12.
2013-04-28 00:52:41 +02:00
Marco Hinz 05edf67f05 bump to 1.3 2013-04-27 18:43:21 +02:00
Marco Hinz 3bcbf22de1 create session dir on demand 2013-04-26 18:06:30 +02:00
Marco Hinz 02647d4279 bump to 1.2 2013-04-26 12:53:19 +02:00
Marco Hinz 9a743ac0be new option: g:startify_skiplist
This list is supposed to contain Vim regular expressions to filter the
list of recently used files. An example is given in the doc.

Closes #5.
2013-04-25 14:11:40 +02:00
Marco Hinz b7a2e0aac0 add Windows support
Windows _should_ be supported now, but I don't really have access to a
Win box, so..

Feedback is much appreciated!
2013-04-25 13:04:09 +02:00
Marco Hinz dad7c9cd08 change shellslash handling 2013-04-25 12:38:07 +02:00
Marco Hinz 07461917d0 bump to 1.1 2013-04-24 16:27:09 +02:00
Marco Hinz f05e0696e6 add session_dir checks 2013-04-24 15:23:39 +02:00
Marco Hinz 90bfd61296 add input dialog completion 2013-04-24 15:01:43 +02:00
Marco Hinz 14ccad4380 bump to 1.0 2013-04-24 11:31:53 +02:00
Marco Hinz a8d388f956 refactor load/save_session() 2013-04-23 18:00:42 +02:00
Marco Hinz 97e41735ba init 2013-04-23 16:41:02 +02:00