.
This commit is contained in:
+21
-31
@@ -77,11 +77,8 @@
|
|||||||
" Comment stuff out
|
" Comment stuff out
|
||||||
Plug 'tpope/vim-commentary'
|
Plug 'tpope/vim-commentary'
|
||||||
|
|
||||||
" put text in neibouring tmux pane into auto complete
|
|
||||||
" Plug 'wellle/tmux-complete.vim'
|
|
||||||
|
|
||||||
Plug 'ludovicchabant/vim-gutentags', { 'for': ['c', 'cpp'] }
|
Plug 'ludovicchabant/vim-gutentags', { 'for': ['c', 'cpp'] }
|
||||||
Plug 'lambdalisue/readablefold.vim'
|
" Plug 'lambdalisue/readablefold.vim'
|
||||||
|
|
||||||
" only work with vim
|
" only work with vim
|
||||||
if g:vim_type == 'vim'
|
if g:vim_type == 'vim'
|
||||||
@@ -93,7 +90,7 @@
|
|||||||
" The bottom buffer display
|
" The bottom buffer display
|
||||||
Plug 'Donaldttt/vim-bufferline'
|
Plug 'Donaldttt/vim-bufferline'
|
||||||
Plug 'ryanoasis/vim-devicons'
|
Plug 'ryanoasis/vim-devicons'
|
||||||
Plug 'junegunn/goyo.vim'
|
" Plug 'lambdalisue/nerdfont.vim'
|
||||||
Plug 'sainnhe/everforest'
|
Plug 'sainnhe/everforest'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -121,7 +118,6 @@
|
|||||||
" comment out this plugin if the machine doesn't have required
|
" comment out this plugin if the machine doesn't have required
|
||||||
" font install
|
" font install
|
||||||
Plug 'nvim-tree/nvim-web-devicons'
|
Plug 'nvim-tree/nvim-web-devicons'
|
||||||
Plug 'ziontee113/color-picker.nvim'
|
|
||||||
endif
|
endif
|
||||||
if g:vim_version >= 0.8
|
if g:vim_version >= 0.8
|
||||||
Plug 'nvim-tree/nvim-tree.lua'
|
Plug 'nvim-tree/nvim-tree.lua'
|
||||||
@@ -153,33 +149,27 @@ endfunction
|
|||||||
|
|
||||||
if HasPlug('wilder.nvim')
|
if HasPlug('wilder.nvim')
|
||||||
call wilder#setup({
|
call wilder#setup({
|
||||||
\ 'modes': [':'],
|
\ 'modes': [':'],
|
||||||
\ 'next_key': '<C-n>',
|
\ 'next_key': '<C-n>',
|
||||||
\ 'previous_key': '<C-p>',
|
\ 'previous_key': '<C-p>',
|
||||||
\ })
|
\ })
|
||||||
|
|
||||||
call wilder#set_option('pipeline', [
|
call wilder#set_option('pipeline', [
|
||||||
\ wilder#branch(
|
\ wilder#branch(
|
||||||
\ wilder#cmdline_pipeline(),
|
\ wilder#cmdline_pipeline(),
|
||||||
\ wilder#search_pipeline(),
|
\ wilder#search_pipeline(),
|
||||||
\ ),
|
\ ),
|
||||||
\ ])
|
\ ])
|
||||||
call wilder#set_option('renderer', wilder#popupmenu_renderer({
|
call wilder#set_option('renderer', wilder#popupmenu_renderer({
|
||||||
\ 'highlighter': wilder#basic_highlighter(),
|
\ 'highlighter': wilder#basic_highlighter(),
|
||||||
\ 'left': [
|
\ 'left': [
|
||||||
\ ' ', wilder#popupmenu_devicons(),
|
\ ' ', wilder#popupmenu_devicons(),
|
||||||
\ ],
|
\ ],
|
||||||
\ 'right': [
|
\ 'right': [
|
||||||
\ ' ', wilder#popupmenu_scrollbar(),
|
\ ' ', wilder#popupmenu_scrollbar(),
|
||||||
\ ],
|
\ ],
|
||||||
\ 'max_height': 6,
|
\ 'max_height': 6,
|
||||||
\ }))
|
\ }))
|
||||||
" call wilder#set_option('renderer', wilder#popupmenu_renderer(wilder#popupmenu_border_theme({
|
|
||||||
" \ 'highlights': {
|
|
||||||
" \ 'border': 'Normal',
|
|
||||||
" \ },
|
|
||||||
" \ 'border': 'rounded',
|
|
||||||
" \ })))
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if HasPlug('vim-tmux-navigator')
|
if HasPlug('vim-tmux-navigator')
|
||||||
@@ -348,7 +338,7 @@ endfunction
|
|||||||
let NERDTreeMouseMode = 2
|
let NERDTreeMouseMode = 2
|
||||||
let NERDTreeShowHidden = 1
|
let NERDTreeShowHidden = 1
|
||||||
|
|
||||||
if HasPlug('vim-devicons')
|
if HasPlug('vim-devicons') || HasPlug('nerdfont.vim')
|
||||||
let NERDTreeDirArrowCollapsible = ''
|
let NERDTreeDirArrowCollapsible = ''
|
||||||
let NERDTreeDirArrowExpandable = ''
|
let NERDTreeDirArrowExpandable = ''
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user