aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-04-13 00:28:16 +0800
committerjdhao <jdhao@hotmail.com>2021-04-13 00:28:16 +0800
commitb862a403370dce96b39fd2f4d0eab1ee77a7061b (patch)
tree5678eb6c2570834011846b1068c3f6813d15c6d7 /core
parent9e3a831ec4ba5d14b839fcd379d3ece8ddeeedb3 (diff)
Add more plugins
Diffstat (limited to 'core')
-rw-r--r--core/plugins.vim22
1 files changed, 22 insertions, 0 deletions
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 <leader>dp :<C-U>GdbStartPDB python -m pdb %<CR>
+
+""""""""""""""""""""""""""""""iron.nvim settings""""""""""""""""""""""""""""""
+lua << EOF
+local iron = require('iron')
+iron.core.set_config{
+ preferred = {
+ python = 'ipython'
+ },
+ repl_open_cmd = 'vertical 120 split'
+}
+EOF
"}}
"}