From f77e2cd95eae7915ccc3c8acbf6ef68e19d92180 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 13 Jul 2022 20:12:10 +0200 Subject: Add lir and change split keymaps --- fnl/config/which-key.fnl | 2 -- fnl/settings/keymaps.fnl | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'fnl') diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl index a6f690c..063a3da 100644 --- a/fnl/config/which-key.fnl +++ b/fnl/config/which-key.fnl @@ -53,8 +53,6 @@ :t ["Telescope live_grep theme=ivy" "Find Text"] :P ["Telescope projects" :Projects] :z [:ZenMode "Zen Mode"] - :v [:vsplit "Vertical Split"] - :h [:split "Horizontal Split"] :p {:name :Packer :c [:PackerCompile :Compile] :i [:PackerInstall :Install] 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 : ":m .+1==" opts) (map :v : ":m .-2==" opts) (map :v :p "\"_dP" opts) + +;; Splits +(map :n : :split opts) +(map :n : :split opts) +(map :n : :vsplit opts) + +(map :n :- ":lua require'lir.float'.toggle()" opts) -- cgit v1.2.3-70-g09d2