diff --git a/config/keymaps.nix b/config/keymaps.nix index 2266688..b87f479 100644 --- a/config/keymaps.nix +++ b/config/keymaps.nix @@ -11,6 +11,15 @@ }; } + { # prefix: find + mode = ["n"]; + key = "f"; + action = ""; + options = { + desc = "+find"; + }; + } + { # focus window left mode = ["n"]; key = ""; diff --git a/config/plugins/editor/sessions.nix b/config/plugins/editor/sessions.nix index b627ce8..4230e55 100644 --- a/config/plugins/editor/sessions.nix +++ b/config/plugins/editor/sessions.nix @@ -6,10 +6,10 @@ keymaps = [ { mode = ["n"]; - key = "ss"; + key = "fs"; action = ":SessionSearch"; options = { - desc = "Search sessions"; + desc = "Find sessions"; silent = true; }; } diff --git a/config/plugins/lsp/conform.nix b/config/plugins/lsp/conform.nix index 8631886..520bdfd 100644 --- a/config/plugins/lsp/conform.nix +++ b/config/plugins/lsp/conform.nix @@ -56,14 +56,14 @@ keymaps = [ { mode = ""; - key = "f"; + key = "F"; action.__raw = '' function() require('conform').format { async = true, lsp_fallback = true } end ''; options = { - desc = "format_buffer"; + desc = "Format buffer"; }; } ]; diff --git a/config/plugins/utils/telescope.nix b/config/plugins/utils/telescope.nix index 9002a02..5c63029 100644 --- a/config/plugins/utils/telescope.nix +++ b/config/plugins/utils/telescope.nix @@ -12,47 +12,40 @@ # Configure our telescope keymaps. keymaps = { - "/" = { - action = "live_grep"; - options = { - desc = "live_grep"; - }; - }; - ":" = { - action = "command_history"; - options = { - desc = "command_history"; - }; - }; - - # Search - "sb" = { - action = "buffers"; - options = { - desc = "Search open buffers"; - }; - }; - "sc" = { - action = "commands"; - options = { - desc = "Search Commands"; - }; - }; - "sf" = { + # Find + "ff" = { action = "find_files"; options = { - desc = "Search project files"; + desc = "Find project files"; + }; + }; + "fg" = { + action = "live_grep"; + options = { + desc = "Find pattern"; + }; + }; + "fb" = { + action = "buffers"; + options = { + desc = "Find open buffers"; + }; + }; + "fh" = { + action = "help_tags"; + options = { + desc = "Find help tags"; + }; + }; + "fc" = { + action = "commands"; + options = { + desc = "Find commands"; }; }; - # List + # Git List "glc" = { - action = "git_bcommits"; - options = { - desc = "List git commits"; - }; - }; - "glC" = { action = "git_commits"; options = { desc = "List git commits";