Update nvim

This commit is contained in:
iFargle 2024-02-13 11:01:32 +09:00
parent 21b3c1c569
commit 38beccb5af

View file

@ -42,10 +42,10 @@
# Insert Mode # Insert Mode
# Normal Mode # Normal Mode
(nmap "<leader>n+s" ":Neotree selector<C-r>"// desc "[S]elect neotree") (nmap "<leader>ns" ":Neotree selector<C-r>"// desc "[S]elect neotree")
(nmap "<leader>n+t" ":Neotree toggle<C-r>" // desc "[T]oggle neotree") (nmap "<leader>nt" ":Neotree toggle<C-r>" // desc "[T]oggle neotree")
(nmap "<leader>n+c" ":Neotree close<C-r>" // desc "[C]lose neotree") (nmap "<leader>nc" ":Neotree close<C-r>" // desc "[C]lose neotree")
(nmap "<leader>n+b" ":Neotree buffers<C-r>" // desc "Open [b]uffers") (nmap "<leader>nb" ":Neotree buffers<C-r>" // desc "Open [b]uffers")
]; ];
options = { options = {
@ -57,19 +57,34 @@
showmode = false; showmode = false;
}; };
plugins = { plugins = {
# Parser generator tool
treesitter.enable = true; treesitter.enable = true;
# Airline / Powerline alternative
lualine.enable = true; lualine.enable = true;
# Snippet engine for neovim
luasnip.enable = true; luasnip.enable = true;
# Nix language syntax highlighting / file type associations
nix.enable = true; nix.enable = true;
# Run nix develop / shell without exiting vim
nix-develop.enable = true; nix-develop.enable = true;
# tab bar like Firefox or Chrome
bufferline.enable = true; bufferline.enable = true;
# Popup to show shortcuts
which-key.enable = true; which-key.enable = true;
# Automatic indent
intellitab.enable = true; intellitab.enable = true;
# Highlight all entries of the currently selected word
illuminate.enable = true; illuminate.enable = true;
neo-tree.enable = true; # sidebar file browser
nvim-tree.enable = true;
# Gutter information for git modifications
gitsigns.enable = true; gitsigns.enable = true;
# Terminal in vim
toggleterm.enable = true; toggleterm.enable = true;
# Rainbow matching {} [] () 's
rainbow-delimiters.enable = true; rainbow-delimiters.enable = true;
# Colorize hex colors inline
nvim-colorizer.enable = true;
telescope = { telescope = {
enable = true; enable = true;