Skip to content

Commit c6012d2

Browse files
committed
move to parent folder hotkey
1 parent 4d9a4b9 commit c6012d2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

init.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right win
108108
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
109109
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
110110

111-
vim.keymap.set('n', '<leader>fs', '<cmd>Oil<CR>', { desc = 'Open parent directory' })
111+
vim.keymap.set('n', '<leader>p', '<cmd>Oil<CR>', { desc = 'Open parent directory' })
112112

113113
-- NOTE: Some terminals have colliding keymaps or are not able to send distinct keycodes
114114
-- vim.keymap.set("n", "<C-S-h>", "<C-w>H", { desc = "Move window to the left" })
@@ -686,7 +686,8 @@ require('lazy').setup({
686686
-- python = { "isort", "black" },
687687
--
688688
-- You can use 'stop_after_first' to run the first available formatter from the list
689-
-- javascript = { "prettierd", "prettier", stop_after_first = true },
689+
javascript = { 'prettier', stop_after_first = true },
690+
typescript = { 'prettier' },
690691
},
691692
},
692693
},

0 commit comments

Comments
 (0)