You can override the lualine default options by passing a new configurations table to the better-vim.lua
module.
To customize the layout, use the lualine.sections
field. Let’s see how to add a branch section to the statusline:
The lualine structure has 6 sections: | a, b, c ------- x, y, z |
You can use this example to explore the available options to customize the sections.
To customize the Lualine plugin options, you can use the lualine.options
field. Let’s see how to change the statusline theme from auto
(default) to dracula
:
📢 Please, check out lualine’s official documentation to see more plugin options.
You can override the nvimtree options using the better-vim.lua
module. Let’s
see how to change the default filters to show all dotfiles on the file explorer:
📢 Please, check out nvimtree’s official documentation to see more plugin options.
You can override any whichkey plugin option by providing custom options on the better-vim.lua
module. Let’s see an example:
📢 Please, check out whichkey’s official documentation to see more plugin options.
The whichkey options just works to override the plugin options, if you want to create your own custom mappings using whichkey and better-vim.lua
, check out the mappings documentation.
You can override any telescope plugin option by providing custom options on the better-vim.lua
module. Let’s see an example:
📢 Please, check out telescope’s official documentation to see more plugin options.
The goal of nvim-treesitter is both to provide a simple and easy way to use the interface for tree-sitter in Neovim and to provide some basic functionality such as highlighting based on it.
Better Vim does not have any treesitter plugin installed by default.
You can install them using the entry treesitter
in better-vim.lua
file.
This entry accepts two types of data:
"all"
that will install all available treesitter plugins;Using the first option, the first time you open Neovim after the configuration, you will see your CPU working as crazy. Don’t worry: treesitter will install the plugins using all available cores on your CPU, but just on the first time.
After this long installation, you will be fine 😅
Here is how to use this option:
If you prefer, only install some hand picked plugins:
If you are using treesitter = "all"
, but want to ignore some plugins, you can
use a table on treesitter_ignore
entry:
📢 Please, check out treesitter’s official documentation to see a list of all supported languages.
This plugin adds some signs based on git status
of the project. You can configure
the plugin from the entry gitsigns
in better-vim.lua
file:
📢 Please, check out gitsigns’ official documentation to see more plugin options.
This plugin improves the UI for Neovim. You can configure the plugin from the entry
noice
in better-vim.lua
file:
📢 Please, check out noice’s official documentation to see more plugin options.
When you open Neovim using nvim
command, you’ll see a pretty simple dashboard:
You can customize the header of the dashboard by passing a table to dashboard.header
entry in better-vim.lua
file:
And you’ll see something like this:
You can use some ASCII Art to make this looks more like yourself:
And this is the result:
MaximilianLloyd/ascii.nvim
plugin is the source of the above ASCII Art.
Be creative!
Didn’t like some internal Better Vim plugin or want to remove in order to install
a different one? You can use the option unload_plugins
to remove some unessencial
plugin from Better Vim:
With this code, the noice.nvim
plugin will be unload.
Here is the list of plugins you can unload from Better Vim:
You can override the lualine default options by passing a new configurations table to the better-vim.lua
module.
To customize the layout, use the lualine.sections
field. Let’s see how to add a branch section to the statusline:
The lualine structure has 6 sections: | a, b, c ------- x, y, z |
You can use this example to explore the available options to customize the sections.
To customize the Lualine plugin options, you can use the lualine.options
field. Let’s see how to change the statusline theme from auto
(default) to dracula
:
📢 Please, check out lualine’s official documentation to see more plugin options.
You can override the nvimtree options using the better-vim.lua
module. Let’s
see how to change the default filters to show all dotfiles on the file explorer:
📢 Please, check out nvimtree’s official documentation to see more plugin options.
You can override any whichkey plugin option by providing custom options on the better-vim.lua
module. Let’s see an example:
📢 Please, check out whichkey’s official documentation to see more plugin options.
The whichkey options just works to override the plugin options, if you want to create your own custom mappings using whichkey and better-vim.lua
, check out the mappings documentation.
You can override any telescope plugin option by providing custom options on the better-vim.lua
module. Let’s see an example:
📢 Please, check out telescope’s official documentation to see more plugin options.
The goal of nvim-treesitter is both to provide a simple and easy way to use the interface for tree-sitter in Neovim and to provide some basic functionality such as highlighting based on it.
Better Vim does not have any treesitter plugin installed by default.
You can install them using the entry treesitter
in better-vim.lua
file.
This entry accepts two types of data:
"all"
that will install all available treesitter plugins;Using the first option, the first time you open Neovim after the configuration, you will see your CPU working as crazy. Don’t worry: treesitter will install the plugins using all available cores on your CPU, but just on the first time.
After this long installation, you will be fine 😅
Here is how to use this option:
If you prefer, only install some hand picked plugins:
If you are using treesitter = "all"
, but want to ignore some plugins, you can
use a table on treesitter_ignore
entry:
📢 Please, check out treesitter’s official documentation to see a list of all supported languages.
This plugin adds some signs based on git status
of the project. You can configure
the plugin from the entry gitsigns
in better-vim.lua
file:
📢 Please, check out gitsigns’ official documentation to see more plugin options.
This plugin improves the UI for Neovim. You can configure the plugin from the entry
noice
in better-vim.lua
file:
📢 Please, check out noice’s official documentation to see more plugin options.
When you open Neovim using nvim
command, you’ll see a pretty simple dashboard:
You can customize the header of the dashboard by passing a table to dashboard.header
entry in better-vim.lua
file:
And you’ll see something like this:
You can use some ASCII Art to make this looks more like yourself:
And this is the result:
MaximilianLloyd/ascii.nvim
plugin is the source of the above ASCII Art.
Be creative!
Didn’t like some internal Better Vim plugin or want to remove in order to install
a different one? You can use the option unload_plugins
to remove some unessencial
plugin from Better Vim:
With this code, the noice.nvim
plugin will be unload.
Here is the list of plugins you can unload from Better Vim: