-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinit.lua
More file actions
27 lines (23 loc) · 737 Bytes
/
init.lua
File metadata and controls
27 lines (23 loc) · 737 Bytes
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
if vim.g.vscode then
local keymap = vim.keymap.set
local opts = { noremap = true, silent = true }
keymap("n", "<Space>w", '<Cmd>call VSCodeNotify("workbench.action.files.save")<CR>', opts)
keymap("n", "<Space>q", '<Cmd>call VSCodeNotify("workbench.action.closeActiveEditor")<CR>', opts)
else
-- globals
vim.g.mapleader = ","
vim.g.maplocalleader = ","
DATA = vim.fn.stdpath("data")
vim.opt.termguicolors = true
-- general
require("plugins").setup()
require("config.autocmd").setup()
require("config").setup()
require("config.keymappings").setup()
-- ext
require("ext").setup()
-- lsp config
require("lsp").setup()
-- debugger
require("dbg").setup()
end