summaryrefslogtreecommitdiff
path: root/fnl/settings
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-12-07 00:03:34 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-12-07 00:03:34 +0100
commit0607b1d6a930013d1a7f471da61ac33cad4814c0 (patch)
treeb99cbb6cf99e36f96053d8497acd10c6ef2ed8cf /fnl/settings
parent1017504d74d03f4065c56679699f057a500d55cd (diff)
Add centering when moving half page
Diffstat (limited to 'fnl/settings')
-rw-r--r--fnl/settings/keymaps.fnl3
1 files changed, 3 insertions, 0 deletions
diff --git a/fnl/settings/keymaps.fnl b/fnl/settings/keymaps.fnl
index 83ed725..7695aab 100644
--- a/fnl/settings/keymaps.fnl
+++ b/fnl/settings/keymaps.fnl
@@ -48,6 +48,9 @@
(map :n :<m-m> :<cmd>bprev<CR> opts)
(map :n :<m-i> :<cmd>bnext<CR> opts)
+(map :n :<c-d> :<c-d>zz opts)
+(map :n :<c-u> :<c-u>zz opts)
+
(map :n :<m-n> :<cmd>nohlsearch<CR> opts)
(map :n :Q "<cmd>:q<CR>" opts)