-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
33 lines (29 loc) · 862 Bytes
/
init.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
vim.loader.enable()
vim.keymap.set("", "<Space>", "<Nop>")
vim.g.mapleader = " "
vim.g.maplocalleader = "["
local orig_getcharstr = vim.fn.getcharstr
vim.fn.getcharstr = function() ---@diagnostic disable-line: duplicate-set-field
local char = orig_getcharstr()
local ok, lm = pcall(require, "langmapper.utils")
if not ok then
return char
end
return lm.translate_keycode(char, "default", "ru")
end
require("user_settings")
require("options")
require("plugins")
require("config.colorscheme")
require("mappings")
require("autocmd")
require("filetype")
require("modules.thincc")
require("modules.git_watcher")
require("modules.progress")
require("modules.autoimport").run()
require("modules.lazygit")
require("modules.fftt").setup()
require("modules.marks").setup()
require("modules.improve-visual-block").setup()
require("modules.punto-switcher")