refactor nvim config
This commit is contained in:
parent
8542426d53
commit
f4bc3252ee
40 changed files with 798 additions and 1079 deletions
9
config/nvim/lua/aleidk/keymaps.lua
Normal file
9
config/nvim/lua/aleidk/keymaps.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
-- [[ Basic Keymaps ]]
|
||||
|
||||
-- Keymaps for better default experience
|
||||
-- See `:help vim.keymap.set()`
|
||||
vim.keymap.set({ "n", "v" }, "<Space>", "<Nop>", { silent = true })
|
||||
|
||||
-- Remap for dealing with word wrap
|
||||
vim.keymap.set("n", "k", "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true })
|
||||
vim.keymap.set("n", "j", "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = true })
|
||||
Loading…
Add table
Add a link
Reference in a new issue