-
Notifications
You must be signed in to change notification settings - Fork 3
/
plugins.lua
43 lines (38 loc) · 1.02 KB
/
plugins.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
local iron = require('iron')
iron.core.add_repl_definitions {
python = {
custom_python = {
command = "ipython --simple-prompt"
}
},
clojure = {
lein_connect = {
command = {"lein", "repl", ":connect"}
}
}
}
iron.core.set_config {
preferred = {
python = "custom_python",
R = "R"
}
}
local nvimux = require('nvimux')
-- Nvimux configuration
nvimux.config.set_all{
prefix = '<C-b>',
new_window = 'term', -- Use 'term' if you want to open a new term for every new window
new_tab = nil, -- Defaults to new_window. Set to 'term' if you want a new term for every new tab
new_window_buffer = 'single',
quickterm_direction = 'botright',
quickterm_orientation = 'vertical',
quickterm_scope = 't', -- Use 'g' for global quickterm
quickterm_size = '80',
}
-- Nvimux custom bindings
nvimux.bindings.bind_all{
{'s', ':NvimuxHorizontalSplit', {'n', 'v', 'i', 't'}},
{'v', ':NvimuxVerticalSplit', {'n', 'v', 'i', 't'}},
}
-- Required so nvimux sets the mappings correctly
nvimux.bootstrap()