summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDery Rahman Ahaddienata <[email protected]>2021-08-03 12:04:51 +0700
committerGitHub <[email protected]>2021-08-03 01:04:51 -0400
commit21419b244c40350ee09ef3a5cf6b1ad19054b23f (patch)
tree39112fa15d9466c5b5f7591813b4635a76f1e1aa /README.md
parentdc3b47b7e7d015a8f47c5dae5d50e4d50f9e1cfb (diff)
Keymapping custom opts (#1215)
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index b68174b9..d7b0ec99 100644
--- a/README.md
+++ b/README.md
@@ -86,6 +86,8 @@ lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
-- lvim.keys.normal_mode["<C-Up>"] = ""
-- edit a default keymapping
-- lvim.keys.normal_mode["<C-q>"] = ":q<cr>"
+-- set keymap with custom opts
+-- lvim.keys.insert_mode["po"] = {'<ESC>', { noremap = true }}
-- Use which-key to add extra bindings with the leader-key prefix
-- lvim.builtin.which_key.mappings["P"] = { "<cmd>lua require'telescope'.extensions.project.project{}<CR>", "Projects" }