Skip to content

PantomInach/astronvim-user-settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AstroNvim User Configuration Example

A user configuration template for AstroNvim.

Changes

  • Latex support with
    • ltex as a general lsp
    • texlab for compiling <Space> + m + l and forward searching <Space> + m + f
  • Glow support in nvim with <Space> + G
  • Hop motions with <Space> + f + l to search for line and <C-f> to find word
  • Switching buffer with <Shift> + h and <Shift> + l
  • Colorschemes: decay, catppuccin with dark-decay as default
  • German language files
  • Automatic installing of some lsp, linter, dap and formatter with treesitter installation
  • Undotree with keybinding <Space> + U
  • Treesitter-Context
  • Harpoon with keybindings
    • Space + h + a add file to harpoon
    • Space + h + o open quick menu
    • Space + h + h Go to previous mark
    • Space + h + l Go to next mark
    • Space + h + c Clear all marks
    • Space + 1, Space + 2, ..., Space + 0 go to marked file 1 to 10
  • Fugitive git client
    • Space + g + g opens fugitive git client
    • Space + p in fugitive pushes commits
    • Space + P pull from branch and rebases

Customization

See the astrocumminity plugins for more add-ons for your nvim config.

🛠️ Installation

Make a backup of your current nvim and shared folder

mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak

Clone AstroNvim

git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim

Clone the repository

git clone https://github.com/PantomInach/astronvim-user-settings ~/.config/nvim/lua/user

Install german spelling files

When these files are not present an error will be shown every time a file is opened. Either use the command below or remove de from the options.lua's spelllang variable.

sudo cp ~/.config/nvim/lua/user/spell/* /usr/share/nvim/runtime/spell

Start Neovim

nvim

About

Personal AstroNvim config with simple latex support

Topics

Resources

Stars

Watchers

Forks

Languages