|
|
@ -3,6 +3,12 @@ local map = vim.api.nvim_set_keymap
|
|
|
|
-- Avoid infinitely recursive definitions
|
|
|
|
-- Avoid infinitely recursive definitions
|
|
|
|
options = { noremap = true }
|
|
|
|
options = { noremap = true }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Navigation
|
|
|
|
|
|
|
|
map('n', 'gh', '0', options) -- make gh go to beginning of line
|
|
|
|
|
|
|
|
map('n', 'gl', '$', options) -- make gl go to end of line
|
|
|
|
|
|
|
|
map('n', 'gk', 'gg', options) -- make gk go to top of document
|
|
|
|
|
|
|
|
map('n', 'gj', 'G', options) -- make gj go to bottom of document
|
|
|
|
|
|
|
|
|
|
|
|
-- WINDOW MANAGEMENT
|
|
|
|
-- WINDOW MANAGEMENT
|
|
|
|
|
|
|
|
|
|
|
|
-- Terminal
|
|
|
|
-- Terminal
|
|
|
|