Commit graph

432 commits

Author SHA1 Message Date
Marco Hinz
c742c3a752 Tests: reorganization 2016-02-02 12:25:39 +01:00
Marco Hinz
709572ccb2 README: remove Gitter badge 2016-02-02 12:04:11 +01:00
Marco Hinz
8545f6f553 Put last used session marker in session directory 2016-01-12 15:11:03 +01:00
Marco Hinz
e3fb0cd845 FAQ: how to use the output of a command as header? 2016-01-05 23:00:10 +01:00
Marco Hinz
84fb86e5da README: moved feature details to wiki 2015-12-28 00:06:18 +01:00
Marco Hinz
e75c49a339 Shorter section headers
Use shorter section headers and add the current working directory to the 'dir'
list.

References .
2015-12-27 21:10:07 +01:00
Marco Hinz
7e4cb5a974 README: complete revamp 2015-12-27 20:15:59 +01:00
Daniel Hahler
96b5fdaa77 Remove duplicate entries when adding to v:oldfiles
References .
2015-12-27 14:09:21 +01:00
Marco Hinz
295fe7a09a Avoid '&&' in system()
I assumed that every shell would support '&&'. Apparently this is not the case
for Fish: it uses 'and'...

Anyway, the simple solution is to avoid cd'ing in the proper directory first
and just using absolute paths for ln instead.

References .
2015-12-11 15:51:08 +01:00
Marco Hinz
720299cbf5 Make potential warning less obtrusive 2015-12-11 12:29:44 +01:00
Marco Hinz
438abff72b Doc: FAQ 10: temporarily disable Startify at start
Closes .
2015-12-07 15:00:13 +01:00
Marco Hinz
ffbd531a12 README: add link to my own configuration 2015-11-26 13:03:35 +01:00
Marco Hinz
a74129a9af README: suggest plug instead of pathogen 2015-11-26 13:02:15 +01:00
Marco Hinz
b81dfa54b9 Ignore <nowait> before 7.3.1261
References .

Helped-by: @timss
2015-11-22 02:07:00 +01:00
Marco Hinz
cc5989711b Fix nowait logic
References .
2015-11-20 13:45:40 +01:00
kkoenig
83d1e8ad1c Doc: add missing tags for g:startify_list_order
Closes .
2015-11-17 22:16:03 +01:00
Marco Hinz
06ff991d7f Always shorten 'files' entries to "~"
..no matter if g:startify_relative_path is set or not.
2015-11-17 02:53:11 +01:00
Marco Hinz
3e5809c776 Doc: sort options by topic 2015-11-16 13:15:03 +01:00
somini
5b43cef057 New option: g:startify_mapping_nowait
This option forces the use of <nowait> mappings.

This might be useful if you have global mappings that start with the same
characters as indexes from Startify.

References 
Closes .
2015-11-16 12:32:28 +01:00
Marco Hinz
046c62115f Doc: add tmux-resurrect to FAQ
References .
2015-11-14 03:09:52 +01:00
Marco Hinz
80384d9c05 :SL without argument loads last session on Unix
References .
2015-11-14 02:18:03 +01:00
Marco Hinz
1f7b1ab4dc Make 'e' and 'q' also <nowait>
Reported-by: @Konfekt
2015-11-09 19:38:16 +01:00
Marco Hinz
b817cab23f Remove <nowait> for index mappings
<nowait> guards against global mappings.

Problem: However, having 2 local <nowait> mappings, '1' and '11', makes no
sense, since it would always go with the former.

Solution: Remove <nowait> from all dynamically created mappings and keep it
for the fixed ones (i, b, v, ...).

If you absolutely need a <nowait> mapping for a non-fixed mapping, e.g. 'g'
(and because you use vim-commentary which maps 'gc'), see
":h startify-autocmd":

    autocmd User Startified nnoremap <buffer><nowait><silent> g ...

References .

Reported-by: @noscripter
2015-11-09 11:58:21 +01:00
Marco Hinz
c193556225 Add support for vim-devicons
Closes .
2015-11-08 02:52:17 +01:00
Konfekt
7b83d16e27 Doc: update refined filter option
Closes .
2015-11-06 18:17:37 +01:00
Konfekt
295c02f926 Resolve symlinks in MRU filter
For example, OpenSUSE uses a `.../vim/current` symlink for `$VIMRUNTIME`. The
skiplist now resolves these to filter them too.

