From 39e42cde326d0d2531589642175e62842db76e59 Mon Sep 17 00:00:00 2001 From: mequidis Date: Tue, 2 Aug 2022 11:17:20 +0300 Subject: [PATCH] nvim: disable the "Press ENTER or type command to continue" prompt --- .config/nvim/lua/options.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/options.lua b/.config/nvim/lua/options.lua index a060a08..cb8df09 100644 --- a/.config/nvim/lua/options.lua +++ b/.config/nvim/lua/options.lua @@ -3,11 +3,13 @@ vim.opt.autoread = true vim.opt.clipboard = "unnamedplus" vim.opt.conceallevel = 0 vim.opt.hlsearch = false +vim.opt.laststatus = 3 vim.opt.lazyredraw = true vim.opt.mouse = "a" vim.opt.nu = true vim.opt.rnu = true vim.opt.scrolloff = 10 +vim.opt.shortmess = "aoOtI" vim.opt.shortmess = "c" vim.opt.showcmd = true vim.opt.showmode = false @@ -15,7 +17,6 @@ vim.opt.sw = 4 vim.opt.swapfile = false vim.opt.timeoutlen = 500 vim.opt.ts = 4 -vim.opt.laststatus = 3 -- trigger autoread on file change vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "CursorHold", "CursorHoldI" }, {