diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-07-19 02:17:18 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-07-19 02:17:18 +0530 |
commit | 3e4ce0d7db1a308a8e0d6051e8020211bd84ea94 (patch) | |
tree | 5128c213d68da7bc9b11a71fb0f83f2660cb9595 /.config/nvim/lua/justsaumit/toggleterm-config.lua | |
parent | 55d2488635f81916d092c81e6ec79740f7b45461 (diff) |
nvim: Adding toggleterm plugin + whickey spacebinds w term,lazygit and packer
Diffstat (limited to '.config/nvim/lua/justsaumit/toggleterm-config.lua')
-rw-r--r-- | .config/nvim/lua/justsaumit/toggleterm-config.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.config/nvim/lua/justsaumit/toggleterm-config.lua b/.config/nvim/lua/justsaumit/toggleterm-config.lua new file mode 100644 index 0000000..b1579cd --- /dev/null +++ b/.config/nvim/lua/justsaumit/toggleterm-config.lua @@ -0,0 +1,16 @@ +require'toggleterm'.setup{ + size = 20, + open_mapping = [[<c-\>]], + hide_numbers = true, -- hide the number column in toggleterm buffers + shade_filetypes = {}, + autochdir = false, + shade_terminals = true, + shading_factor = 1, + start_in_insert = true, + insert_mappings = true, -- whether or not the open mapping applies in insert mode + terminal_mappings = true, -- whether or not the open mapping applies in the opened terminals + persist_size = true, + direction = 'horizontal', + close_on_exit = true, + shell = '/usr/bin/zsh', +} |