Simplify neovim config
This commit is contained in:
parent
fed35b2010
commit
01173ec530
2 changed files with 1 additions and 76 deletions
|
|
@ -44,6 +44,7 @@
|
|||
};
|
||||
};
|
||||
programs = {
|
||||
lazygit.enable = true;
|
||||
opencode = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
programs.nixvim = {
|
||||
enable = true;
|
||||
plugins = {
|
||||
neogit.enable = true;
|
||||
dropbar.enable = true;
|
||||
lspconfig.enable = true;
|
||||
guess-indent.enable = true;
|
||||
|
|
@ -61,77 +60,6 @@
|
|||
indent.enable = true;
|
||||
};
|
||||
harpoon.enable = true;
|
||||
dap.enable = true;
|
||||
dap-virtual-text.enable = true;
|
||||
dap-view = {
|
||||
enable = true;
|
||||
settings = {
|
||||
winbar = {
|
||||
default_section = "scopes";
|
||||
};
|
||||
};
|
||||
};
|
||||
dap-python.enable = true;
|
||||
hydra = {
|
||||
enable = true;
|
||||
hydras = [
|
||||
{
|
||||
body = "<leader>d";
|
||||
config = {
|
||||
color = "pink";
|
||||
hint = {
|
||||
hide_on_load = true;
|
||||
};
|
||||
on_enter = ''
|
||||
function()
|
||||
require("dap-view").open()
|
||||
end
|
||||
'';
|
||||
on_exit = ''
|
||||
function()
|
||||
require("dap-view").close()
|
||||
end
|
||||
'';
|
||||
};
|
||||
heads = [
|
||||
[
|
||||
"o"
|
||||
""
|
||||
]
|
||||
[
|
||||
"c"
|
||||
"<cmd>DapContinue<CR>"
|
||||
]
|
||||
[
|
||||
"b"
|
||||
"<cmd>DapToggleBreakpoint<CR>"
|
||||
]
|
||||
[
|
||||
"n"
|
||||
"<cmd>DapStepOver<CR>"
|
||||
]
|
||||
[
|
||||
"i"
|
||||
"<cmd>DapStepInto<CR>"
|
||||
]
|
||||
[
|
||||
"x"
|
||||
"<cmd>DapDisconnect<CR>"
|
||||
]
|
||||
[
|
||||
"t"
|
||||
{
|
||||
__raw = ''
|
||||
function()
|
||||
debug_current_test()
|
||||
end
|
||||
'';
|
||||
}
|
||||
]
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
keymaps = [
|
||||
{
|
||||
|
|
@ -202,10 +130,6 @@
|
|||
key = "<leader>p";
|
||||
action = "<cmd>CopyRelativePath<CR>";
|
||||
}
|
||||
{
|
||||
key = "<leader>go";
|
||||
action = "<cmd>Neogit<CR>";
|
||||
}
|
||||
{
|
||||
key = "<leader>gb";
|
||||
action = "<cmd>Gitsigns blame<CR>";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue