ipython stuf

This commit is contained in:
cmccay 2023-06-20 15:52:39 -05:00
parent 02d561140c
commit 71a9e05668
4 changed files with 17 additions and 14 deletions

View File

@ -18,8 +18,8 @@ require("clint") -- loads lua/clint/init.lua
require('dap-python').setup('~/.virtualenvs/debugpy/bin/python')
vim.opt.termguicolors = true
vim.cmd.colorscheme 'kanagawa'
-- vim.cmd("highlight Normal guibg=none")
-- vim.cmd("highlight NonText guibg=none")
-- vim.cmd("highlight Normal ctermbg=none")
-- vim.cmd("highlight NonText ctermbg=none")
vim.cmd.colorscheme 'ayu'
vim.cmd("highlight Normal guibg=none")
vim.cmd("highlight NonText guibg=none")
vim.cmd("highlight Normal ctermbg=none")
vim.cmd("highlight NonText ctermbg=none")

View File

@ -1,4 +1,4 @@
local group = vim.api.nvim_create_augroup("clints_custom_autocmds", {})
local group = vim.api.nvim_create_augroup("clints_custom_autocmds", { clear = true })
-- vim.api.nvim_create_autocmd("BufEnter", { command = "echo 'Hello'", group = group })
-- for a moment, highlight the text that was yanked
@ -14,3 +14,5 @@ vim.api.nvim_create_autocmd('BufEnter', {
group = group,
command = "MarkdownPreview",
})
-- when opening a python file, try to start the virtualenv of the current project

View File

@ -109,7 +109,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"})
local ipython = Terminal:new({ cmd="ipython", direction="horizontal", count=100})
function _ipython_toggle()
ipython:toggle()
end

View File

@ -128,19 +128,20 @@ return {
},
},
-- Object Explorer
{ 'simrat39/symbols-outline.nvim',
config = {
auto_preview = true,
}
},
-- -- Object Explorer
-- { 'simrat39/symbols-outline.nvim',
-- config = {
-- auto_preview = true,
-- }
-- },
-- Terminal
{ 'akinsho/toggleterm.nvim',
version = "*",
config = {
open_mapping = [[<c-\>]],
direction = 'horizontal'
direction = 'horizontal',
insert_mappings = true
}
},