From c6012d2d5d63ccf0e3da025ab37864a4c3a670bb Mon Sep 17 00:00:00 2001 From: Dennis Chan Date: Tue, 6 May 2025 11:03:47 +0800 Subject: [PATCH] move to parent folder hotkey --- init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index e0fb4f58..5556c160 100644 --- a/init.lua +++ b/init.lua @@ -108,7 +108,7 @@ vim.keymap.set('n', '', '', { desc = 'Move focus to the right win vim.keymap.set('n', '', '', { desc = 'Move focus to the lower window' }) vim.keymap.set('n', '', '', { desc = 'Move focus to the upper window' }) -vim.keymap.set('n', 'fs', 'Oil', { desc = 'Open parent directory' }) +vim.keymap.set('n', 'p', 'Oil', { desc = 'Open parent directory' }) -- NOTE: Some terminals have colliding keymaps or are not able to send distinct keycodes -- vim.keymap.set("n", "", "H", { desc = "Move window to the left" }) @@ -686,7 +686,8 @@ require('lazy').setup({ -- python = { "isort", "black" }, -- -- You can use 'stop_after_first' to run the first available formatter from the list - -- javascript = { "prettierd", "prettier", stop_after_first = true }, + javascript = { 'prettier', stop_after_first = true }, + typescript = { 'prettier' }, }, }, },