NixVim settings and keybinds for non LSP / auto-complete
This commit is contained in:
parent
dc50201410
commit
4f94626677
1 changed files with 38 additions and 24 deletions
|
@ -70,44 +70,55 @@ in
|
||||||
action = "<cmd>Neotree<cr>";
|
action = "<cmd>Neotree<cr>";
|
||||||
options.silent = true;
|
options.silent = true;
|
||||||
}
|
}
|
||||||
{
|
|
||||||
key = "<C-h>";
|
|
||||||
action = "<cmd>TmuxNavigateLeft<cr>";
|
|
||||||
options.silent = true;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
key = "<C-j>";
|
|
||||||
action = "<cmd>TmuxNavigateDown<cr>";
|
|
||||||
options.silent = true;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
key = "<C-k>";
|
|
||||||
action = "<cmd>TmuxNavigateUp<cr>";
|
|
||||||
options.silent = true;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
key = "<C-l>";
|
|
||||||
action = "<cmd>TmuxNavigateRight<cr>";
|
|
||||||
options.silent = true;
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# TODO Check desireable keybinds and commands for all plugins
|
# TODO Check desireable keybinds and commands for all plugins
|
||||||
plugins = {
|
plugins = {
|
||||||
fugitive.enable = true;
|
fugitive.enable = true;
|
||||||
gitsigns.enable = true;
|
gitsigns = {
|
||||||
lualine = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.options.iconsEnabled = false;
|
settings = {
|
||||||
|
current_line_blame_opts.delay = 100;
|
||||||
|
numhl = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
lualine.enable = true;
|
||||||
markdown-preview.enable = true;
|
markdown-preview.enable = true;
|
||||||
neo-tree.enable = true;
|
neo-tree = {
|
||||||
|
enable = true;
|
||||||
|
buffers.followCurrentFile = {
|
||||||
|
enabled = true;
|
||||||
|
leaveDirsOpen = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
nix.enable = true;
|
nix.enable = true;
|
||||||
rainbow-delimiters.enable = true;
|
rainbow-delimiters.enable = true;
|
||||||
sleuth.enable = true;
|
sleuth.enable = true;
|
||||||
tmux-navigator = {
|
tmux-navigator = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.no_mappings = 1;
|
settings.no_mappings = 1;
|
||||||
|
keymaps = [
|
||||||
|
{
|
||||||
|
key = "<C-h>";
|
||||||
|
action = "left";
|
||||||
|
#options.silent = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<C-j>";
|
||||||
|
action = "down";
|
||||||
|
#options.silent = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<C-k>";
|
||||||
|
action = "up";
|
||||||
|
#options.silent = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<C-l>";
|
||||||
|
action = "right";
|
||||||
|
#options.silent = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
treesitter = {
|
treesitter = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -116,6 +127,9 @@ in
|
||||||
nixGrammars = true;
|
nixGrammars = true;
|
||||||
};
|
};
|
||||||
web-devicons.enable = true;
|
web-devicons.enable = true;
|
||||||
|
which-key = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
cmp = {
|
cmp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue