From 011960afe630ece67e817130dedca76e4847b10e Mon Sep 17 00:00:00 2001 From: siduck76 Date: Sun, 14 Mar 2021 09:54:48 +0530 Subject: [PATCH] open terminals vertically/horizontally --- init.lua | 1 - lua/mappings/lua.lua | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 621d5f9..05d783b 100644 --- a/init.lua +++ b/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") diff --git a/lua/mappings/lua.lua b/lua/mappings/lua.lua index 5caa8cd..da92370 100644 --- a/lua/mappings/lua.lua +++ b/lua/mappings/lua.lua @@ -8,3 +8,7 @@ end -- keybind list map("", "c", '"+y') + +-- open terminals +map("n", "" , [[ vnew term://bash]] , opt) -- split term vertically , over the right +map("n", "" , [[ split term://bash | resize 10 ]] , opt) -- split term vertically , over the right