diff --git a/.config/VSCodium/User/keybindings.json b/.config/VSCodium/User/keybindings.json index 836221cf..58da7442 100644 --- a/.config/VSCodium/User/keybindings.json +++ b/.config/VSCodium/User/keybindings.json @@ -285,4 +285,19 @@ "command": "-toggleexcludedfiles.toggle", "when": "filesExplorerFocus" }, + { + "key": "alt+enter", + "command": "-notebook.cell.executeAndInsertBelow", + "when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" + }, + { + "key": "alt+enter", + "command": "editor.action.inlineSuggest.commit", + "when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" + }, + { + "key": "tab", + "command": "-editor.action.inlineSuggest.commit", + "when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" + }, ] \ No newline at end of file diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index 9f92f0c9..9c500a71 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -27,7 +27,7 @@ "diffview.nvim": { "branch": "main", "commit": "3dc498c9777fe79156f3d32dddd483b8b3dbd95f" }, "dooku.nvim": { "branch": "main", "commit": "0d471187f512c1fd96ed8c0a70df61a0473f8cca" }, "dressing.nvim": { "branch": "master", "commit": "c1179336aaeca82a785cade27e9b7b276af3222e" }, - "dropbar.nvim": { "branch": "master", "commit": "982d728f948ce768475454a0cf16bebc12674e28" }, + "dropbar.nvim": { "branch": "master", "commit": "b1b59792a26e212a61acf8c78d393e4d4295dfc1" }, "edgy.nvim": { "branch": "main", "commit": "8355be45610afdf79a0bab32b91ee297997455b4" }, "flash.nvim": { "branch": "main", "commit": "48817af25f51c0590653bbc290866e4890fe1cbe" }, "friendly-snippets": { "branch": "main", "commit": "69a2c1675b66e002799f5eef803b87a12f593049" }, @@ -99,7 +99,7 @@ "nvim-regexplainer": { "branch": "main", "commit": "78fff711edcb986a05a03253c28a90e32c4ce31f" }, "nvim-scissors": { "branch": "main", "commit": "63d05e732d1403fcd7c7e1fb6b55763adcd08b64" }, "nvim-spectre": { "branch": "master", "commit": "d8906855f1949ac97b1e77aaf8d3fe12ed158ddc" }, - "nvim-treesitter": { "branch": "master", "commit": "94cb036ba7bd2b4086c04c945da5e983b5e8b322" }, + "nvim-treesitter": { "branch": "master", "commit": "07c8c3d84f67b1530f636dcad31971f569a3df5f" }, "nvim-treesitter-context": { "branch": "master", "commit": "2017a0d7fc2d3790d823feddedada506984a10ce" }, "nvim-treesitter-endwise": { "branch": "master", "commit": "4c344ffc8d54d7e1ba2cefaaa2c10ea93aa1cc2d" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "19a91a38b02c1c28c14e0ba468d20ae1423c39b2" }, diff --git a/.config/nvim/lua/plugins/extras/util/vscode.lua b/.config/nvim/lua/plugins/extras/util/vscode.lua index 26d2b0b9..08294b67 100644 --- a/.config/nvim/lua/plugins/extras/util/vscode.lua +++ b/.config/nvim/lua/plugins/extras/util/vscode.lua @@ -88,14 +88,15 @@ vim.api.nvim_create_autocmd("User", { -- project manager map("n", "fp", vscode_action("projectManager.listProjects")) -- zoxide - map( - "n", - "fz", - vscode_action( - "terminalCommandKeys.run", - { args = { cmd = "cdzc", newTerminal = false, saveAllFiles = false, showTerminal = true, focus = true } } - ) - ) + -- stylua: ignore + map("n", "fz", vscode_action("terminalCommandKeys.run", + { args = { cmd = "cdzc", newTerminal = false, saveAllFiles = false, showTerminal = true, focus = true } } + )) + -- zen mode + map("n", "z", vscode_action("workbench.action.toggleZenMode")) + -- cspell + map("n", "!", vscode_action("cSpell.addWordToDictionary")) + map("n", "us", vscode_action("cSpell.toggleEnableSpellChecker")) end, })