Skip to content

Commit

Permalink
adjust vim plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
pacificbelt30 committed Jul 30, 2022
1 parent ce9763a commit acd7a83
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
3 changes: 3 additions & 0 deletions nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ source $HOME/.config/nvim/plugins/fzf.rc.vim
source $HOME/.config/nvim/plugins/indentLine.rc.vim
"lua require('telescoperc')

" Lua version
source $HOME/.config/nvim/rc/luaoptions.rc.vim

" test script
source $HOME/work/float_term/float_term.vim
let test=0
Expand Down
4 changes: 3 additions & 1 deletion nvim/plugins/fzf.rc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ command! -bang -nargs=* Rg
\ <bang>0 ? fzf#vim#with_preview('up:60%')
\ : fzf#vim#with_preview('right:50%:hidden', '?'),
\ <bang>0)

" preview付きBLines
command! -bang -nargs=* BLines
\ call fzf#vim#grep(
Expand All @@ -50,9 +51,10 @@ endfunction
"nnoremap <leader>n :Files<CR>
"nnoremap <leader>n :ProjectFiles<CR>
"nnoremap <leader>n :GitProjectFiles<CR>
nnoremap <leader>r :Rg
"nnoremap <leader>r :Rg
nnoremap <leader>b :Buffers<CR>
nmap / :BLines<CR>
nmap \ :Rg<CR>
map * <nop>
nmap * :call AsteriskGrep()<CR>
nnoremap <leader>e :CocFzfList diagnostics<CR>
Expand Down
4 changes: 4 additions & 0 deletions nvim/rc/luaoptions.rc.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
lua <<EOF
require("scrollbar").setup()
--require("scrollbar.handlers.search").setup()
EOF
10 changes: 9 additions & 1 deletion nvim/rc/plug.rc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ Plug 'airblade/vim-gitgutter'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
" 賢いハイライト
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
"
Plug 'nvim-treesitter/nvim-treesitter-context'
Plug 'haringsrob/nvim_context_vt'
Plug 'm-demare/hlargs.nvim'
" 移動系
Plug 'easymotion/vim-easymotion'
" 日本語ヘルプ
Expand All @@ -65,13 +69,17 @@ Plug 'junegunn/fzf.vim'
Plug 'antoinemadec/coc-fzf'
" undo tree
Plug 'mbbill/undotree'
" サイドバー
"Plug 'sidebar-nvim/sidebar.nvim'
Plug 'petertriho/nvim-scrollbar'
" comfortable scroll 別になくていい
Plug 'psliwka/vim-smoothie'
" Plug 'terryma/vim-smooth-scroll'
" インデント可視化
Plug 'Yggdroot/indentLine'
" カーソル下の単語にアンダーライン
" カーソル下の単語にアンダーライン,色つけ
Plug 'itchyny/vim-cursorword'
"Plug 'RRethy/vim-illuminate'
" テーマ
Plug 'morhetz/gruvbox',{'do': 'cp colors/* ~/.config/nvim/colors/'}
Plug 'joshdick/onedark.vim',{'do': 'cp colors/* ~/.config/nvim/colors/'}
Expand Down

0 comments on commit acd7a83

Please sign in to comment.