add toggle term
This commit is contained in:
parent
7b4d98350d
commit
ffcfa49f9c
26
init.lua
26
init.lua
|
|
@ -578,8 +578,8 @@ require('lazy').setup({
|
||||||
'debian/odoo-tayoong.conf',
|
'debian/odoo-tayoong.conf',
|
||||||
'-u',
|
'-u',
|
||||||
'a1_einvoice_to_gov',
|
'a1_einvoice_to_gov',
|
||||||
'-d',
|
-- '-d',
|
||||||
'tayoong-test',
|
-- 'tayoong-test',
|
||||||
'--xmlrpc-port',
|
'--xmlrpc-port',
|
||||||
'8069',
|
'8069',
|
||||||
},
|
},
|
||||||
|
|
@ -592,15 +592,17 @@ require('lazy').setup({
|
||||||
table.insert(require('dap').configurations.python, {
|
table.insert(require('dap').configurations.python, {
|
||||||
type = 'python',
|
type = 'python',
|
||||||
request = 'launch',
|
request = 'launch',
|
||||||
name = 'E-invoice',
|
|
||||||
program = '/Users/quandoan/Desktop/odoo-18.0/odoo-bin',
|
program = '/Users/quandoan/Desktop/odoo-18.0/odoo-bin',
|
||||||
|
name = 'E-invoice',
|
||||||
pythonPath = '/usr/local/bin/python3.12',
|
pythonPath = '/usr/local/bin/python3.12',
|
||||||
args = {
|
args = {
|
||||||
'-c',
|
'-c',
|
||||||
'debian/odoo-e-invoice.conf',
|
'debian/odoo-e-invoice.conf',
|
||||||
'-u',
|
'-u',
|
||||||
'a1_einvoice_to_gov',
|
'a1_einvoice_to_gov,tayoong_issue_consolidate_invoice,issue_consolidate_invoice',
|
||||||
|
|
||||||
|
-- '-d',
|
||||||
|
-- 'e-invoice-3',
|
||||||
'--xmlrpc-port',
|
'--xmlrpc-port',
|
||||||
'8099',
|
'8099',
|
||||||
},
|
},
|
||||||
|
|
@ -625,6 +627,22 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'akinsho/toggleterm.nvim',
|
||||||
|
version = '*',
|
||||||
|
config = function()
|
||||||
|
require('toggleterm').setup {
|
||||||
|
open_mapping = [[<C-t>]], -- Bind Ctrl + T
|
||||||
|
direction = 'float', -- or "horizontal" | "vertical" | "tab"
|
||||||
|
size = 20,
|
||||||
|
start_in_insert = true,
|
||||||
|
shade_terminals = true,
|
||||||
|
}
|
||||||
|
|
||||||
|
-- Optional: Ensure <C-t> works in both normal and terminal mode
|
||||||
|
vim.keymap.set({ 'n', 't' }, '<C-t>', '<cmd>ToggleTerm<CR>', { noremap = true, silent = true })
|
||||||
|
end,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'mluders/comfy-line-numbers.nvim',
|
'mluders/comfy-line-numbers.nvim',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue