Working config with a few files split up
This commit is contained in:
parent
649cf7b71e
commit
cbc601ca55
8 changed files with 346 additions and 380 deletions
9
lua/custom/key_maps.lua
Normal file
9
lua/custom/key_maps.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