summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/opts.lua
diff options
context:
space:
mode:
authorAdam <adam.moloney.stuck@gmail.com>2021-10-18 18:29:32 +0200
committeradamstuck <adam.moloney.stuck@gmail.com>2021-10-18 19:09:26 +0200
commit4591fc8a8bade0ea12338b1751f3fb273db163a9 (patch)
tree1aa74f846ffcc5c289ff5fd08490879e0918af5f /.config/nvim/lua/opts.lua
parente41b15d98a4a789531cd020f183c1c91f495493f (diff)
Some vim+nvim config cleanup + simple vim statusbar
Diffstat (limited to '.config/nvim/lua/opts.lua')
-rw-r--r--.config/nvim/lua/opts.lua9
1 files changed, 4 insertions, 5 deletions
diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua
index 157c899..56f066a 100644
--- a/.config/nvim/lua/opts.lua
+++ b/.config/nvim/lua/opts.lua
@@ -127,13 +127,12 @@ require'nvim-treesitter.configs'.setup {
}
require("toggleterm").setup{
- -- size can be a number or function which is passed the current terminal
- size = 65,
+ size = 15,
open_mapping = [[<c-\>]],
- hide_numbers = true, -- hide the number column in toggleterm buffers
+ hide_numbers = true,
persist_size = true,
- direction = 'vertical',
- close_on_exit = true, -- close the terminal window when the process exits
+ direction = 'horizontal',
+ close_on_exit = true,
}
require('kommentary.config').use_extended_mappings()