mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
refactor(keymaps)!: don't hijack H/L by default (#2874)
This commit is contained in:
parent
9caa457810
commit
45f9825d1e
2 changed files with 2 additions and 4 deletions
|
@ -61,10 +61,6 @@ local defaults = {
|
|||
["<C-Left>"] = ":vertical resize -2<CR>",
|
||||
["<C-Right>"] = ":vertical resize +2<CR>",
|
||||
|
||||
-- Tab switch buffer
|
||||
["<S-l>"] = ":BufferLineCycleNext<CR>",
|
||||
["<S-h>"] = ":BufferLineCyclePrev<CR>",
|
||||
|
||||
-- Move current line / block with Alt-j/k a la vscode.
|
||||
["<A-j>"] = ":m .+1<CR>==",
|
||||
["<A-k>"] = ":m .-2<CR>==",
|
||||
|
|
|
@ -19,6 +19,8 @@ lvim.colorscheme = "onedarker"
|
|||
lvim.leader = "space"
|
||||
-- add your own keymapping
|
||||
lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
|
||||
-- lvim.keys.normal_mode["<S-l>"] = ":BufferLineCycleNext<CR>"
|
||||
-- lvim.keys.normal_mode["<S-h>"] = ":BufferLineCyclePrev<CR>"
|
||||
-- unmap a default keymapping
|
||||
-- vim.keymap.del("n", "<C-Up>")
|
||||
-- override a default keymapping
|
||||
|
|
Loading…
Reference in a new issue