Skip to content

Commit

Permalink
chore: drop useless keymaps
Browse files Browse the repository at this point in the history
  • Loading branch information
CnTeng committed Jan 18, 2025
1 parent 1804f8a commit 1740004
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions config/lua/core/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,8 @@ keymap("n", "<leader><tab>o", "<cmd>tabonly<cr>", { desc = "Close Other Tabs" })
keymap("n", "<leader><tab>c", "<cmd>tabclose<cr>", { desc = "Close Tab" })

-- Cmdline
keymap("c", "<C-a>", "<home>")
keymap("c", "<C-b>", "<Left>")
keymap("c", "<C-f>", "<Right>")
keymap("c", "<A-b>", "<S-Left>")
keymap("c", "<A-f>", "<S-Right>")
keymap("c", "<C-p>", "<Up>")
keymap("c", "<C-n>", "<Down>")

-- Terminal
keymap("t", "<Esc>", "<C-\\><C-N>", { desc = "Exit normal mode" })

0 comments on commit 1740004

Please sign in to comment.