summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/opts.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/opts.lua')
-rw-r--r--.config/nvim/lua/opts.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua
index a22a538..184900a 100644
--- a/.config/nvim/lua/opts.lua
+++ b/.config/nvim/lua/opts.lua
@@ -109,6 +109,16 @@ require'nvim-treesitter.configs'.setup {
},
}
+require("toggleterm").setup{
+ -- size can be a number or function which is passed the current terminal
+ size = 75,
+ open_mapping = [[<c-\>]],
+ hide_numbers = true, -- hide the number column in toggleterm buffers
+ persist_size = true,
+ direction = 'vertical',
+ close_on_exit = true, -- close the terminal window when the process exits
+}
+
-- Misc
require('kommentary.config').use_extended_mappings()
vim.o.tabline = '%!v:lua.require\'luatab\'.tabline()'