Parcourir la source

feature: changed copilot accept keybinding to <C-f> like fish shell

Zander Hawke il y a 10 mois
Parent
commit
24446ba055
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      home/features/nvim/copilot.nix

+ 2 - 2
home/features/nvim/copilot.nix

@@ -13,13 +13,13 @@
 
     keymaps = [
       {
-        key = "<S-Tab>";
+        key = "<C-f>";
         action.__raw = ''
           function()
             if require("copilot.suggestion").is_visible() then
               require("copilot.suggestion").accept()
             else
-              vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes("<S-Tab>", true, false, true), "n", false)
+              vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes("<C-f>", true, false, true), "n", false)
             end
           end
         '';