From b862a403370dce96b39fd2f4d0eab1ee77a7061b Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 13 Apr 2021 00:28:16 +0800 Subject: [PATCH] Add more plugins --- core/plugins.vim | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/core/plugins.vim b/core/plugins.vim index 74d1250..1d0952d 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -98,6 +98,8 @@ if !exists('g:started_by_firenvim') Plug 'vim-airline/vim-airline-themes' Plug 'mhinz/vim-startify' endif + +Plug 'lukas-reineke/indent-blankline.nvim', {'branch': 'lua'} "}} "{{ Plugin to deal with URL @@ -289,6 +291,9 @@ Plug 'wgurecky/vimSum' if g:is_linux Plug 'ojroques/vim-oscyank' endif + +" REPL for nvim +Plug 'hkupty/iron.nvim' call plug#end() "}} "} @@ -759,6 +764,12 @@ let g:airline#extensions#xkblayout#short_codes = {'0': 'CN', '1': 'US'} let g:startify_change_to_dir = 0 let g:startify_fortune_use_unicode = 1 +""""""""""""""""""""""""""""indent-blankline settings"""""""""""""""""""""""""""" +let g:indent_blankline_char = '│' +" let g:indent_blankline_char = '┆' +" let g:indent_blankline_char = '┊' + +let g:indent_blankline_filetype_exclude = ['help', 'startify', 'git'] "}} "{{ Misc plugin setting @@ -828,5 +839,16 @@ endif """"""""""""""""""""""""""""""nvim-gdb settings"""""""""""""""""""""""""""""" nnoremap dp :GdbStartPDB python -m pdb % + +""""""""""""""""""""""""""""""iron.nvim settings"""""""""""""""""""""""""""""" +lua << EOF +local iron = require('iron') +iron.core.set_config{ + preferred = { + python = 'ipython' + }, + repl_open_cmd = 'vertical 120 split' +} +EOF "}} "}