Fix
This commit is contained in:
parent
e227f2f5f5
commit
a9882493f4
2
init.lua
2
init.lua
@ -32,7 +32,7 @@ require("lazy").setup({
|
|||||||
config = function()
|
config = function()
|
||||||
require("toggleterm").setup({
|
require("toggleterm").setup({
|
||||||
size = 20,
|
size = 20,
|
||||||
open_mapping = [[<leader>t]], -- This sets the trigger
|
open_mapping = [[<C-q>]], -- This sets the trigger
|
||||||
direction = 'float', -- This makes it floating
|
direction = 'float', -- This makes it floating
|
||||||
float_opts = {
|
float_opts = {
|
||||||
border = 'curved', -- Options: 'single', 'double', 'shadow', 'curved'
|
border = 'curved', -- Options: 'single', 'double', 'shadow', 'curved'
|
||||||
|
|||||||
@ -21,7 +21,6 @@ function _lazygit_toggle()
|
|||||||
end
|
end
|
||||||
|
|
||||||
wk.add({
|
wk.add({
|
||||||
{ "<leader>t", "<cmd>ToggleTerm<cr>", desc = "Toggle Floating Terminal"},
|
|
||||||
{"<leader>g", "<cmd>lua _lazygit_toggle()<CR>", desc = "Toggle LazyGit"},
|
{"<leader>g", "<cmd>lua _lazygit_toggle()<CR>", desc = "Toggle LazyGit"},
|
||||||
|
|
||||||
-- Essentials
|
-- Essentials
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user