fix telescope and add todo-comments
This commit is contained in:
parent
e9ded6316c
commit
cd1bc6acc3
4 changed files with 49 additions and 36 deletions
|
|
@ -23,6 +23,7 @@ _: {
|
|||
./plugins/editor/undotree.nix
|
||||
./plugins/editor/illuminate.nix
|
||||
./plugins/editor/indent-blankline.nix
|
||||
./plugins/editor/todo-comments.nix
|
||||
|
||||
# UI plugins
|
||||
./plugins/ui/bufferline.nix
|
||||
|
|
|
|||
12
config/plugins/editor/todo-comments.nix
Normal file
12
config/plugins/editor/todo-comments.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
_: {
|
||||
plugins.todo-comments = {
|
||||
enable = true;
|
||||
colors = {
|
||||
error = ["DiagnosticError" "ErrorMsg" "#ED8796"];
|
||||
warning = ["DiagnosticWarn" "WarningMsg" "#EED49F"];
|
||||
info = ["DiagnosticInfo" "#EED49F"];
|
||||
default = ["Identifier" "#F5A97F"];
|
||||
test = ["Identifier" "#8AADF4"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
};
|
||||
keymaps = {
|
||||
"<leader><space>" = {
|
||||
action = "find_files, {}";
|
||||
action = "find_files";
|
||||
options = {
|
||||
desc = "Find project files";
|
||||
};
|
||||
|
|
@ -33,139 +33,139 @@
|
|||
};
|
||||
};
|
||||
"<leader>:" = {
|
||||
action = "command_history, {}";
|
||||
action = "command_history";
|
||||
options = {
|
||||
desc = "Command History";
|
||||
};
|
||||
};
|
||||
"<leader>b" = {
|
||||
action = "buffers, {}";
|
||||
action = "buffers";
|
||||
options = {
|
||||
desc = "+buffer";
|
||||
};
|
||||
};
|
||||
"<leader>ff" = {
|
||||
action = "find_files, {}";
|
||||
action = "find_files";
|
||||
options = {
|
||||
desc = "Find project files";
|
||||
};
|
||||
};
|
||||
"<leader>fr" = {
|
||||
action = "live_grep, {}";
|
||||
action = "live_grep";
|
||||
options = {
|
||||
desc = "Find text";
|
||||
};
|
||||
};
|
||||
"<leader>fR" = {
|
||||
action = "resume, {}";
|
||||
action = "resume";
|
||||
options = {
|
||||
desc = "Resume";
|
||||
};
|
||||
};
|
||||
"<leader>fg" = {
|
||||
action = "oldfiles, {}";
|
||||
action = "oldfiles";
|
||||
options = {
|
||||
desc = "Recent";
|
||||
};
|
||||
};
|
||||
"<leader>fb" = {
|
||||
action = "buffers, {}";
|
||||
action = "buffers";
|
||||
options = {
|
||||
desc = "Buffers";
|
||||
};
|
||||
};
|
||||
"<C-p>" = {
|
||||
action = "git_files, {}";
|
||||
action = "git_files";
|
||||
options = {
|
||||
desc = "Search git files";
|
||||
};
|
||||
};
|
||||
"<leader>gc" = {
|
||||
action = "git_commits, {}";
|
||||
action = "git_commits";
|
||||
options = {
|
||||
desc = "Commits";
|
||||
};
|
||||
};
|
||||
"<leader>gs" = {
|
||||
action = "git_status, {}";
|
||||
action = "git_status";
|
||||
options = {
|
||||
desc = "Status";
|
||||
};
|
||||
};
|
||||
"<leader>sa" = {
|
||||
action = "autocommands, {}";
|
||||
action = "autocommands";
|
||||
options = {
|
||||
desc = "Auto Commands";
|
||||
};
|
||||
};
|
||||
"<leader>sb" = {
|
||||
action = "current_buffer_fuzzy_find, {}";
|
||||
action = "current_buffer_fuzzy_find";
|
||||
options = {
|
||||
desc = "Buffer";
|
||||
};
|
||||
};
|
||||
"<leader>sc" = {
|
||||
action = "command_history, {}";
|
||||
action = "command_history";
|
||||
options = {
|
||||
desc = "Command History";
|
||||
};
|
||||
};
|
||||
"<leader>sC" = {
|
||||
action = "commands, {}";
|
||||
action = "commands";
|
||||
options = {
|
||||
desc = "Commands";
|
||||
};
|
||||
};
|
||||
"<leader>sD" = {
|
||||
action = "diagnostics, {}";
|
||||
action = "diagnostics";
|
||||
options = {
|
||||
desc = "Workspace diagnostics";
|
||||
};
|
||||
};
|
||||
"<leader>sh" = {
|
||||
action = "help_tags, {}";
|
||||
action = "help_tags";
|
||||
options = {
|
||||
desc = "Help pages";
|
||||
};
|
||||
};
|
||||
"<leader>sH" = {
|
||||
action = "highlights, {}";
|
||||
action = "highlights";
|
||||
options = {
|
||||
desc = "Search Highlight Groups";
|
||||
};
|
||||
};
|
||||
"<leader>sk" = {
|
||||
action = "keymaps, {}";
|
||||
action = "keymaps";
|
||||
options = {
|
||||
desc = "Keymaps";
|
||||
};
|
||||
};
|
||||
"<leader>sM" = {
|
||||
action = "man_pages, {}";
|
||||
action = "man_pages";
|
||||
options = {
|
||||
desc = "Man pages";
|
||||
};
|
||||
};
|
||||
"<leader>sm" = {
|
||||
action = "marks, {}";
|
||||
action = "marks";
|
||||
options = {
|
||||
desc = "Jump to Mark";
|
||||
};
|
||||
};
|
||||
"<leader>so" = {
|
||||
action = "vim_options, {}";
|
||||
action = "vim_options";
|
||||
options = {
|
||||
desc = "Options";
|
||||
};
|
||||
};
|
||||
"<leader>sR" = {
|
||||
action = "resume, {}";
|
||||
action = "resume";
|
||||
options = {
|
||||
desc = "Resume";
|
||||
};
|
||||
};
|
||||
"<leader>uC" = {
|
||||
action = "colorscheme, {}";
|
||||
action = "colorscheme";
|
||||
options = {
|
||||
desc = "Colorscheme preview";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue