diff --git a/lua/custom/init.lua b/lua/custom/init.lua index 2c2ecd4..36ffe70 100644 --- a/lua/custom/init.lua +++ b/lua/custom/init.lua @@ -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 `ts` +opt.spelllang = "en,de_de," +opt.spellsuggest = "double,50,timeout:5000" + -- autocommands -- === local function augroup(name) diff --git a/lua/custom/mappings.lua b/lua/custom/mappings.lua index 810955d..4b7ec90 100644 --- a/lua/custom/mappings.lua +++ b/lua/custom/mappings.lua @@ -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"] = { "", "scroll up a line" }, + ["zj"] = { "", "scroll down a line" }, }, v = { --big move diff --git a/lua/custom/plugins.lua b/lua/custom/plugins.lua index ae25d30..c4b99b1 100644 --- a/lua/custom/plugins.lua +++ b/lua/custom/plugins.lua @@ -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, }, diff --git a/lua/plugins/configs/lazy_nvim.lua b/lua/plugins/configs/lazy_nvim.lua index cd170bd..03cdf47 100644 --- a/lua/plugins/configs/lazy_nvim.lua +++ b/lua/plugins/configs/lazy_nvim.lua @@ -33,7 +33,6 @@ return { "vimballPlugin", "zip", "zipPlugin", - "tutor", "rplugin", "syntax", "synmenu", diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index 9b05773..70ff233 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -271,3 +271,7 @@ PRs yaml netpong gehostet +IoT +einen +NTSecureGateway +SoC diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 6a6db88..a421d97 100644 Binary files a/spell/en.utf-8.add.spl and b/spell/en.utf-8.add.spl differ