neovim: enable neogen
This commit is contained in:
parent
b4a5da13dd
commit
35953b3f9a
@ -60,6 +60,9 @@ require("obsidian").setup({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
require'nvim-treesitter.configs'.setup({})
|
||||||
|
require('neogen').setup({})
|
||||||
|
|
||||||
cmd [[highlight NvimTreeOpenedFolderName guifg=default]]
|
cmd [[highlight NvimTreeOpenedFolderName guifg=default]]
|
||||||
cmd [[highlight NvimTreeFolderName guifg=default]]
|
cmd [[highlight NvimTreeFolderName guifg=default]]
|
||||||
|
|
||||||
@ -74,6 +77,7 @@ o.hlsearch = true;
|
|||||||
map('n', '<C-n>', ':NvimTreeToggle<CR>', { noremap = true })
|
map('n', '<C-n>', ':NvimTreeToggle<CR>', { noremap = true })
|
||||||
map('n', '<C-p>', ':Files<CR>', { noremap = true })
|
map('n', '<C-p>', ':Files<CR>', { noremap = true })
|
||||||
map('n', '<leader>r', ':NvimTreeRefresh<CR>', { noremap = true })
|
map('n', '<leader>r', ':NvimTreeRefresh<CR>', { noremap = true })
|
||||||
|
map('n', '<leader>n', ':Neogen<CR>', { noremap = true })
|
||||||
map('n', '<leader>s', ':%s/\\s\\+$//e', { noremap = true })
|
map('n', '<leader>s', ':%s/\\s\\+$//e', { noremap = true })
|
||||||
map('n', '<leader>fm', ':Telescope manix<CR>', {})
|
map('n', '<leader>fm', ':Telescope manix<CR>', {})
|
||||||
map('n', '<leader>mo', ':MindOpenMain<CR>', {})
|
map('n', '<leader>mo', ':MindOpenMain<CR>', {})
|
||||||
|
@ -33,6 +33,17 @@ let
|
|||||||
};
|
};
|
||||||
dependencies = with vimPlugins; [ nvim-cmp tabular ];
|
dependencies = with vimPlugins; [ nvim-cmp tabular ];
|
||||||
};
|
};
|
||||||
|
neogen = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
|
||||||
|
pname = "neogen";
|
||||||
|
version = "2023-01-16";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "danymat";
|
||||||
|
repo = pname;
|
||||||
|
rev = "465af9d6c6fb7f360175991dcc23fc10917e3a06";
|
||||||
|
sha256 = "sha256-I8vlVDSJQqFfLkqRS8lwdVAEUxKwi+IKSGFVqZ6l2SE=";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
baseVimPackages = with vimPlugins; [
|
baseVimPackages = with vimPlugins; [
|
||||||
fugitive
|
fugitive
|
||||||
fzf-vim
|
fzf-vim
|
||||||
@ -40,7 +51,6 @@ let
|
|||||||
nvim-lspconfig
|
nvim-lspconfig
|
||||||
nvim-tree-lua
|
nvim-tree-lua
|
||||||
rust-vim
|
rust-vim
|
||||||
obsidian
|
|
||||||
telescope-fzf-native-nvim
|
telescope-fzf-native-nvim
|
||||||
telescope-nvim
|
telescope-nvim
|
||||||
vimagit
|
vimagit
|
||||||
@ -50,7 +60,10 @@ let
|
|||||||
vim-nix
|
vim-nix
|
||||||
vim-ocaml
|
vim-ocaml
|
||||||
zig-vim
|
zig-vim
|
||||||
|
nvim-treesitter.withAllGrammars
|
||||||
|
|
||||||
|
neogen
|
||||||
|
obsidian
|
||||||
parchment
|
parchment
|
||||||
vacme
|
vacme
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user