summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2020-03-29 11:40:47 +0200
committerUrbain Vaes <urbain@vaes.uk>2020-03-29 11:40:47 +0200
commit72c51052ac3b9bd9275b3710f543fe5da4ecbeca (patch)
treefd0fbfffc33979581aa58e01349d7e5843c76584 /vim
parente4c281b9c3d8cd25bd71667540b3a1046fcb862f (diff)
Replace iron.nvim by vim-ripple
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc31
1 files changed, 1 insertions, 30 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index f4d0796..d8ca6e9 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -69,7 +69,7 @@ Plug 'wellle/targets.vim'
if isdirectory($HOME."/dotfiles/plugins")
Plug '~/dotfiles/plugins/vim-remembrall'
Plug '~/dotfiles/plugins/vim-tmux-pilot'
- Plug '~/dotfiles/plugins/darjeeling'
+ Plug '~/dotfiles/plugins/vim-ripple'
endif
if has("nvim")
@@ -77,8 +77,6 @@ if has("nvim")
" Plug 'Shougo/deoplete.nvim', { 'do' : ':UpdateRemotePlugins', 'tag' : '4.1' }
" Plug 'autozimu/LanguageClient-neovim', { 'do': 'bash install.sh', 'branch': 'next' }
" Plug 'zchee/deoplete-jedi'
- " Plug 'hkupty/iron.nvim', { 'branch': 'legacy' }
- Plug 'hkupty/iron.nvim'
Plug 'neovim/nvim-lsp'
else
Plug 'Shougo/neocomplete.vim'
@@ -140,33 +138,6 @@ endfunction
nnoremap <silent> gh :set opfunc=Call_heytmux<cr>g@
xnoremap <silent> gh :Heytmux!<cr>
-" Iron
-if has("nvim")
- let g:iron_map_defaults=0
- let g:iron_map_extended=0
- nnoremap cpr :IronRepl<cr>
- nmap yr <Plug>(iron-send-motion)
- xmap R <Plug>(iron-send-motion)
- nmap yp <Plug>(iron-repeat-cmd)
- nmap yrr VR
-
-lua << EOF
-local iron = require("iron")
-
-local open_repl = function(buffer)
- vim.api.nvim_command('vnew')
-end
-
-iron.core.set_config{
- preferred = {
- python = "ipython"
- },
- repl_open_cmd = open_repl
-}
-EOF
-" let g:iron_repl_open_cmd = 'vsplit'
-endif
-
" Easy align
xmap ga <Plug>(EasyAlign)
nmap ga <Plug>(EasyAlign)