Re-enable julia REPL
This commit is contained in:
parent
23ab938841
commit
a27da0edcf
|
@ -2,8 +2,22 @@
|
|||
iabbrev <buffer> #! #!/usr/bin/env julia
|
||||
iabbrev <buffer> initmodeline # vim: set ft=julia ff=unix:
|
||||
|
||||
" Set REPL commands ====
|
||||
" IPython cell ===========================================
|
||||
" Enables iPython Cell to copy commands into a julia REPL via tmux
|
||||
let g:ipython_cell_delimit_cells_by = 'tags'
|
||||
let g:ipython_cell_tag = ['##', '# %%', '#%%', '# <codecell>']
|
||||
let g:ipython_cell_highlight_cells = 1
|
||||
|
||||
let g:ipython_cell_run_command = 'Base.run(`clear`); include("{filepath}")'
|
||||
let g:ipython_cell_cell_command = 'include_string(Main, clipboard())'
|
||||
|
||||
" REPL hotkeys. Overwrites default slime studio stuff
|
||||
" Run entire file from top to bottom
|
||||
nnoremap <buffer> <leader>f :IPythonCellRun<CR>
|
||||
" Run current cell
|
||||
nnoremap <buffer> <leader>r :IPythonCellExecuteCell<CR>
|
||||
nnoremap <buffer> <leader>e :IPythonCellExecuteCellJump<CR>
|
||||
" Insert block seperator above
|
||||
nnoremap <buffer> <leader>b O<ESC>S## Block<ESC>vb<C-g>
|
||||
|
||||
" vim: set ff=unix ft=vim:
|
||||
|
|
|
@ -56,6 +56,8 @@ Plug 'jpalardy/vim-slime'
|
|||
Plug 'hanschen/vim-ipython-cell'
|
||||
" Jupyter notebooks intergration
|
||||
Plug 'jupyter-vim/jupyter-vim'
|
||||
" Live-editing notebooks in vim
|
||||
Plug 'untitled-ai/jupyter_ascending.vim'
|
||||
|
||||
" Language specific =================================================
|
||||
" Syntax support ====
|
||||
|
|
Loading…
Reference in a new issue