Merge branch 'wsl-merge'

removed some wsl specific commits
This commit is contained in:
Christoph J. Scherr 2023-09-07 17:04:04 +02:00
commit 6ac741b15a
9 changed files with 27 additions and 5 deletions

View File

@ -37,7 +37,6 @@ require('lazy').setup(vim.tbl_extend('keep', config.user_lazy_opts(), {
'matchparen', 'matchparen',
'2html_plugin', '2html_plugin',
'tarPlugin', 'tarPlugin',
'netrwPlugin',
'tutor', 'tutor',
'zipPlugin', 'zipPlugin',
}, },

View File

@ -96,7 +96,7 @@ vim.api.nvim_create_autocmd('VimResized', {
-- Wrap and enable spell-checker in text filetypes -- Wrap and enable spell-checker in text filetypes
vim.api.nvim_create_autocmd('FileType', { vim.api.nvim_create_autocmd('FileType', {
group = augroup('spell_conceal'), group = augroup('spell_conceal'),
pattern = { 'gitcommit', 'markdown' }, pattern = { 'gitcommit', 'markdown', 'tex', 'latex', 'norg' },
callback = function() callback = function()
vim.opt_local.spell = true vim.opt_local.spell = true
vim.opt_local.conceallevel = 0 vim.opt_local.conceallevel = 0

View File

@ -72,6 +72,10 @@ map('c', '<C-l>', '<End>')
map('n', 'zl', 'z4l') map('n', 'zl', 'z4l')
map('n', 'zh', 'z4h') map('n', 'zh', 'z4h')
-- move to spelling mistake
map('n', 'zn', ']s')
map('n', 'zN', '[s')
-- Clipboard -- Clipboard
-- === -- ===

View File

@ -26,6 +26,7 @@ opt.shada = { "'1000", "<50", "s10", "h" }
opt.conceallevel = 3 opt.conceallevel = 3
opt.signcolumn = 'yes' opt.signcolumn = 'yes'
opt.spelloptions:append('camel') opt.spelloptions:append('camel')
opt.spelllang = 'en,de'
-- What to save for views and sessions -- What to save for views and sessions
opt.viewoptions:remove('folds') opt.viewoptions:remove('folds')

View File

@ -170,7 +170,9 @@ return {
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
{ {
-- NOTE: This is leap for selecting things!
'ggandor/flit.nvim', 'ggandor/flit.nvim',
enabled = true,
keys = function() keys = function()
---@type LazyKeys[] ---@type LazyKeys[]
local ret = {} local ret = {}
@ -187,13 +189,17 @@ return {
'ggandor/leap.nvim', 'ggandor/leap.nvim',
-- stylua: ignore -- stylua: ignore
keys = { keys = {
{ 't', '<Plug>(leap-forward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap forward to' }, { 'gl', '<Plug>(leap-forward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap forward to' },
{ 'T', '<Plug>(leap-backward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap backward to' }, { 'gL', '<Plug>(leap-backward-to)', mode = { 'n', 'x', 'o' }, desc = 'Leap backward to' },
{ '<leader>wt', '<Plug>(leap-from-window)', mode = { 'n', 'x', 'o' }, desc = 'Leap from windows' }, { '<leader>wl', '<Plug>(leap-from-window)', mode = { 'n', 'x', 'o' }, desc = 'Leap to windows' },
}, },
config = function () config = function ()
local leap = require('leap') local leap = require('leap')
leap.opts.case_sensitive = false leap.opts.case_sensitive = false
leap.opts.safe_labels = { 's', 'f', 'n', 'u', 't', 'e' }
--leap.opts.labels = { 'a', 's', 'f', 'n', 'j', 'k', 'r', 'e', 'r', 'm',
-- 'ö', 'b', 'v', 'u', 'z', 'w', '2', '3', '4', '5', '6',
-- '7', '8', '9' }
end, end,
}, },

BIN
spell/de.utf-8.spl Normal file

Binary file not shown.

BIN
spell/de.utf-8.sug Normal file

Binary file not shown.

View File

@ -1,3 +1,15 @@
#ifferent #ifferent
Linter Linter
Neorg Neorg
DevOps
NewTec
Mergetools
Quellrepository
gemerged
mergen
a
ccl
NTSG
a
Jira
ReqEng

Binary file not shown.