Skip to content

Commit

Permalink
🔧 (fzf-lua): style and keymaps
Browse files Browse the repository at this point in the history
  • Loading branch information
elythh committed Dec 19, 2024
1 parent 3eb3725 commit e30909a
Showing 1 changed file with 9 additions and 47 deletions.
56 changes: 9 additions & 47 deletions config/plug/ui/fzf-lua.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,21 @@
plugins = {
fzf-lua = {
enable = true;
profile = "telescope";
settings = {
keymap = {
fzf = {
"ctrl-q" = "select-all+accept";
};
};
};
keymaps = {
"<leader>f'" = {
action = "marks";
options.desc = "View marks";
};
"<leader>f/" = {
action = "current_buffer_fuzzy_find";
action = "grep_curbuf";
options.desc = "Fuzzy find in current buffer";
};
"<leader>f<CR>" = {
Expand Down Expand Up @@ -92,52 +100,6 @@
options.desc = "View git stashes";
};
};
# keymaps = {
# "<leader>/" = {
# action = "live_grep";
# options.desc = "Live Grep";
# };
# "<leader><leader>" = {
# action = "files";
# options.desc = "Find files";
# };
# "<leader>," = {
# action = "buffers";
# options.desc = "Switch Buffer";
# settings = {
# sort_mru = true;
# sort_lastused = true;
# };
# };
# "<leader>gc" = {
# action = "git_commits";
# options.desc = "Git Commits";
# };
# "<leader>gs" = {
# action = "git_status";
# options.desc = "Git Status";
# };
# "<leader>s\"" = {
# action = "registers";
# options.desc = "Registers";
# };
# "<leader>sd" = {
# action = "diagnostics_document";
# options.desc = "Document Diagnostics";
# };
# "<leader>sD" = {
# action = "diagnostics_workspace";
# options.desc = "Workspace Diagnostics";
# };
# "<leader>sh" = {
# action = "help_tags";
# options.desc = "Help Pages";
# };
# "<leader>sk" = {
# action = "keymaps";
# options.desc = "Key Maps";
# };
# };
};
};
}

0 comments on commit e30909a

Please sign in to comment.