Working config with a few files split up

This commit is contained in:
Prajakt Shastry 2023-12-28 22:21:26 -05:00
parent 649cf7b71e
commit cbc601ca55
8 changed files with 346 additions and 380 deletions

9
lua/custom/key_maps.lua Normal file
View 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 })