Closed rzksobhy78 closed 2 years ago
You could use something like below
vim.api.nvim_exec([[
function OpenTerm()
let l:current_window = win_getid()
lua require('nvim-terminal').DefaultTerminal:open(1)
call win_gotoid(l:current_window)
endfunction
au VimEnter * call OpenTerm()
]], false)
thanks it worked
I want the terminal window to open automatically and the put the cursor on the back into the editor ?
Ty for the great plugins btw