up
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
./mappings.nix
|
||||
./options.nix
|
||||
./plugins/conform.nix
|
||||
./plugins/blink-cmp.nix
|
||||
./plugins/grug-far.nix
|
||||
./plugins/oil.nix
|
||||
./plugins/lazygit.nix
|
||||
./plugins/lsp.nix
|
||||
./plugins/mini.nix
|
||||
|
||||
@@ -1,16 +1,10 @@
|
||||
{
|
||||
programs.nixvim.keymaps = [
|
||||
# e - explore/edit
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>ed";
|
||||
action = ":lua require('mini.files').open()<CR>";
|
||||
options.desc = "Directory";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>ef";
|
||||
action = ":lua require('mini.files').open(vim.api.nvim_buf_get_name(0))<CR>";
|
||||
action = ":lua require('oil').open()<CR>";
|
||||
options.desc = "File directory";
|
||||
}
|
||||
{
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
programs.nixvim.plugins.blink-cmp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
signature.enabled = true;
|
||||
completion = {
|
||||
accept = {
|
||||
auto_brackets = {
|
||||
enabled = true;
|
||||
semantic_token_resolution.enabled = false;
|
||||
};
|
||||
};
|
||||
documentation.auto_show = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -123,14 +123,8 @@
|
||||
];
|
||||
};
|
||||
comment = {};
|
||||
completion = {
|
||||
lsp_completion = {
|
||||
source_func = "omnifunc";
|
||||
};
|
||||
};
|
||||
diff = {};
|
||||
extra = {};
|
||||
files = {};
|
||||
git = {};
|
||||
icons = {};
|
||||
indentscope = {};
|
||||
|
||||
30
modules/home-manager/base/editors/neovim/plugins/oil.nix
Normal file
30
modules/home-manager/base/editors/neovim/plugins/oil.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
programs.nixvim.plugins.oil = {
|
||||
enable = true;
|
||||
settings = {
|
||||
columns = [
|
||||
"icon"
|
||||
];
|
||||
keymaps = {
|
||||
"<C-r>" = "actions.refresh";
|
||||
"<leader>qq" = "actions.close";
|
||||
};
|
||||
skip_confirm_for_simple_edits = true;
|
||||
constrain_cursor = "editable";
|
||||
default_file_explorer = true;
|
||||
view_options = {
|
||||
show_hidden = true;
|
||||
};
|
||||
win_options = {
|
||||
concealcursor = "ncv";
|
||||
conceallevel = 3;
|
||||
cursorcolumn = false;
|
||||
foldcolumn = "0";
|
||||
list = false;
|
||||
signcolumn = "no";
|
||||
spell = false;
|
||||
wrap = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user