Merge branch 'master' of https://git.cscherr.de/PlexSheep/neovim-confs
This commit is contained in:
commit
433b9d1658
|
@ -97,10 +97,23 @@ vim.keymap.set({ 'n', 'v' }, '<leader>yy', '"+yy', { desc = '[Y]ank to system' }
|
||||||
vim.keymap.set({ 'n', 'v' }, '<leader>p', '"+p', { desc = '[P]aste from system' })
|
vim.keymap.set({ 'n', 'v' }, '<leader>p', '"+p', { desc = '[P]aste from system' })
|
||||||
vim.keymap.set({ 't', 'n', 'v' }, '<C-S-v>', '<C-w>"+pi', { desc = 'Paste the system clipboard' })
|
vim.keymap.set({ 't', 'n', 'v' }, '<C-S-v>', '<C-w>"+pi', { desc = 'Paste the system clipboard' })
|
||||||
|
|
||||||
|
-- do not overwrite the register when pasting (kept defaults)
|
||||||
|
vim.keymap.set({ 'v' }, 'P', 'P', { desc = '[P]aste to selected' })
|
||||||
|
vim.keymap.set({ 'v' }, 'p', 'p', { desc = '[p]aste to selected and copy to register' })
|
||||||
|
|
||||||
-- add lines from normal and visual, without insert mode
|
-- add lines from normal and visual, without insert mode
|
||||||
vim.keymap.set({ 'n', 'v' }, 'OO', 'O<Esc>', { desc = 'Insert a line above' })
|
vim.keymap.set({ 'n', 'v' }, 'OO', 'O<Esc>', { desc = 'Insert a line above' })
|
||||||
vim.keymap.set({ 'n', 'v' }, 'oo', 'o<Esc>', { desc = 'Insert a line below' })
|
vim.keymap.set({ 'n', 'v' }, 'oo', 'o<Esc>', { desc = 'Insert a line below' })
|
||||||
|
|
||||||
|
-- add lines from normal and visual, with insert mode
|
||||||
|
vim.keymap.set({ 'n', 'v' }, 'O', 'O', { desc = 'Insert a line above and insert' })
|
||||||
|
vim.keymap.set({ 'n', 'v' }, 'o', 'o', { desc = 'Insert a line below and insert' })
|
||||||
|
vim.keymap.set({ 'n', 'v' }, 'Oi', 'O', { desc = 'Insert a line above and insert' })
|
||||||
|
vim.keymap.set({ 'n', 'v' }, 'oi', 'o', { desc = 'Insert a line below and insert' })
|
||||||
|
|
||||||
|
-- make current line a blank line and insert
|
||||||
|
vim.keymap.set({ 'n', 'v' }, 'do', 'Vc', { desc = '[D]o [O]ver / Rewrite line' })
|
||||||
|
|
||||||
-- substitute, normally on 's', but the leap plugin is more useful on 's'
|
-- substitute, normally on 's', but the leap plugin is more useful on 's'
|
||||||
vim.keymap.set({ 'n' }, '<leader>s', 's', { desc = '[S]ubstitute hovered text' })
|
vim.keymap.set({ 'n' }, '<leader>s', 's', { desc = '[S]ubstitute hovered text' })
|
||||||
|
|
||||||
|
|
|
@ -187,7 +187,7 @@ local servers = {
|
||||||
},
|
},
|
||||||
ltex = {
|
ltex = {
|
||||||
use_spellfile = true,
|
use_spellfile = true,
|
||||||
autostart = true,
|
autostart = false,
|
||||||
filetypes = { 'latex', 'tex', 'markdown', 'typst' },
|
filetypes = { 'latex', 'tex', 'markdown', 'typst' },
|
||||||
settings = {
|
settings = {
|
||||||
ltex = {
|
ltex = {
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
--
|
--
|
||||||
-- Themery block
|
-- Themery block
|
||||||
-- This block will be replaced by Themery.
|
-- This block will be replaced by Themery.
|
||||||
vim.cmd("colorscheme kanagawa-wave")
|
vim.cmd("colorscheme tokyonight-storm")
|
||||||
vim.g.theme_id = 13
|
vim.g.theme_id = 10
|
||||||
-- end themery block
|
-- end themery block
|
||||||
|
|
|
@ -391,3 +391,9 @@ Featurefile
|
||||||
maschinen
|
maschinen
|
||||||
menschenlesbar
|
menschenlesbar
|
||||||
thiserror
|
thiserror
|
||||||
|
WSL
|
||||||
|
verbindungen/!
|
||||||
|
acl
|
||||||
|
Metadatum
|
||||||
|
Serve/!
|
||||||
|
Featurefiles
|
||||||
|
|
Loading…
Reference in New Issue