-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
44 lines (35 loc) · 1004 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
34
35
36
37
38
39
40
41
42
43
44
require("opt")
require("plug")
require("colors")
require("statusline")
require("functions")
require("commands")
require("autocommands")
require("keybindings")
require("lsp")
require("fzf")
require("git")
-- Load built-in plugins
vim.cmd([[
runtime macros/matchit.vim
filetype plugin on
filetype plugin indent off
filetype indent off
syntax enable
]])
vim.g.netrw_banner = 0
vim.g.dart_html_in_string = true
vim.g.fzf_buffers_jump = 0
vim.g.fzf_preview_window = {}
vim.env.FZF_DEFAULT_COMMAND = 'rg -F --files --no-ignore --hidden --glob "!.git/*" --glob "!*__pycache__*" --glob "!build*" --glob "!*node_modules*" --glob "!.venv/*" --glob "!*.mypy_cache*" --glob "!*.next*"'
vim.g.NERDTreeWinSize = 32
vim.g.NERDTreeQuitOnOpen = 1
vim.g.NERDTreeShowBookmarks = 1
vim.g.gitblame_enabled = 0 -- use :GitBlameToggle to toggle
vim.g.rg_binary = 'rghead'
-- disable copilot globally, I use <leader>c to manually enable it when I want
vim.cmd([[
let g:copilot_filetypes = {
\ '*': v:false,
\ }
]])