diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-13 20:12:10 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-13 20:12:10 +0200 |
commit | f77e2cd95eae7915ccc3c8acbf6ef68e19d92180 (patch) | |
tree | 42232cd47a9ed3d6aefbe93ee1c828300e4cc946 /fnl | |
parent | bba988db077055418189bbc41fccb29bc1378c9c (diff) |
Add lir and change split keymaps
Diffstat (limited to 'fnl')
-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) |