diff options
| -rw-r--r-- | .config/Code/User/keybindings.json | 16 | ||||
| -rw-r--r-- | .config/nvim/init.lua | 5 |
2 files changed, 19 insertions, 2 deletions
diff --git a/.config/Code/User/keybindings.json b/.config/Code/User/keybindings.json index acee1bd..526e1ea 100644 --- a/.config/Code/User/keybindings.json +++ b/.config/Code/User/keybindings.json @@ -133,6 +133,22 @@ "command": "-workbench.action.terminal.openNativeConsole", "when": "!terminalFocus" }, + // quick open / search in sidebar and copilot chat panel (mirrors vim \\ff \\fg \\fb) + { + "key": "\\ f f", + "command": "workbench.action.quickOpen", + "when": "!editorTextFocus && !terminalFocus && !textInputFocus" + }, + { + "key": "\\ f g", + "command": "workbench.view.search.focus", + "when": "!editorTextFocus && !terminalFocus && !textInputFocus" + }, + { + "key": "\\ f b", + "command": "workbench.action.quickOpenPreviousRecentlyUsedEditor", + "when": "!editorTextFocus && !terminalFocus && !textInputFocus" + }, { "key": "ctrl+b", "command": "-workbench.action.toggleSidebarVisibility" diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index e61c32d..62dd5e8 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -231,6 +231,7 @@ if tele_ok then keymap("n", "<leader>fb", function() builtin.buffers({ prompt_prefix = " search: ", + initial_mode = "normal" }) end, {}) @@ -444,10 +445,10 @@ if vim.fn.filereadable(_mkey) == 1 and vim.fn.filereadable(_ukey) == 1 then end end)(), end_point = "https://openrouter.ai/api/v1/chat/completions", - model = "meta-llama/llama-3.1-8b-instruct", + model = "deepseek/deepseek-v4-flash", name = "Openrouter", optional = { - max_tokens = 256, + max_tokens = 384, top_p = 0.9, provider = { sort = "throughput", |
