forked from Shinonome/fred-neovim
Added harpoon, removed tabline
This commit is contained in:
@@ -167,6 +167,11 @@
|
||||
icon = "";
|
||||
desc = "List Workspace Folders";
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = "<leader>h";
|
||||
icon = "";
|
||||
desc = "Harpoon";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
@@ -228,6 +233,38 @@
|
||||
options.desc = "Undo breakpoint";
|
||||
}
|
||||
|
||||
# Harpoon commands
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>ha";
|
||||
action = "<CMD>lua require('harpoon.mark').add_file()<CR>";
|
||||
options.desc = "Add File";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>hn";
|
||||
action = "<CMD>lua require('harpoon.ui').nav_next()<CR>";
|
||||
options.desc = "Next File";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>hp";
|
||||
action = "<CMD>lua require('harpoon.ui').nav_prev()<CR>";
|
||||
options.desc = "Previous File";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>hm";
|
||||
action = "<CMD>Telescope harpoon marks<CR>";
|
||||
options.desc = "Telescope Menu";
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>hq";
|
||||
action = "<CMD>lua require('harpoon.ui').toggle_quick_menu()<CR>";
|
||||
options.desc = "Quick Menu";
|
||||
}
|
||||
|
||||
# FZF-Lua custom commands -- I want to limit to current directory
|
||||
{
|
||||
mode = "n";
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
];
|
||||
|
||||
extraConfigLua = ''
|
||||
require("telescope").load_extension('harpoon')
|
||||
|
||||
require("supermaven-nvim").setup({
|
||||
keymaps = {
|
||||
accept_suggestion = "<Tab>",
|
||||
|
||||
+11
-1
@@ -1,7 +1,9 @@
|
||||
{
|
||||
plugins = {
|
||||
auto-save.enable = true;
|
||||
bufferline = {
|
||||
enable = true;
|
||||
# TODO: remove this once you are used to not having it
|
||||
enable = false;
|
||||
settings = {
|
||||
options = {
|
||||
always_show_bufferline = false;
|
||||
@@ -32,6 +34,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
harpoon = {
|
||||
enable = true;
|
||||
saveOnToggle = true;
|
||||
saveOnChange = true;
|
||||
enterOnSendcmd = false;
|
||||
markBranch = true;
|
||||
};
|
||||
|
||||
hop.enable = true;
|
||||
illuminate.enable = true;
|
||||
lazygit.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user