Nvim: update most of the plugins
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
return {
|
||||
'numToStr/FTerm.nvim',
|
||||
opts = {
|
||||
config = function()
|
||||
require('FTerm').setup({
|
||||
-- Filetype of the terminal buffer
|
||||
ft = 'FTerm',
|
||||
|
||||
@@ -23,10 +24,10 @@ return {
|
||||
-- Object containing the terminal window dimensions.
|
||||
-- The value for each field should be between `0` and `1`
|
||||
dimensions = {
|
||||
height = 0.9, -- Height of the terminal window
|
||||
width = 0.9, -- Width of the terminal window
|
||||
x = 0.5, -- X axis of the terminal window
|
||||
y = 0.5, -- Y axis of the terminal window
|
||||
height = 0.9, -- Height of the terminal window
|
||||
width = 0.9, -- Width of the terminal window
|
||||
x = 0.5, -- X axis of the terminal window
|
||||
y = 0.5, -- Y axis of the terminal window
|
||||
},
|
||||
|
||||
-- Callback invoked when the terminal exits.
|
||||
@@ -40,5 +41,10 @@ return {
|
||||
-- Callback invoked when the terminal emits stderr data.
|
||||
-- See `:h jobstart-options`
|
||||
on_stderr = nil,
|
||||
}
|
||||
})
|
||||
|
||||
vim.keymap.set('n', '<leader>i', '<cmd>lua require("FTerm").toggle()<CR>', { noremap = true, silent = true })
|
||||
vim.keymap.set('t', '<leader>i', '<cmd>lua require("FTerm").toggle()<CR>', { noremap = true, silent = true })
|
||||
end,
|
||||
enabled = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user