aboutsummaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.config/nvim/lua/config/keymaps.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/nvim/.config/nvim/lua/config/keymaps.lua b/nvim/.config/nvim/lua/config/keymaps.lua
index 0f2944d..2bb7600 100644
--- a/nvim/.config/nvim/lua/config/keymaps.lua
+++ b/nvim/.config/nvim/lua/config/keymaps.lua
@@ -112,3 +112,7 @@ map("n", "-", "<cmd>Oil<CR>", { desc = "Open Oil.nvim", remap = true })
map("n", "<F2>", "<cmd> CompetiTest receive problem <CR>", { desc = "Receive test", remap = true })
map("n", "<F4>", "<cmd> CompetiTest run <CR>", { desc = "Run test", remap = true })
map("n", "<F5>", "<cmd> CompetiTest add_testcase <CR>", { desc = "Add test", remap = true })
+
+-- Better end and start of line navigation
+map("n", "g;", "$", { silent = true, remap = true })
+map("n", "gh", "^", { silent = true, remap = true })