Commit graph

106 commits

Author SHA1 Message Date
Marco Hinz
74a5d12785 'e' -> empty, 'i' -> empty + insert mode 2013-04-30 00:40:58 +02:00
Marco Hinz
a5021aacdd use either 'e' or 'i' for empty buffer
People seem to like both, so I made both of them defaults.
(I changed [i] back to [e] nevertheless.)
2013-04-30 00:03:55 +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
afea247ac7 new option: g:startify_enable_special
If you set this variable to 0, [i] and [q] won't be shown.
2013-04-29 12:50:09 +02:00
Marco Hinz
c2dba47d38 add color support without changing defaults 2013-04-29 12:36:48 +02:00
Marco Hinz
406df759b7 ignore case 2013-04-29 01:34:53 +02:00
Marco Hinz
620bb954de change startup check regex once again #2 2013-04-28 15:05:25 +02:00
Marco Hinz
4a170ee843 change startup check regex once again
I'm terribly sorry for excluding all MacVim users.

Closes #14.
2013-04-28 13:33:39 +02:00
Marco Hinz
80f6ca4323 use 'i' instead of 'e' for empty buffer
I guess most people are used to just write away via 'i' after entering
Vim. So this change adheres to them. (Say "Thanks!" to @Osse)

If you don't like this change consider creating an additional, hidden
key for creating the empty buffer:

let g:startify_empty_buffer_key = 'e'
2013-04-28 13:30:05 +02:00
Marco Hinz
5cfbde36c1 simplify startup regex check 2013-04-28 12:30:31 +02:00
Alex Kunin
73494fb035 correct startup check to consider '.exe' 2013-04-28 12:18:46 +02:00
Marco Hinz
b6c528b6aa run startify at start only for 'vim' and 'gvim'
Don't call Startify at start when using evim, view, etc.
2013-04-28 09:17:57 +02:00
Marco Hinz
05edf67f05 bump to 1.3 2013-04-27 18:43:21 +02:00
Marco Hinz
bafdbcaa96 remove useless <silent> 2013-04-27 18:40:59 +02:00
Øystein Walle
b35bf399f6 change working directory when opening a file
It was discussed whether this should be optional or not and it was
agreed to just make this default behaviour for now.
2013-04-27 17:54:06 +02:00
Marco Hinz
1639fe5f8a make 'q' trigger either :bd or :quit 2013-04-27 14:59:23 +02:00
Marco Hinz
aab37d4ccd use double-click to select an entry
Previously a single-click was used. But this introduced a bug that
was suprisingly hard to prevent because of the 'line skipping feature'.

If one changed to another tab and then used a mouse click on the tabpage
to jump back to the tab containing the startify buffer, the click would
have delegated into the buffer and select the next entry automatically.

Just using a double-click prevents this without adding complex code.
2013-04-27 14:32:26 +02:00
Marco Hinz
9918dc4fd5 click anywhere on the line to select 2013-04-27 10:49:38 +02:00
Marco Hinz
25a900a40a make mouse clicks select an entry 2013-04-27 10:24:55 +02:00
Marco Hinz
d8da3a2a9e adjust cursor movements 2013-04-27 10:17:29 +02:00
Marco Hinz
59831b8e94 remove 'startify>' title
I like minimalism.
2013-04-27 10:13:43 +02:00
Marco Hinz
674e49816d new: g:startify_empty_buffer_key
This variable can be used to create a second mapping for creating the
empty buffer.

Closes #10.
2013-04-27 09:57:11 +02:00
Marco Hinz
02647d4279 bump to 1.2 2013-04-26 12:53:19 +02:00
Marco Hinz
ed601090cc use no scratch buffer anymore
Closes #6.
2013-04-26 12:40:47 +02:00
Marco Hinz
3c34765e1f change buffer settings 2013-04-26 11:41:22 +02:00
Marco Hinz
267c7abe72 new option: g:startify_skiplist_server
Before this we ignored all Vim server instances. That was a bad
decision. Apart from some weird cases, where servernames were set, it
totally slipped my attention, that gvim would always set a servername.

Sorry, for breaking this plugin for all gvim users!

I removed the check and added a configurable list of servernames to
be ignored.
2013-04-26 10:18:31 +02:00
Marco Hinz
c91cfb29ae restructure some code 2013-04-26 09:57:49 +02:00
Marco Hinz
87c0c37817 remove check for servername
This caused more trouble than it is worth it.
2013-04-26 09:43:55 +02:00
Zhao Cai
747d58adcf ignore server instances 2013-04-26 00:13:05 +02:00
Marco Hinz
e897417eec use the proper autocmd event 2013-04-25 16:22:51 +02:00
Marco Hinz
7d9de812ac refactor set_cursor() 2013-04-25 15:46:10 +02:00
Marco Hinz
9c2a2f6297 make cursor skip blank lines 2013-04-25 15:42:06 +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
6273d48db8 fix <cr> on [e] 2013-04-25 12:43:37 +02:00
Marco Hinz
dad7c9cd08 change shellslash handling 2013-04-25 12:38:07 +02:00
Marco Hinz
43feec0a89 escape filenames 2013-04-25 11:20:29 +02:00
Marco Hinz
81a7101522 add shellslash handling 2013-04-25 10:46:05 +02:00
Marco Hinz
edcae997e7 add :Startify 2013-04-25 09:33:07 +02:00
Marco Hinz
250fe3ed12 add option: g:startify_unlisted_buffer 2013-04-25 00:46:32 +02:00
Marco Hinz
b76288d031 Revert "remove nobuflisted"
This reverts commit 4cf9947345.
2013-04-25 00:25:24 +02:00
Marco Hinz
4cf9947345 remove nobuflisted
Closes #4.
2013-04-25 00:19:44 +02:00
Marco Hinz
84acc480b3 only set nornu if Vim is >= 7.3 2013-04-24 17:14:18 +02:00
Marco Hinz
07461917d0 bump to 1.1 2013-04-24 16:27:09 +02:00
Marco Hinz
90bfd61296 add input dialog completion 2013-04-24 15:01:43 +02:00
Marco Hinz
6cfbbbd6a1 add command argument completion 2013-04-24 14:28:35 +02:00
Marco Hinz
5c064488b3 make commands take session names 2013-04-24 13:46:11 +02:00
Marco Hinz
14ccad4380 bump to 1.0 2013-04-24 11:31:53 +02:00
Marco Hinz
05cc44f7f9 add bookmarks 2013-04-24 10:42:35 +02:00