nvim changes
This commit is contained in:
@ -33,7 +33,7 @@ local keymap = function(mode, lhs, rhs, opts)
|
|||||||
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
|
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- --- General ---
|
-- --- General --V-
|
||||||
-- Save the current file
|
-- Save the current file
|
||||||
keymap("n", "<leader>w", ":w<CR>", { desc = "Write (Save) File" })
|
keymap("n", "<leader>w", ":w<CR>", { desc = "Write (Save) File" })
|
||||||
|
|
||||||
@ -60,3 +60,6 @@ keymap("n", "<S-l>", ":bnext<CR>", { desc = "Next Buffer" })
|
|||||||
|
|
||||||
-- Go to the previous buffer
|
-- Go to the previous buffer
|
||||||
keymap("n", "<S-h>", ":bprevious<CR>", { desc = "Previous Buffer" })
|
keymap("n", "<S-h>", ":bprevious<CR>", { desc = "Previous Buffer" })
|
||||||
|
vim.keymap.set({'n', 'i', 'v'}, '<F14>', '<C-V>', { desc = 'Enter Visual Block' })
|
||||||
|
vim.keymap.set({'n', 'i'}, '<F15>', 'V', { desc = 'Enter Visual Line' })
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user