Search This Blog

Customize AstroNvim

Enable user customisation

cp -r ~/.config/nvim/lua/user_example ~/.config/nvim/lua/user



Install new plugins

nvim ~/.config/nvim/lua/user/init.lua

  plugins = {
    init = { 
      -- You can also add new plugins here as well:
      -- Add plugins, the packer syntax without the "use"
      { "bryant-the-coder/astron.nvim" }, -- astron colorscheme
    },
  },

:PackerSync



Change colorscheme

nvim ~/.config/nvim/lua/user/init.lua
 -- Set colorscheme to use
 -- colorscheme = "default_theme",
 colorscheme = "astron",



Disable relativenumber option

nvim ~/.config/nvim/lua/user/init.lua
relativenumber = false,



See also

No comments:

Post a Comment