open terminals vertically/horizontally
This commit is contained in:
parent
3529897d53
commit
011960afe6
2 changed files with 4 additions and 1 deletions
1
init.lua
1
init.lua
|
@ -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")
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue