diff options
author | christianchiarulli <[email protected]> | 2021-07-18 14:10:19 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-07-18 14:10:19 -0400 |
commit | b797c2398fafaaa3e5f81d9e1630a41240a31bf8 (patch) | |
tree | 3dd23047f7fd09a4b13d4728696751b4f685f3fe /utils/installer/lv-config.example-no-ts.lua | |
parent | a3f3f3b60cf675e3a80d3285dff136d193cfbb53 (diff) | |
parent | 6f9c521e227b1c4d3741cb73ee0a9598be73ef10 (diff) |
Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling
Diffstat (limited to 'utils/installer/lv-config.example-no-ts.lua')
-rw-r--r-- | utils/installer/lv-config.example-no-ts.lua | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/utils/installer/lv-config.example-no-ts.lua b/utils/installer/lv-config.example-no-ts.lua index ab544a35..d52c61bc 100644 --- a/utils/installer/lv-config.example-no-ts.lua +++ b/utils/installer/lv-config.example-no-ts.lua @@ -16,7 +16,25 @@ O.completion.autocomplete = true O.colorscheme = "spacegray" O.default_options.wrap = true O.default_options.timeoutlen = 100 -O.leader_key = " " +-- keymappings +O.keys.leader_key = "space" +-- overwrite the key-mappings provided by LunarVim for any mode, or leave it empty to keep them +-- O.keys.normal_mode = { +-- Page down/up +-- {'[d', '<PageUp>'}, +-- {']d', '<PageDown>'}, +-- +-- Navigate buffers +-- {'<Tab>', ':bnext<CR>'}, +-- {'<S-Tab>', ':bprevious<CR>'}, +-- } +-- if you just want to augment the existing ones then use the utility function +-- require("lv-utils").add_keymap_insert_mode({ silent = true }, { +-- { "<C-s>", ":w<cr>" }, +-- { "<C-c>", "<ESC>" }, +-- }) +-- you can also use the native vim way directly +-- vim.api.nvim_set_keymap("i", "<C-Space>", "compe#complete()", { noremap = true, silent = true, expr = true }) -- TODO: User Config for predefined plugins -- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile |