move to parent folder hotkey

This commit is contained in:
Dennis Chan 2025-05-06 11:03:47 +08:00
parent 4d9a4b9f11
commit c6012d2d5d
1 changed files with 3 additions and 2 deletions

View File

@ -108,7 +108,7 @@ vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right win
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
vim.keymap.set('n', '<leader>fs', '<cmd>Oil<CR>', { desc = 'Open parent directory' })
vim.keymap.set('n', '<leader>p', '<cmd>Oil<CR>', { desc = 'Open parent directory' })
-- NOTE: Some terminals have colliding keymaps or are not able to send distinct keycodes
-- vim.keymap.set("n", "<C-S-h>", "<C-w>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' },
},
},
},