Closes .
2015-11-06 18:10:48 +01:00
Boggs
90dcfc9882 Add doc/tags to .gitignore
Closes .
2015-11-03 22:59:33 +01:00
Marco Hinz
df8b4e1fde Support for custom indices for g:startify_bookmarks
g:startify_bookmarks now supports custom indices directly. E.g.

    let g:startify_bookmarks = [ {'v': '~/.vimrc'} ]

References , .
2015-11-03 22:39:58 +01:00
Marco Hinz
0bb969178d Do not filter bookmarks anymore 2015-11-03 17:31:05 +01:00
Marco Hinz
61c1e360c8 Custom indices overwrite plugin mappings
References .
2015-11-03 16:01:23 +01:00
Marco Hinz
ff4732bb30 Ignore <session>x.vim files in session path
These files can be used to set up additional things for a session and have to
be placed in the same directory as the session file.

See point 10 under `:h :mksession` for more information.

Since they are no real session files, Startify shouldn't list them either.

Closes .
2015-11-03 15:25:25 +01:00
somini
97b4e225be Improve mappings
This sets all the created mappings as `nowait`, meaning having global
mappings will still allow you to jump to a file instantly.

For example, if you have a commentary plugin and define a global mapping
of `gcc`, you can't use `g` without waiting (or clicking Esc right
away).

Closes .
2015-11-03 13:27:04 +01:00
Marco Hinz
9afab110e9 Do not check v:progname anymore
Originally this check was meant to prevent showing the Startify buffer for
certain cases I can't recall anymore.

Now the Startify buffer will be shown at startup if these conditions are true:

  1) no arguments were provided to Vim on the commandline
  2) the first buffer is empty
2015-11-03 13:05:46 +01:00
Marco Hinz
6f886cdc48 Make window sizes equal 2015-08-20 09:32:19 +02:00
Marco Hinz
7f76635fce session_write(): error msg instead of exception
References .
2015-08-14 11:59:26 +02:00
Marco Hinz
a58f92e781 Update v:oldfiles on :saveas
References .
2015-08-07 00:15:28 +02:00
Marco Hinz
695121f065 Change skiplist default + improve docs
Thanks for the feedback, @Osse.
2015-07-06 18:53:46 +02:00
Enrico Ghirardi
2ae8a96633 Use blackhole register when removing lines
During session save, when removing lines, we don't want to store the content
in the unnamed register, takes more time and changes clipboard content. Just
use the blackhole register.

References .
2015-06-12 19:48:03 +02:00
Marco Hinz
2c7807566c Only check user options for regular files
We don't "switch to dir"/"switch to VCS dir"/"autoload sessions" when opening
special entries ([e] and [q]) or sessions.

References .
2015-06-03 10:09:30 +02:00
Marco Hinz
be611cd545 Call s:check_user_options() for all entries
References .
2015-06-02 23:19:53 +02:00
Marco Hinz
01a1038401 Small fixes 2015-06-02 23:18:36 +02:00
Marco Hinz
61cfce000c Don't overwrite the last regular entry with [q] 2015-06-02 22:26:59 +02:00
Marco Hinz
ee674f99a8 Register e/q even if special is disabled 2015-06-02 09:35:42 +02:00
Marco Hinz
f98dba25f2 :StartifyDebug should never fail 2015-06-02 09:18:05 +02:00
Marco Hinz
06b117451a Add s:register() 2015-06-02 09:07:14 +02:00
Marco Hinz
be8bfe8513 Add missing entries
References .
2015-06-02 08:55:14 +02:00
Marco Hinz
f59d93d5f4 Always use markers to open files 2015-06-01 17:21:52 +02:00
Marco Hinz
2ea22e2e7e Simplify marker implementation
This commit also fixes loading sessions via the new #open_buffers() method.

References .
2015-06-01 17:07:40 +02:00
Marco Hinz
07be6b5fa9 Handle bookmarks via #open_buffers()
References .
2015-06-01 14:36:03 +02:00
Marco Hinz
8fd4247218 Refactoring: handle all file opening in #open_buffers() 2015-05-28 17:16:09 +02:00