a few format things
This commit is contained in:
parent
c30637ace3
commit
28a83d6c61
|
@ -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
|
||||
-- ===
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue