aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/mini.lua
diff options
context:
space:
mode:
Diffstat (limited to 'vim/mini.lua')
-rw-r--r--vim/mini.lua47
1 files changed, 22 insertions, 25 deletions
diff --git a/vim/mini.lua b/vim/mini.lua
index 6c81d8f..80d3478 100644
--- a/vim/mini.lua
+++ b/vim/mini.lua
@@ -860,31 +860,28 @@ require("lazy").setup({
860 end, 860 end,
861 }, 861 },
862 --}}} 862 --}}}
863 -- toggleterm {{{ 863 -- -- toggleterm {{{
864 { 864 -- {
865 "akinsho/toggleterm.nvim", 865 -- "akinsho/toggleterm.nvim",
866 config = function() 866 -- config = function()
867 require("toggleterm").setup({ 867 -- require("toggleterm").setup({
868 persist_size = false, 868 -- persist_size = false,
869 direction = "float", 869 -- direction = "float",
870 }) 870 -- })
871 871 --
872 vim.keymap.set({ "n", "t" }, "<A-i>", function() 872 -- vim.keymap.set({ "n", "t" }, "<A-e>", function()
873 vim.cmd("ToggleTerm direction=float") 873 -- vim.cmd("ToggleTerm direction=float")
874 end, { desc = "terminal toggle floating term" }) 874 -- end, { desc = "terminal toggle floating term" })
875 vim.keymap.set({ "n", "t" }, "<A-e>", function() 875 -- vim.keymap.set({ "n", "t" }, "<A-v>", function()
876 zoom() 876 -- vim.cmd("ToggleTerm direction=horizontal")
877 end, { desc = "terminal toggle floating term" }) 877 -- end, { desc = "terminal toggle floating term" })
878 vim.keymap.set({ "n", "t" }, "<A-v>", function() 878 -- vim.keymap.set("v", ",s", function()
879 vim.cmd("ToggleTerm direction=horizontal") 879 -- require("toggleterm").send_lines_to_terminal("single_line", trim_spaces, { args = vim.v.count })
880 end, { desc = "terminal toggle floating term" }) 880 -- vim.cmd("ToggleTerm direction=float")
881 vim.keymap.set("v", ",s", function() 881 -- end)
882 require("toggleterm").send_lines_to_terminal("single_line", trim_spaces, { args = vim.v.count }) 882 -- end,
883 vim.cmd("ToggleTerm direction=float") 883 -- },
884 end) 884 -- --}}}
885 end,
886 },
887 --}}}
888 -- Markdown: obsidian {{{ 885 -- Markdown: obsidian {{{
889 { 886 {
890 "epwalsh/obsidian.nvim", 887 "epwalsh/obsidian.nvim",