aboutsummaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index 047fc74..b6aadab 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -108,6 +108,9 @@ keymap({"n", "t"}, "<S-A-b>j", function() toggle_terminal() end, { noremap = tru
keymap({"n", "t"}, "<S-A-b><S-A-j>", function() toggle_terminal() end, { noremap = true })
keymap("n", "<leader>sc", ":set spell!<CR>", { noremap = true, silent = true })
+keymap("n", "<A-j>", ":bnext<CR>", { noremap = true, silent = true })
+keymap("n", "<A-k>", ":bprev<CR>", { noremap = true, silent = true })
+
keymap("n", "<A-q>", "ZQ", { noremap = true })
keymap("n", "<A-z>", "ZZ", { noremap = true })
@@ -251,6 +254,7 @@ vim.api.nvim_create_autocmd("LspAttach", {
map("grd", vim.lsp.buf.definition, "definition")
map("grt", vim.lsp.buf.type_definition, "type definition")
map("K", vim.lsp.buf.hover, "hover")
+ map("<leader>F", function() vim.lsp.buf.format({ async = true }) end, "format", { "n", "x" })
local client = vim.lsp.get_client_by_id(event.data.client_id)
if client and client:supports_method("textDocument/documentHighlight", event.buf) then
> 2026-04-22refactor: `mpv.conf`kj_sh6041-7/+7 2026-04-22refactor: remove `video-sync=display-desync opengl-swapinterval=0 ↵kj_sh6041-3/+0 vulkan-swap-mode=fifo-relaxed` 2026-04-22refactor: let system handle tearfree and vsync²kj_sh6041-1/+2 2026-04-21refactor: let system handle tearfree and vsynckj_sh6041-0/+2 2026-04-20refactor: coc fixeskj_sh6041-0/+4 2026-04-16refactor: apparently a project directory is standard nowkj_sh6041-1/+1 2026-04-07refactor: remove ] shortcutskj_sh6041-11/+0 2026-04-01refactor: change `add_workspace_key` and `del_workspace_key`kj_sh6041-2/+2 2026-03-20refactor: .config/Code/User/settings.jsonkj_sh6041-1/+6 2026-03-20refactor: .config/Code/User/keybindings.jsonkj_sh6041-30/+85 2026-03-20refactor: use reasonable sizekj_sh6041-2/+2 2026-03-16refactor: add maximize secondary sidebar shortcutkj_sh6041-0/+4