Marco Hinz
7a2c7da36d
Unsafe: filter directories
...
References #242 .
2016-10-28 16:07:30 +02:00
Marco Hinz
9e865c823b
Typo
2016-10-15 14:43:29 +02:00
Marco Hinz
9923657918
Two Startify buffers shouldn't share certain data (part 3)
2016-10-15 14:36:25 +02:00
Marco Hinz
bd1ea1b347
Two Startify buffers shouldn't share certain data (part 2)
...
References #240 .
2016-10-14 20:21:07 +02:00
Marco Hinz
3a0cc7df67
Two Startify buffers shouldn't share certain data
...
References #240 .
2016-10-14 20:15:47 +02:00
Marco Hinz
ab3513c8ea
Two different buffers mustn't have the same filename
...
Closes #240 .
2016-10-14 19:37:51 +02:00
Marco Hinz
74471c5274
Windows: handle spaces properly
...
References #239 .
2016-10-13 14:27:30 +02:00
Steve Dignam
98034672bb
Disable colorcolumn in startify buffer
...
In a previous [issue][1] someone asked to disable colorcolumn, but it was
fixed with by disabling cursorcolumn in a [pull request][2].
Both should be disabled.
This change disables colorcolumn.
[1]: https://github.com/mhinz/vim-startify/issues/80
[2]: https://github.com/mhinz/vim-startify/pull/83
2016-10-11 17:57:02 +02:00
Steve Dignam
caa7faf6e1
added check for fortune uft-8 encoding
...
Added check so unicode box characters are only used when the encoding of
vim is set to uft-8. Otherwise, the default ascii characters are used
2016-10-10 14:15:38 -04:00
Steve Dignam
65d117764f
Added box drawing characters for fortune / cowsay
...
See the following link for more info on box drawing characters:
https://en.wikipedia.org/wiki/Box-drawing_character
2016-10-09 23:11:14 -04:00
Marco Hinz
3f7b8d7b5e
Doc: add remark about nested autocmds
2016-07-21 17:09:15 +02:00
Marco Hinz
cbcf3f2518
Only emit User event if there is a receiving end
2016-07-21 17:03:55 +02:00
Marco Hinz
6751427eb1
Fortune: typo
2016-07-19 19:47:20 +02:00
Marco Hinz
84a296eb5c
Session autoload: handle spaces in session path
2016-07-01 02:16:29 +02:00
Marco Hinz
f41732a392
Bookmarks: consider delete_buffers option on session autoload
...
References https://github.com/mhinz/vim-startify/issues/231
2016-07-01 01:49:18 +02:00
Marco Hinz
41801d60cb
Bookmarks: wipe directory buffers on session autoload
...
References https://github.com/mhinz/vim-startify/issues/231
2016-07-01 01:41:05 +02:00
Marco Hinz
1d73c869e9
Don't use fnameescape() twice on paths
...
References https://github.com/mhinz/vim-startify/issues/230
2016-06-27 15:56:58 +02:00
Marco Hinz
dbaa025424
Too much escaping
...
References #227 .
2016-06-08 11:53:27 +02:00
Marco Hinz
26cff271ef
Silence options
2016-06-02 13:22:11 +02:00
Trevor L. McDonell
71a517c93c
Disable spell checking
2016-06-02 13:12:53 +02:00
Marco Hinz
3bd270a3f2
New option: g:startify_session_before_save
...
Execute commands before saving the session. Useful for cleaning up.
Closes #222 .
2016-06-01 17:43:19 +02:00
Marco Hinz
cee51f4a9a
New option: g:startify_session_sort
...
Sort your sessions by mtime by putting this in your vimrc:
let g:startify_session_sort = 1
Closes #221 .
2016-06-01 17:23:57 +02:00
Marco Hinz
54ee02272c
Make n/N work properly
...
For caveats see:
https://github.com/mhinz/vim-startify/issues/218#issuecomment-222962221
References #218 .
2016-06-01 13:12:44 +02:00
Marco Hinz
3c3a835d8d
Check user options properly
...
References #220 .
2016-06-01 02:13:55 +02:00
Marco Hinz
01278efa54
Tests: expect an empty &buftype
2016-06-01 01:09:56 +02:00
Marco Hinz
977ee633e5
Don't make Startify a scratch buffer
...
It's a real file buffer now, since that is what most plugins assume
anyway.
We also give it a proper name, "Startify", because after `buftype=` it
would be listed as "[No Name]" instead of "[Scratch]", which is arguably
confusing.
Closes #214 .
2016-06-01 01:02:40 +02:00
Marco Hinz
8585dd577a
Merge PR 223: New option: g:startify_commands
...
The new list "commands" makes it possible to put commands on the start
screen. Choosing an entry executes the command.
Optionally a custom index and/or command description can be given:
let g:startify_commands = [
\ ':help reference',
\ ['Vim Reference', 'h ref'],
\ {'h': 'h ref'},
\ {'g': ['Vim Reference', 'h ref']},
\ ]
2016-05-31 23:39:09 +02:00
Marco Hinz
e5ce53fbef
Make g:startify_commands more flexible
2016-05-31 23:38:29 +02:00
Ernst Widerberg
e551be9cb0
Docs: ex command list
2016-05-31 23:38:29 +02:00
Ernst Widerberg
9a833c5bc6
Add ex command list
2016-05-31 23:38:29 +02:00
Xandor Schiefer
b16c8353e5
devicons: remove parentheses around symbols
2016-05-31 17:30:58 +02:00
Marco Hinz
e74cc71b1b
Tests: remove unreliable syntax test
2016-03-24 13:46:47 +01:00
Marco Hinz
b785352100
Fix tests
2016-03-24 13:01:13 +01:00
Marco Hinz
8512fa3b1c
Always put cursor on first entry
...
References #212 .
2016-03-24 12:42:07 +01:00
Marco Hinz
5a45174657
Transformations: fall back to normal usage if no match
2016-03-21 11:25:30 +01:00
Marco Hinz
549f7f0c1b
Make session_autoload=1 && disable_at_vimenter=1 work
...
References #211 .
2016-03-20 16:28:46 +01:00
Marco Hinz
c381ab79fc
Transformations: allow patterns
...
The type of g:startify_transformations has to be a list of lists now.
The inner lists contain 2 elements, a pattern and either a string or a
funcref.
Example:
function! s:foo(filename)
return fnamemodify(a:filename, ':t')
endfunction
let g:startify_transformations = [
\ ['.*vimrc$', 'vimrc'],
\ ['.*', function('s:foo')],
\ ]
References #209 .
2016-03-20 15:37:22 +01:00
Marco Hinz
570ef9e11f
Don't add blank line for empty custom header
...
Closes #210 .
2016-03-20 14:21:56 +01:00
Marco Hinz
ffb80ec99e
Add g:startify_transformations
2016-03-18 16:59:24 +01:00
Marco Hinz
5bef697e17
Doc: add tags for commands
2016-03-17 13:00:41 +01:00
Marco Hinz
41b53389af
Make q work with 'buflisted' set
...
References #208 .
2016-03-17 12:47:25 +01:00
Marco Hinz
61daf3ab19
Doc: explain dynamic custom headers in detail
2016-03-17 12:24:17 +01:00
Marco Hinz
f90594bb9a
Eval g:startify_custom_header if it's a string
2016-03-17 11:44:33 +01:00
Marco Hinz
994a85ac22
Refactoring: fortune.vim
2016-03-17 11:05:36 +01:00
Marco Hinz
6509329585
Fortune: use ' instead of `
...
Keep the fortune file ASCII-clean, according to:
http://english.stackexchange.com/questions/163480/which-is-the-correct-apostrophe-to-use-when-typing-quote-or-backtick
2016-03-15 01:42:55 +01:00
Marco Hinz
0a9e3de72c
Doc: add g:startify_custom_header_quotes
2016-03-14 18:14:45 +01:00
Marco Hinz
075423f45a
Default custom header: use * for corners
2016-03-14 17:29:08 +01:00
Marco Hinz
e845a3958c
Default custom header: add box and cow!
2016-03-14 17:26:59 +01:00
Marco Hinz
a4d8870d2f
Add missing fortune.vim
2016-03-14 15:56:17 +01:00
Marco Hinz
44034c01e8
Tests: g:startify_custom_header = []
2016-03-14 15:48:39 +01:00