Add a few navigation keybindings

writing
Nick Zana 3 years ago
parent 74e7c324a9
commit c67ba08293
No known key found for this signature in database
GPG Key ID: A6E59E60FE474883

@ -3,6 +3,12 @@ local map = vim.api.nvim_set_keymap
-- Avoid infinitely recursive definitions
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
-- Terminal

Loading…
Cancel
Save