diff options
author | Jackson Taylor <jtaylor@classicalconversations.com> | 2023-05-18 11:01:22 -0400 |
---|---|---|
committer | Jackson Taylor <jtaylor@classicalconversations.com> | 2023-05-18 11:01:22 -0400 |
commit | 80657c0c6f2c75924be2b89a3df3f6790432caf7 (patch) | |
tree | 75843519c9cea2c49060584101bbaffaf8c3deef | |
parent | 7e5efb7085d52491a18a4d268a542665eb60f129 (diff) |
Keymaps: add options keybinds
If anything that pertains to how vim functions or operates, I think i'd
like it to go here. Very nice.
-rw-r--r-- | after/plugin/which-key.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/after/plugin/which-key.lua b/after/plugin/which-key.lua index 2a1fde6..a32b5dd 100644 --- a/after/plugin/which-key.lua +++ b/after/plugin/which-key.lua @@ -90,7 +90,12 @@ function whichkey_setup() r = { "<cmd>lua vim.lsp.buf.rename()<CR>", "Rename" }, }, - ["o"] = { "<cmd>:setlocal spell! spelllang=en_us<CR>", "Spell Check" }, + o = { + c = { function () telescope_builtin.colorscheme(); end, "Change colorscheme" }, + -- o for orthography + o = {"<cmd>:setlocal spell! spelllang=en_us<CR>", "Spell Check"}, + w = {"<cmd>set wrap!<CR>", "Wrap lines"} + }, p = { name = "Packer", |