open terminals vertically/horizontally

This commit is contained in:
siduck76 2021-03-14 09:54:48 +05:30
parent 3529897d53
commit 011960afe6
2 changed files with 4 additions and 1 deletions

View file

@ -11,7 +11,6 @@ require("telescope-nvim.lua")
-- lsp -- lsp
require("nvim-lspconfig.lua") require("nvim-lspconfig.lua")
require("nvim-compe.lua") require("nvim-compe.lua")
require("coc.lua")
require("gitsigns.lua") require("gitsigns.lua")

View file

@ -8,3 +8,7 @@ end
-- keybind list -- keybind list
map("", "<leader>c", '"+y') map("", "<leader>c", '"+y')
-- open terminals
map("n", "<C-b>" , [[<Cmd> vnew term://bash<CR>]] , opt) -- split term vertically , over the right
map("n", "<C-x>" , [[<Cmd> split term://bash | resize 10 <CR>]] , opt) -- split term vertically , over the right