Marco Hinz
36ff6db44a
Fix :enew handling (again)
...
fugitive is run at VimEnter and for new buffers that are associated with
files.
Now fugitive commands will be available after start (in the Startify screen),
but it won't work after calling :Startify, since fugitive is designed that
way.
References #33 .
2015-03-25 16:05:26 +01:00
Marco Hinz
08c0164a1b
Introduce g:startify_enable_unsafe
...
References #149 .
2015-03-06 16:12:17 +01:00
Marco Hinz
5fb1352ca0
Don't clutter v:oldfiles during [,l]vimgrep
2015-03-02 22:06:10 +01:00
Marco Hinz
b5f9682732
Prepend to v:oldfiles for new files too
2015-02-21 13:47:39 +01:00
Marco Hinz
5a60580711
Update recently used files on the fly
...
Startify depends on v:oldfiles which lists recently used files (taken from the
viminfo file). But viminfo only gets updated once in a session: at exiting
Vim. Thus when you worked in a Vim instance for some time and opened multiple
new buffers, v:oldfiles (and therefore :Startify) wouldn't show the most
recently used files anymore.
Luckily v:oldfiles is editable, so now, each new buffer simply prepends its
associated filename to it, making :Startify always up-to-date.
References #148 .
2015-02-11 17:49:22 +01:00
Marco Hinz
d3d5ea68c4
Make "-Vim" another valid v:progname
...
References #147 .
2015-02-03 12:47:02 +01:00
Marco Hinz
66083493ed
Verbatim matching of path prefix
...
Closes #146 .
2015-02-02 01:38:36 +01:00
Marco Hinz
62094fab84
Update screenshot
2015-01-30 15:37:06 +01:00
Marco Hinz
b184b92e96
Doc: add FAQ 09 "How do I center my header/footer?"
2015-01-15 18:28:55 +01:00
Marco Hinz
362fa1d957
Fix autoloading of sessions from bookmarked directories
...
References #144 .
2015-01-14 11:46:18 +01:00
Marco Hinz
aea086205c
Change meaning of g:startify_session_autoload
...
References #142 .
2015-01-08 21:42:54 +01:00
Marco Hinz
832c0a65b1
Doc: add :SClose
2015-01-06 00:59:17 +01:00
coachshea
b89114f359
Add :SClose
...
References #141 .
2015-01-06 00:47:39 +01:00
Daniel Hahler
6d6ff5f927
Tests: fix 'ln -s' if target dir is not vader.vim
2014-12-17 13:27:22 +01:00
Daniel Hahler
2b0f600909
Tests: provide a viminfo file for speedup
...
References #138 .
2014-12-17 13:22:32 +01:00
Marco Hinz
a8657753d6
Avoid unset w:startify_section_header_lines
...
Change w:startify_section_header_lines to b: to avoid it being unset on :split
and similar commands.
References #137 .
2014-12-17 13:01:27 +01:00
Daniel Hahler
18cc9ae8cc
Tests: allow running test/run from every directory
2014-11-27 12:59:07 +01:00
Daniel Hahler
e64375d393
Tests: use HOME=/dev/null for Vim
...
Otherwise ~/.vim gets added to the &rtp.
2014-11-27 12:59:05 +01:00
Marco Hinz
22f1d58333
Fix last line #2
...
References #132 .
2014-11-26 16:04:28 +01:00
Marco Hinz
01066037ba
Tests: use the latest Vim
...
Testing on travis-ci would fail due to a bug in Vim 7.3. Tests now compile the
latest Vim from source before testing.
2014-11-25 15:23:13 +01:00
Marco Hinz
8c3ff7f727
Remove unneeded copy()
2014-11-25 12:30:53 +01:00
Marco Hinz
d3e2ebd3e3
Correct grammar: "last recently" -> "most recently"
...
Closes #129 .
2014-11-25 12:19:59 +01:00
Marco Hinz
1becbe7724
Fix missing argument
...
References #130 .
2014-11-24 21:46:26 +01:00
Daniel Hahler
5655c69459
s:close(): only use "b#" if it's different from "%"
...
Closes #127 .
2014-11-24 11:24:00 +01:00
Marco Hinz
337e1a8c24
Refactoring: fix last line usage
2014-11-23 17:52:25 +01:00
Marco Hinz
8e9ef61087
Refactoring: make "dir" list always relative
2014-11-23 17:39:51 +01:00
Marco Hinz
3151fdf4b1
Refactoring: l:cnt -> s:entry_number
2014-11-23 17:17:22 +01:00
Daniel Hahler
1b6b53f2f9
Refactoring: show_dir and show_files
...
This de-duplicates the shared code, and adds some (first) improvements
to not stat all of v:oldfiles (twice).
If accepted, it allows for easily adding a cache for abs_path handling
etc.
- Add _show_filtered_oldfiles and _get_filtered_oldfiles
- Fixes g:startify_files_number<1
2014-11-23 10:26:13 +01:00
Daniel Hahler
f86d604915
Doc: use autocmd for remapping '<cr>'
...
Closes #126 .
2014-11-22 18:59:13 +01:00
Daniel Hahler
c93e90f371
Tests: add support for NeoBundle numbness
...
Closes #122 .
2014-11-22 18:31:51 +01:00
Marco Hinz
339cdae1af
Expose "open buffers" functionality for mapping
...
References #123 .
2014-11-22 18:15:29 +01:00
Daniel Hahler
697d008f1b
Make all mappings silent
...
Closes #123 .
2014-11-22 18:03:19 +01:00
Marco Hinz
590755234b
Tests: fix rtp for testing vimrc
2014-11-20 23:29:26 +01:00
Marco Hinz
9ac85f9871
Merge branch 'testing'
2014-11-20 23:14:04 +01:00
Daniel Hahler
d4ff491d6e
Tests: automatically fetch Vader if needed
2014-11-20 22:55:48 +01:00
Marco Hinz
61619ba211
README: add Travis CI badge
2014-11-20 17:26:58 +01:00
Marco Hinz
62512237a5
Add Travis CI support
2014-11-20 14:48:35 +01:00
Marco Hinz
4b38f10f3f
Add first tests
2014-11-20 14:43:26 +01:00
Marco Hinz
82496e92aa
Use input{save,restore}()
2014-11-20 14:21:01 +01:00
Daniel Hahler
07e10a15a0
Set StartifySection via syntax file
...
This keeps it highlighted after 'set ft=startify' etc.
References #117 .
2014-11-16 15:09:00 +01:00
Marco Hinz
e964a581d0
Only set customized &stl if it's empty
...
References #118 .
2014-11-16 14:06:25 +01:00
Marco Hinz
d17bc302d4
Fix switching to calling buffer
...
References #115 .
2014-11-13 21:01:45 +01:00
Marco Hinz
f8f90f5704
Doc: correct faq-01
2014-10-30 17:12:00 +01:00
Marco Hinz
044feaa017
Link StartifySpecial to Comment
2014-10-30 17:09:29 +01:00
Marco Hinz
c493cb902b
Doc: fix typo
2014-10-23 13:46:49 +02:00
Marco Hinz
56fcb1e62e
Doc: use User autocmd instead of FileType
...
References #114 .
2014-10-23 12:37:28 +02:00
Marco Hinz
7d36933f9c
Don't truncate g:startify_session_savevars
...
References #113 .
2014-10-23 12:13:05 +02:00
Marco Hinz
5f45a3dc8e
Doc: add missing option to options TOC
2014-10-09 16:14:03 +02:00
Marco Hinz
d3d01a45ff
Use cleaner line breaking
2014-09-30 12:44:39 +02:00
Marco Hinz
6a933d2c24
Don't start at 'vim -y'
...
References #111 .
2014-09-29 11:38:04 +02:00