diff options
-rw-r--r-- | fnl/config/which-key.fnl | 2 | ||||
-rw-r--r-- | fnl/settings/keymaps.fnl | 7 |
2 files changed, 7 insertions, 2 deletions
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 ["<cmd>Telescope live_grep theme=ivy<cr>" "Find Text"] :P ["<cmd>Telescope projects<cr>" :Projects] :z [:<cmd>ZenMode<cr> "Zen Mode"] - :v [:<cmd>vsplit<cr> "Vertical Split"] - :h [:<cmd>split<cr> "Horizontal Split"] :p {:name :Packer :c [:<cmd>PackerCompile<cr> :Compile] :i [:<cmd>PackerInstall<cr> :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 :<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) |