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 local g = vim.g
g.maplocalleader = ";" g.maplocalleader = ";"
opt.mouse = "" -- hardcore vim mode, disable the mouse
opt.signcolumn = "yes" opt.signcolumn = "yes"
opt.spelllang = "en,de"
opt.clipboard = "" -- don't just use the system clipboard opt.clipboard = "" -- don't just use the system clipboard
opt.wrap = false opt.wrap = false
opt.breakindent = 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.pumwidth = 10 -- Minimum width for the popup menu
opt.pumblend = 10 -- Popup blend 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 -- autocommands
-- === -- ===
local function augroup(name) local function augroup(name)

View File

@ -359,6 +359,10 @@ M.movements = {
-- spell -- spell
["]s"] = { "]s", "go to next spelling mark" }, ["]s"] = { "]s", "go to next spelling mark" },
["[s"] = { "[s", "go to last 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 = { v = {
--big move --big move

View File

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

View File

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

View File

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

Binary file not shown.