aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2022-06-02 15:52:10 +0200
committerNicholas Rodrigues Lordello <[email protected]>2023-12-12 23:29:58 +0100
commitfe3ba6f638609270b6f121b54a32e976adbff290 (patch)
treebace22a890037b2098098b215c12c1616a8a2463
parentb2935ab80cc7bc5d487b3e4588ddb4124a45f229 (diff)
Fix keymaps
-rw-r--r--config/nvim/lua/config/keys.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/nvim/lua/config/keys.lua b/config/nvim/lua/config/keys.lua
index 0e8b564..7a7f337 100644
--- a/config/nvim/lua/config/keys.lua
+++ b/config/nvim/lua/config/keys.lua
@@ -18,10 +18,10 @@ local function setup()
p = {"<cmd>Telescope planets<cr>", "Planet"},
},
x = {
- name = "indentation"
- 2 = {"<cmd>set expandtab shiftwidth=2 tabstop=2<cr>", "2-space"},
- 4 = {"<cmd>set expandtab shiftwidth=4 tabstop=4<cr>", "2-space"},
- t = {"<cmd>set noexpandtab shiftwidth=4 tabstop=4<cr>", "2-space"},
+ name = "indentation",
+ ["2"] = {"<cmd>set expandtab shiftwidth=2 tabstop=2<cr>", "2-space"},
+ ["4"] = {"<cmd>set expandtab shiftwidth=4 tabstop=4<cr>", "4-space"},
+ t = {"<cmd>set noexpandtab shiftwidth=4 tabstop=4<cr>", "tabs"},
},
}, {
prefix = "<leader>",