1
0
Fork 0

small configuration changes

This commit is contained in:
Luca Bilke 2024-01-26 12:42:12 +01:00
parent f0a6932380
commit 8bf9ffef67
3 changed files with 8 additions and 9 deletions

View file

@ -221,7 +221,9 @@ if f.is_available("toggleterm.nvim") then
maps.t["<F7>"] = maps.n["<F7>"]
-- TODO: Patch st: https://st.suckless.org/patches/fix_keyboard_input/
-- maps.n["<C-'>"] = maps.n["<F7>"]
-- maps.t["<C-'>"] = maps.n["<F7>"]
-- maps.t["<C-'>"] = maps.t["<F7>"]
maps.n["<C-z>"] = maps.n["<F7>"]
maps.t["<C-z>"] = maps.t["<F7>"]
end
if f.is_available "nvim-dap" then

View file

@ -1,5 +1,7 @@
local M = { "lmburns/lf.nvim" }
M.depends = { "toggleterm.nvim" }
M.cmd = { "Lf" }
M.opts = {

View file

@ -3,14 +3,9 @@ local M = { "akinsho/toggleterm.nvim" }
M.cmd = { "ToggleTerm", "TermExec" }
M.opts = {
size = 20,
shading_factor = 2,
direction = "float",
open_mapping = [[<F7>]],
float_opts = {
winblend = 5,
border = "rounded",
},
shade_terminals = false,
open_mapping = false,
direction = "horizontal",
on_create = function()
vim.opt.foldcolumn = "0"
vim.opt.signcolumn = "no"