summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/settings/keymaps.fnl4
-rw-r--r--fnl/settings/options.fnl2
2 files changed, 5 insertions, 1 deletions
diff --git a/fnl/settings/keymaps.fnl b/fnl/settings/keymaps.fnl
index d72ac86..16b1e16 100644
--- a/fnl/settings/keymaps.fnl
+++ b/fnl/settings/keymaps.fnl
@@ -41,7 +41,9 @@
;; Remove highlighted search
[:n :<c-m> :<cmd>nohlsearch<CR> {}]
;; Force refresh
- [:n :mj "<cmd>:e<CR>" {:desc :Refresh}]])
+ [:n :mj "<cmd>:e<CR>" {:desc :Refresh}]
+ ;; Remap jump next
+ [:n :<c-m> :<c-i> {}]])
(each [_ mapping (ipairs mappings)]
(match mapping
diff --git a/fnl/settings/options.fnl b/fnl/settings/options.fnl
index 1e9d712..d790d79 100644
--- a/fnl/settings/options.fnl
+++ b/fnl/settings/options.fnl
@@ -84,6 +84,8 @@
(each [k v (pairs opts)]
(tset vim.opt k v))
+(vim.opt.jumpoptions:append :stack)
+
;; Move to new line when reaching the beginning or end.
(vim.opt.whichwrap:append "<,>,[,],h,l")
(vim.opt.shortmess:append {:C true})