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 = ' '
|
vim.g.mapleader = ' '
|
||||||
|
|
||||||
map("n", "<C-_>", "<cmd> noh<CR>", default_opts)
|
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
|
-- Telescope
|
||||||
local telescope = require 'telescope'
|
local telescope = require 'telescope'
|
||||||
|
|||||||
@@ -145,12 +145,12 @@ return require('packer').startup(function(use)
|
|||||||
-- fancy lsp loading animation
|
-- fancy lsp loading animation
|
||||||
use({
|
use({
|
||||||
'j-hui/fidget.nvim',
|
'j-hui/fidget.nvim',
|
||||||
config = function() require"fidget".setup{} end,
|
config = function() require "fidget".setup {} end,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- latex synctex
|
-- latex synctex
|
||||||
-- pip install pygobject dbus-python pynvim
|
-- pip install pygobject dbus-python pynvim
|
||||||
use({"peterbjorgensen/sved"})
|
use({ "peterbjorgensen/sved" })
|
||||||
|
|
||||||
-- Automatically set up your configuration after cloning packer.nvim
|
-- Automatically set up your configuration after cloning packer.nvim
|
||||||
-- Put this at the end after all plugins
|
-- Put this at the end after all plugins
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ opt.list = true -- Show trailing whitespaces
|
|||||||
opt.wrap = false -- Show trailing whitespaces
|
opt.wrap = false -- Show trailing whitespaces
|
||||||
opt.ignorecase = true -- Ignore case when searching
|
opt.ignorecase = true -- Ignore case when searching
|
||||||
opt.smartcase = true -- -> unless capitol letters are used
|
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
|
vim.o.mouse = 'a' -- Enable mouse
|
||||||
|
|||||||
Reference in New Issue
Block a user