summaryrefslogtreecommitdiffstats
path: root/lua/config
diff options
context:
space:
mode:
Diffstat (limited to 'lua/config')
-rw-r--r--lua/config/options.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/config/options.lua b/lua/config/options.lua
index 77ccaf1..5e39088 100644
--- a/lua/config/options.lua
+++ b/lua/config/options.lua
@@ -19,10 +19,12 @@ return {
vim.opt.undolevels = 1000
vim.opt.relativenumber = true
- vim.opt.cmdheight = 0
vim.opt.fillchars = 'eob: '
vim.opt.fillchars = 'fold: '
vim.opt.fillchars = 'vert: '
+ vim.opt.cmdheight = 0
+ vim.cmd [[ autocmd RecordingEnter * set cmdheight=1 ]]
+ vim.cmd [[ autocmd RecordingLeave * set cmdheight=0 ]]
vim.opt.showmode = false
vim.opt.smartindent = true