diff options
author | Dery Rahman Ahaddienata <[email protected]> | 2021-08-03 12:04:51 +0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-03 01:04:51 -0400 |
commit | 21419b244c40350ee09ef3a5cf6b1ad19054b23f (patch) | |
tree | 39112fa15d9466c5b5f7591813b4635a76f1e1aa /README.md | |
parent | dc3b47b7e7d015a8f47c5dae5d50e4d50f9e1cfb (diff) |
Keymapping custom opts (#1215)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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" } |