Skip to content

Commit

Permalink
neovim: Replace with RgRaw
Browse files Browse the repository at this point in the history
  • Loading branch information
logston committed Apr 11, 2023
1 parent 1354421 commit a73fb9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion neovim/.config/nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Plug 'itchyny/lightline.vim'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'ruanyl/vim-gh-line'
Plug 'jesseleite/vim-agriculture'

" Code Completion
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Expand Down Expand Up @@ -107,7 +108,9 @@ set incsearch " incrementally highlight as search takes place
" File search
nnoremap <C-f> :GFiles<CR>
" String search
nnoremap <C-g> :exec 'Rg' expand('<cword>')<CR>
nnoremap <C-g> :exec 'RgRaw' expand('<cword>')<CR>
"command! -bang -nargs=* Rg call fzf#vim#grep("rg --column --line-number --no-heading --color=always --smart-case ".shellescape(<q-args>), 1, fzf#vim#with_preview(), <bang>0)
" Show FZF window with preview at top and taking up 80% of the preview window.
let g:fzf_preview_window = ['up:80%']

Expand Down

0 comments on commit a73fb9d

Please sign in to comment.