Code Monkey home page Code Monkey logo

vim-startify's Introduction

vim-startify

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 which shows recently used files (using viminfo) and sessions by default.

Additionally, you can define bookmarks, thus entries for files that always should be available in the start screen.

You can either navigate to a certain menu entry or you just key in whatever is written between the square brackets on that line. You can even double-click anywhere on the line now.

Per default the startify buffer gets closed automatically, if an entry was selected.

You can reopen the screen via :Startify.

Moreover, 'e' creates an empty buffer, 'i' creates an empty buffers and jumps into insert mode, 'q' quits.

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
  :SDelete  delete a session

NOTE: Both commands can also take session names directly as an argument. You can also make use of completion via <c-u> and <tab>.

The default settings are pretty sane, so it should work without any configuration.

Example:startify in action

NOTE: The colors shown in the screenshot are not the default. If you want to tune the default colors, you can overwrite the highlight groups used by startify in your vimrc. Have a look at :h startify-colors, after installing the plugin. Moreover, g:startify_enable_special is set to 0.

Feedback, please!

If you like 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!

Installation

If you have no preferred installation method, I suggest using tpope's pathogen:

  1. git clone https://github.com/tpope/vim-pathogen ~/.vim/bundle/vim-pathogen
  2. mkdir -p ~/.vim/autoload && cd ~/.vim/autoload
  3. ln -s ../bundle/vim-pathogen/autoload/pathogen.vim

Afterwards installing vim-startify is as easy as pie:

  1. git clone https://github.com/mhinz/vim-startify ~/.vim/bundle/vim-startify
  2. start Vim
  3. :Helptags
  4. :h startify

Documentation

:h startify

Author

Marco Hinz <[email protected]>

License

Copyright © Marco Hinz. Distributed under the same terms as Vim itself. See :help license.

vim-startify's People

Contributors

mhinz avatar alexkunin avatar countjocular avatar athaeryn avatar zhaocai avatar osse avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.