-
Notifications
You must be signed in to change notification settings - Fork 127
/
mini.vim
38 lines (35 loc) · 873 Bytes
/
mini.vim
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
if exists('g:plug_installing_plugins')
Plug 'echasnovski/mini.nvim', { 'branch': 'stable' }
finish
endif
lua << EOF
if not vim.g.vscode then
require('mini.indentscope').setup({
draw = {
animation = require('mini.indentscope').gen_animation.none()
}
})
end
require('mini.jump2d').setup({
mappings = {
start_jumping = 's',
},
allowed_lines = {
blank = false,
cursor_before = true, -- Lines before cursor line
cursor_at = true, -- Cursor line
cursor_after = true, -- Lines after cursor line
fold = false, -- Start of fold (not sent to spotter even if `true`)
},
allowed_windows = {
current = true,
not_current = false
}
})
if not vim.g.vscode then
require('mini.sessions').setup({
directory = '~/.local/share/nvim/session', -- for global sessions
file = '', -- disable local sessions
})
end
EOF