nvim: hide cmd bar, when not needed
This commit is contained in:
@@ -5,7 +5,7 @@ local default_opts = { noremap = true, silent = true }
|
||||
vim.g.mapleader = ' '
|
||||
|
||||
map("n", "<C-_>", "<cmd> noh<CR>", default_opts)
|
||||
map("n", "<C-n>", "<cmd> messages<CR>", default_opts)
|
||||
map("n", "<C-m>", "<cmd> messages<CR>", default_opts)
|
||||
|
||||
-- Telescope
|
||||
local telescope = require 'telescope'
|
||||
|
||||
@@ -14,6 +14,7 @@ opt.list = true -- Show trailing whitespaces
|
||||
opt.wrap = false -- Show trailing whitespaces
|
||||
opt.ignorecase = true -- Ignore case when searching
|
||||
opt.smartcase = true -- -> unless capitol letters are used
|
||||
opt.undofile = true -- Save undo history
|
||||
opt.cmdheight = 0 -- Hide cmd bar, unless needed
|
||||
|
||||
vim.opt.undofile = true -- Save undo history
|
||||
vim.o.mouse = 'a' -- Enable mouse
|
||||
|
||||
Reference in New Issue
Block a user