open terminals vertically/horizontally
This commit is contained in:
parent
3529897d53
commit
011960afe6
1
init.lua
1
init.lua
|
@ -11,7 +11,6 @@ require("telescope-nvim.lua")
|
|||
-- lsp
|
||||
require("nvim-lspconfig.lua")
|
||||
require("nvim-compe.lua")
|
||||
require("coc.lua")
|
||||
|
||||
require("gitsigns.lua")
|
||||
|
||||
|
|
|
@ -8,3 +8,7 @@ end
|
|||
|
||||
-- keybind list
|
||||
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 New Issue