Add remaps for opening terminal

This commit is contained in:
2022-01-16 11:12:26 +03:00
parent b2931e8835
commit 398dec0d74
4 changed files with 47 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
function open_terminal(vertically)
vertically = vertically or false
if vertically then
vim.cmd(":vs term://bash")
else
vim.cmd(":split term://bash")
end
end