aaaaaa
This commit is contained in:
parent
cb2dfbb709
commit
f827a5e420
|
@ -46,6 +46,7 @@ wk.register({
|
|||
D = "Debug UI",
|
||||
B = "Set Breakpoint",
|
||||
["<F1>"] = "Open IPython",
|
||||
x = "Execute selected code",
|
||||
["<F2>"] = "Execute py file",
|
||||
["<F5>"] = "Debug: Continue",
|
||||
},
|
||||
|
|
|
@ -10,8 +10,12 @@ local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
|||
end,
|
||||
},
|
||||
window = {
|
||||
-- completion = cmp.config.window.bordered(),
|
||||
-- documentation = cmp.config.window.bordered(),
|
||||
|
||||
completion = cmp.config.window.bordered({
|
||||
col_offset = -3, -- align the abbr and word on cursor (due to fields order below)
|
||||
side_padding = 0,
|
||||
}),
|
||||
documentation = cmp.config.window.bordered(),
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
['<C-b>'] = cmp.mapping.scroll_docs(-4),
|
||||
|
|
|
@ -3,3 +3,5 @@ require("clint.settings")
|
|||
require("clint.colorscheme")
|
||||
require("clint.lsp")
|
||||
require("clint.statusline")
|
||||
require("clint.completion")
|
||||
require("clint.dap")
|
||||
|
|
|
@ -108,7 +108,7 @@ vim.cmd('autocmd! TermOpen term://* lua set_terminal_keymaps()')
|
|||
-- Toggle a custom Terminal with ipython
|
||||
local Terminal = require('toggleterm.terminal').Terminal
|
||||
local ipython = Terminal:new({ cmd="ipython", direction="horizontal", count="100"})
|
||||
function _ipython_toggle()
|
||||
local function _ipython_toggle()
|
||||
ipython:toggle()
|
||||
end
|
||||
keymap('n', '<F1>', ":lua _ipython_toggle()<CR><Cmd>wincmd k<CR>", default_ops)
|
||||
|
|
Loading…
Reference in New Issue