This commit is contained in:
Christoph J. Scherr 2024-02-05 12:35:36 +01:00
commit 9f17fe4ffe
6 changed files with 28 additions and 3 deletions

View File

@ -2,8 +2,8 @@ local opt = vim.opt
local g = vim.g
g.maplocalleader = ";"
opt.mouse = "" -- hardcore vim mode, disable the mouse
opt.signcolumn = "yes"
opt.spelllang = "en,de"
opt.clipboard = "" -- don't just use the system clipboard
opt.wrap = false
opt.breakindent = false
@ -105,6 +105,13 @@ opt.pumheight = 10 -- Maximum number of items to show in the popup menu
opt.pumwidth = 10 -- Minimum width for the popup menu
opt.pumblend = 10 -- Popup blend
-- Spelling correction
-- ===
opt.spell = false -- manually enable spell with `set spell` or `<leader>ts`
opt.spelllang = "en,de_de,"
opt.spellsuggest = "double,50,timeout:5000"
-- autocommands
-- ===
local function augroup(name)

View File

@ -359,6 +359,10 @@ M.movements = {
-- spell
["]s"] = { "]s", "go to next spelling mark" },
["[s"] = { "[s", "go to last spelling mark" },
-- just scroll a line
["zk"] = { "<C-y>", "scroll up a line" },
["zj"] = { "<C-e>", "scroll down a line" },
},
v = {
--big move

View File

@ -30,7 +30,9 @@ local plugins = {
-- Install a plugin
{
-- exit insert mode with 'jk'
"max397574/better-escape.nvim",
enabled = true,
event = "InsertEnter",
config = function()
require("better_escape").setup()
@ -312,7 +314,6 @@ local plugins = {
-- lazy.nvim
{
"folke/noice.nvim",
enabled = not vim.g.started_by_firenvim,
event = "VeryLazy",
-- config.lsp.signature.enabled = false
dependencies = {
@ -344,6 +345,16 @@ local plugins = {
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help
},
messages = {
enabled = true,
view_error = "messages", -- so it does not spam boxes with errors
},
popupmenu = {
enabled = true,
},
notify = {
enabled = true,
},
}
end,
},

View File

@ -33,7 +33,6 @@ return {
"vimballPlugin",
"zip",
"zipPlugin",
"tutor",
"rplugin",
"syntax",
"synmenu",

View File

@ -271,3 +271,7 @@ PRs
yaml
netpong
gehostet
IoT
einen
NTSecureGateway
SoC

Binary file not shown.