Content for type = "mapping"
```lua
content = {
[" Find File"] = { "Telescope find_files", "ff" },
[" Find Word"] = { "Telescope live_grep", "lg" },
[" Recent Files"] = { "Telescope oldfiles", "of" },
[" File Browser"] = { "Telescope file_browser", "fb" },
[" Colorschemes"] = { "Telescope colorscheme", "cs" },
[" New File"] = { "lua require'startup'.new_file()", "nf" },
},
```
Check out the [themes](https://github.com/startup-nvim/startup.nvim/tree/master/lua/startup/themes) for full examples.
🎨The themes
----------
At the moment there are three themes:
- dashboard (default)
- evil
- startify
You can use themes like this:
```lua
require("startup").setup({theme = "dashboard"}) -- put theme name here
```
#### Dashbaord
The dashboard theme is a simple theme with some commands and a header.
#### Startify
The startify theme is a theme like `vim-startify`.
It has oldfiles, bookmarks and a random quote.
You can open the oldfiles with the number written before it (`[2] ~/.config/nvim/init.lua` can be opened by pressing `2`).
You can open a bookmark with the key written in front of it.
Customize bookmarks with `vim.g.startup_booksmarks`:
```lua
vim.g.startup_bookmarks = {
["Q"] = '~/.config/qtile/config.py',
["I"] = '~/.config/nvim/init.lua',
["F"] = '~/.config/fish/config.fish',
["K"] = '~/.config/kitty/kitty.conf',
["A"] = '~/.config/alacritty/alacritty.yml',
}
```
#### Evil
The evil theme is just a bloated theme with oldfiles, commands, additional info and a quote.
#### 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()`.
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`.
Credits
-------
- Thanks to Binx, for making that logo for free!
- [Github](https://github.com/Binx-Codes/)
- [Reddit](https://www.reddit.com/u/binxatmachine)
Similar plugins:
* [dashboard-nvim](https://github.com/glepnir/dashboard-nvim)
* [alpha-nvim](https://github.com/goolord/alpha-nvim)
* [vim-startify](https://github.com/mhinz/vim-startify)