a few format things

This commit is contained in:
Christoph J. Scherr 2024-03-13 09:59:33 +01:00
parent c30637ace3
commit 28a83d6c61
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ opt.startofline = false -- Cursor in same column for few commands
opt.splitbelow = true -- Splits open bottom right
opt.splitright = true
opt.breakindentopt = { shift = 2, min = 20 }
opt.formatoptions = "qnlmBjpt" -- see :h fo-table & :h formatoptions
opt.formatoptions = "qnlmBjp" -- see :h fo-table & :h formatoptions
-- Diff
-- ===

View File

@ -399,7 +399,6 @@ M.edit = {
["<leader>s"] = { "s", "replace with insert mode" },
-- split and join lines
["J"] = { "j" },
["<C-s-j>"] = { "<cmd>join<cr>", "join lines" },
["<C-s-s>"] = { "i<cr><esc>l", "split line" },
@ -437,6 +436,7 @@ M.edit = {
["<Down>"] = { ":move'>+<CR>gv=gv", "Move lines down", opts = { silent = true } },
["<Left>"] = { "<gv", "Less indentation" },
["<Right>"] = { ">gv", "More indentation" },
["<leader>fl"] = {":!fmt -w80<CR>", "Reorder lines"}
},
x = {},
t = {