vim-sussify/doc/startify.txt

138 lines
4.4 KiB
Plaintext
Raw Normal View History

2013-04-24 05:53:33 +00:00
*startify.txt* Showing recently used files like a boss.
*startify*
__ __ ___
/\ \__ /\ \__ __ /'___\
____\ \ ,_\ __ _ __\ \ ,_\/\_\/\ \__/ __ __
/',__\\ \ \/ /'__`\ /\`'__\ \ \/\/\ \ \ ,__\/\ \/\ \
/\__, `\\ \ \_/\ \L\.\_\ \ \/ \ \ \_\ \ \ \ \_/\ \ \_\ \
\/\____/ \ \__\ \__/.\_\\ \_\ \ \__\\ \_\ \_\ \/`____ \
\/___/ \/__/\/__/\/_/ \/_/ \/__/ \/_/\/_/ `/___/> \
/\___/
\/__/
==============================================================================
CONTENTS *startify-contents*
1.Intro..........................................|startify-intro|
2.Usage..........................................|startify-usage|
3.Options........................................|startify-options|
4.Commands.......................................|startify-commands|
5.Author.........................................|startify-author|
6.License........................................|startify-license|
==============================================================================
1. Intro *startify-intro*
Startify is a zero-conf plugin which shows recently used files and sessions
that were saved to a certain directory.
==============================================================================
2. Usage *startify-usage*
Startify basically provides two things:
1) If you start Vim without giving any filenames to it (or pipe stuff to it so
it reads from STDIN), startify will show a small but pretty start screen
2013-04-24 10:15:16 +00:00
which shows recently used files (using viminfo) and sessions by default.
2013-04-24 05:53:33 +00:00
2013-04-24 08:42:35 +00:00
Additionally, you can define bookmarks, thus entries for files that always
should be available in the start screen.
2013-04-24 06:06:47 +00:00
You can either navigate to a certain menu entry or you just key in whatever
is written between the square brackets on that line.
2013-04-24 05:53:33 +00:00
2) It eases handling of loading and saving sessions by only working with a
certain directory. Two commands are used for convenience:
:SLoad load a session
:SSave save a session
2013-04-24 06:01:07 +00:00
The default settings are pretty sane, so it should work without any
configuration.
2013-04-24 05:53:33 +00:00
==============================================================================
3. Options *startify-options*
Put these variables into your vimrc. The shown assignments are also the
default values.
============-
let g:startify_session_dir = '~/.vim/session'
The directory to save/load sessions to/from.
============-
let g:startify_show_sessions = 1
List saved sessions in g:startify_session_dir.
============-
let g:startify_show_files = 1
List recently used files using viminfo.
============-
let g:startify_show_files_number = 10
The amount of files to list.
2013-04-24 08:42:35 +00:00
============-
let g:startify_bookmarks = [ '~/.vimrc' ]
A list of files to bookmark. Those files will always be shown at the bottom of
the start screen.
2013-04-24 05:53:33 +00:00
==============================================================================
4. Commands *startify-commands*
There are only two commands for handling sessions:
:SLoad load a session
:SSave save a session
2013-04-24 11:46:11 +00:00
These take either 0 or 1 argument. If you don't specify the session name as an
argument, they will just ask for it.
2013-04-24 12:28:35 +00:00
You can use <c-u> and <tab> for argument completion. Providing only a part of
the session name works, too.
2013-04-24 05:53:33 +00:00
==============================================================================
5. About the author *startify-author*
My nick on Freenode IRC is mhi^.
For latest developments: https://github.com/mhinz
If you use any of my plugins, star it on github. This is a great way of
getting feedback! Same for issues or feature requests.
Thank you for flying mhi airlines. Get the Vim on!
==============================================================================
6. Licence *startify-license*
Copyright © Marco Hinz. Distributed under the same terms as Vim itself.
See |license|.
vim: tw=78