Refine neovim conf
This commit is contained in:
parent
13e7078dde
commit
814c9cb1e3
1 changed files with 5 additions and 6 deletions
|
@ -94,6 +94,7 @@ in
|
||||||
|
|
||||||
# TODO Check desireable keybinds and commands for all plugins
|
# TODO Check desireable keybinds and commands for all plugins
|
||||||
plugins = {
|
plugins = {
|
||||||
|
fugitive.enable = true;
|
||||||
gitsigns.enable = true;
|
gitsigns.enable = true;
|
||||||
lualine = {
|
lualine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -120,19 +121,17 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
sources = [
|
sources = [
|
||||||
{ name = "nvim-lsp"; }
|
|
||||||
{ name = "buffer"; }
|
|
||||||
{ name = "vim-lsp-signature-help"; }
|
|
||||||
{ name = "vim-vsnip"; }
|
{ name = "vim-vsnip"; }
|
||||||
|
{ name = "vim-lsp-signature-help"; }
|
||||||
|
{ name = "nvim-lsp"; }
|
||||||
{ name = "treesitter"; }
|
{ name = "treesitter"; }
|
||||||
|
{ name = "buffer"; }
|
||||||
];
|
];
|
||||||
mapping = {
|
mapping = {
|
||||||
"<C-Space>" = "cmp.mapping.complete()";
|
"<C-Space>" = "cmp.mapping.complete()";
|
||||||
"<C-d>" = "cmp.mapping.scroll_docs(-4)";
|
|
||||||
"<C-e>" = "cmp.mapping.close()";
|
"<C-e>" = "cmp.mapping.close()";
|
||||||
"<C-f>" = "cmp.mapping.scroll_docs(4)";
|
|
||||||
"<CR>" = "cmp.mapping.confirm({ select = true })";
|
"<CR>" = "cmp.mapping.confirm({ select = true })";
|
||||||
"<S-Tab>" = "cmp.mapping(cmp.mapping.select_prev_item(), {'i', 's'})";
|
"<C-Tab>" = "cmp.mapping(cmp.mapping.select_prev_item(), {'i', 's'})";
|
||||||
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
|
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue