From 2ab1a99dd95e9166f53960535528a2ef9bb758ab Mon Sep 17 00:00:00 2001 From: max397574 Date: Fri, 10 Dec 2021 20:39:01 +0100 Subject: docs(readme): updated and added everything --- readme.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/readme.md b/readme.md index 0142759..782d7db 100644 --- a/readme.md +++ b/readme.md @@ -20,9 +20,8 @@ The fully customizable greeter for neovim Use your favourite package manager and call setup function. Plenary.nvim is a dependency and must be installed. For the default setup telescope.nvim is needed. -```lua --- lua and packer.nvim +```lua use { "startup-nvim/startup.nvim", requires = {"nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim"}, @@ -216,7 +215,7 @@ content = { Check out the [themes](https://github.com/startup-nvim/startup.nvim/tree/master/lua/startup/themes) for full examples. -🎨The themes +🎨Themes ---------- At the moment there are three themes: @@ -230,11 +229,11 @@ You can use themes like this: require("startup").setup({theme = "dashboard"}) -- put theme name here ``` -#### Dashbaord +### Dashboard The dashboard theme is a simple theme with some commands and a header. -#### Startify +### Startify The startify theme is a theme like `vim-startify`. It has oldfiles, bookmarks and a random quote. @@ -252,11 +251,11 @@ vim.g.startup_bookmarks = { } ``` -#### Evil +### Evil The evil theme is just a bloated theme with oldfiles, commands, additional info and a quote. -#### Custom theme +### Custom theme You can put your theme in `lua/startup/themes/my_theme.lua` The file has to return settings with the structure like you put them into `setup()`. @@ -264,6 +263,10 @@ You can also overwrite a theme (e.g. `dashboard`). Just copy all the setting from it and change whatever you want. You can use some functions from `lua/startup/functions.lua` with `require("startup.functions").function_name()`. They are documented in `:help startup_nvim.functions`. +The same applies to headers. +Here you can use them with `require("startup.headers").header_name()`. +They are documented in `:help startup_nvim.headers`. +A good tool to create your own headers is [image to braille](https://505e06b2.github.io/Image-to-Braille/) Credits ------- -- cgit v1.2.3