mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-04 18:14:40 +02:00
[Refactor] Allow editing default keymaps (#1213)
This commit is contained in:
parent
e0f0c81ea6
commit
77e283bd9c
11 changed files with 246 additions and 171 deletions
7
init.lua
7
init.lua
|
@ -42,11 +42,6 @@ end
|
|||
require("settings").load_commands()
|
||||
autocmds.define_augroups(lvim.autocommands)
|
||||
|
||||
local keymap = require "utils.keymap"
|
||||
local default_keymaps = require "keymappings"
|
||||
keymap.load(default_keymaps.keymaps, default_keymaps.opts)
|
||||
keymap.load(lvim.keys, default_keymaps.opts)
|
||||
|
||||
local plugins = require "plugins"
|
||||
local plugin_loader = require("plugin-loader").init()
|
||||
plugin_loader:load { plugins, lvim.plugins }
|
||||
|
@ -73,6 +68,8 @@ if lsp_settings_status_ok then
|
|||
}
|
||||
end
|
||||
|
||||
require("keymappings").setup()
|
||||
|
||||
-- TODO: these guys need to be in language files
|
||||
-- if lvim.lang.emmet.active then
|
||||
-- require "lsp.emmet-ls"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue