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
65
66
67
68
69
|
require 'jabs'.setup {
-- Options for the main window
position = { 'right', 'bottom' }, -- position = {'<position_x>', '<position_y>'} | <position_x> left, center, right,
-- <position_y> top, center, bottom
-- Default {'right', 'bottom'}
relative = 'win', -- win, editor, cursor. Default win
clip_popup_size = true, -- clips the popup size to the win (or editor) size. Default true
width = 50, -- default 50
height = 10, -- default 10
border = 'shadow', -- none, single, double, rounded, solid, shadow, (or an array or chars). Default shadow
offset = { -- window position offset
top = 2, -- default 0
bottom = 2, -- default 0
left = 2, -- default 0
right = 2, -- default 0
},
sort_mru = true, -- Sort buffers by most recently used (true or false). Default false
split_filename = false, -- Split filename into separate components for name and path. Default false
split_filename_path_width = 20, -- If split_filename is true, how wide the column for the path is supposed to be, Default 0 (don't show path)
-- Options for preview window
preview_position = 'top', -- top, bottom, left, right. Default top
preview = {
width = 70, -- default 70
height = 30, -- default 30
border = 'double', -- none, single, double, rounded, solid, shadow, (or an array or chars). Default double
},
-- Default highlights (must be a valid :highlight)
highlight = {
current = "Title", -- default StatusLine
hidden = "StatusLineNC", -- default ModeMsg
split = "WarningMsg", -- default StatusLine
alternate = "StatusLine" -- default WarningMsg
},
-- Default symbols
symbols = {
current = "C", -- default ]]
split = "S", -- default ]]
alternate = "A", -- default ]]
hidden = "H", -- default ]]
locked = "L", -- default ]]
ro = "R", -- default ]]
edited = "E", -- default ]]
terminal = "T", -- default ]]
default_file = "D", -- Filetype icon if not present in nvim-web-devicons. Default ]]
terminal_symbol = ">_" -- Filetype icon for a terminal split. Default ]]
},
-- Keymaps
keymap = {
close = "<c-d>", -- Close buffer. Default D
jump = "<cr>", -- Jump to buffer. Default <cr>
h_split = "h", -- Horizontally split buffer. Default s
v_split = "v", -- Vertically split buffer. Default v
preview = "p", -- Open buffer preview. Default P
},
-- Whether to use nvim-web-devicons next to filenames
use_devicons = true -- true or false. Default true
}
Nmap('<c-f>', ':JABSOpen<CR>')
|