home: vim: 'unimpaired' mappings for formatting
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
I'll migrate to calling the lua API directly if they stop expecting a non-nil argument.
This commit is contained in:
parent
0241bfc781
commit
84fc1601c5
|
@ -70,6 +70,7 @@ local keys = {
|
||||||
b = "Light background",
|
b = "Light background",
|
||||||
c = "Cursor line",
|
c = "Cursor line",
|
||||||
d = "Diff",
|
d = "Diff",
|
||||||
|
f = { "<cmd>FormatEnable<CR>", "LSP Formatting" },
|
||||||
h = "Search high-lighting",
|
h = "Search high-lighting",
|
||||||
i = "Case insensitive search",
|
i = "Case insensitive search",
|
||||||
l = "List mode",
|
l = "List mode",
|
||||||
|
@ -88,6 +89,7 @@ local keys = {
|
||||||
b = "Light background",
|
b = "Light background",
|
||||||
c = "Cursor line",
|
c = "Cursor line",
|
||||||
d = "Diff",
|
d = "Diff",
|
||||||
|
f = { "<cmd>FormatDisable<CR>", "LSP Formatting" },
|
||||||
h = "Search high-lighting",
|
h = "Search high-lighting",
|
||||||
i = "Case insensitive search",
|
i = "Case insensitive search",
|
||||||
l = "List mode",
|
l = "List mode",
|
||||||
|
@ -106,6 +108,7 @@ local keys = {
|
||||||
b = "Light background",
|
b = "Light background",
|
||||||
c = "Cursor line",
|
c = "Cursor line",
|
||||||
d = "Diff",
|
d = "Diff",
|
||||||
|
f = { "<cmd>FormatToggle<CR>", "LSP Formatting" },
|
||||||
h = "Search high-lighting",
|
h = "Search high-lighting",
|
||||||
i = "Case insensitive search",
|
i = "Case insensitive search",
|
||||||
l = "List mode",
|
l = "List mode",
|
||||||
|
|
Loading…
Reference in a new issue