-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
64 lines (56 loc) · 1.21 KB
/
vimrc
File metadata and controls
64 lines (56 loc) · 1.21 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
vim9script
import 'vim.vim'
g:mapleader = ' '
g:netrw_keepj = 'keepj'
g:netrw_dirhistmax = 0
g:dispatch_no_maps = 1
g:myvimrc_group = 'MYVIMRC'
g:quickfix_previewer_config = {
highlight: "Cursor",
number: true,
cursorline: true,
padding: [0, 0, 0, 0],
border: [1, 1, 1, 1],
borderchars: ['─', '│', '─', '│', '╭', '╮', '╯', '╰'],
borderhighlight: ["Title", "Title", "Title", "Title"],
}
g:grep_config = {
greps: [
{
module: 'greps/cgrep',
ft: ['go', 'gomod', 'json', 'lua', 'rs', 'yaml', 'c', 'java', 'cpp', 'haskell', 'python', 'js', 'ts', 'bash', 'cabal'],
keymaps: {
['\w']: ':Grep ',
['\s']: ":Grep --string \\\"\\\"<Left><Left>",
['\r']: ':Grep -G ',
['\d']: ':Grep --name -w <C-r><C-w>',
},
args: {
prune_dirs: ["proto", "3rd", "bin", "node_modules", "dist-newstyle", ".git"],
kind: ["Language"]
}
},
{
module: 'greps/gnugrep',
keymaps: {
['\w']: ':Grep ',
},
args: {
exclude_dir: ["proto", "3rd", "bin", "node_modules", "dist-newstyle", ".git"],
}
},
],
auto_open: true
}
g:linter_config = {
go: {
module: 'linters/golangci',
}
}
g:simple_session = {
autosave: true
}
g:helptoc = {
shell_prompt: '^\$\s'
}
:set exrc