summaryrefslogtreecommitdiff
path: root/fnl/settings/keymaps.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-13 20:12:10 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-13 20:12:10 +0200
commitf77e2cd95eae7915ccc3c8acbf6ef68e19d92180 (patch)
tree42232cd47a9ed3d6aefbe93ee1c828300e4cc946 /fnl/settings/keymaps.fnl
parentbba988db077055418189bbc41fccb29bc1378c9c (diff)
Add lir and change split keymaps
Diffstat (limited to 'fnl/settings/keymaps.fnl')
-rw-r--r--fnl/settings/keymaps.fnl7
1 files changed, 7 insertions, 0 deletions
diff --git a/fnl/settings/keymaps.fnl b/fnl/settings/keymaps.fnl
index 52254cd..b720948 100644
--- a/fnl/settings/keymaps.fnl
+++ b/fnl/settings/keymaps.fnl
@@ -50,3 +50,10 @@
(map :v :<A-j> ":m .+1<CR>==" opts)
(map :v :<A-k> ":m .-2<CR>==" opts)
(map :v :p "\"_dP" opts)
+
+;; Splits
+(map :n :<A-s> :<cmd>split<CR> opts)
+(map :n :<C-s> :<cmd>split<CR> opts)
+(map :n :<A-v> :<cmd>vsplit<CR> opts)
+
+(map :n :- ":lua require'lir.float'.toggle()<cr>" opts)