making far actually work

This commit is contained in:
Chris 2020-08-08 17:27:47 -04:00
parent 8ec63e6aaa
commit a22b3f2ba4
3 changed files with 12 additions and 6 deletions

View file

@ -1,12 +1,15 @@
" let g:far#source='rgnvim'
let g:far#source='vimgrep'
let g:far#source='rgnvim'
" let g:far#source='rg'
" let g:far#source='rg'
" let g:far#source='ag'
set lazyredraw " improve scrolling performance when navigating through large results
let g:far#file_mask_favorites=['%', '**/*.*', '**/*.html', '**/*.js', '**/*.css', '**/*.vim']
let g:far#file_mask_favorites=['%', '**/*.*', '**/*.js', '**/*.py', '**/*.java', '**/*.css', '**/*.html', '**/*.vim', '**/*.cpp', '**/*.c', '**/*.h', ]
let g:far#enable_undo=1
" let g:far#ignore_files=['$HOME/.config/nvim/utils/farignore']
" let g:far#ignore_files=['node_modules/']
" Below are the default mappings and corresponding variable names in

1
utils/farignore Normal file
View file

@ -0,0 +1 @@
node_modules/*

View file

@ -79,7 +79,7 @@ call plug#begin('~/.config/nvim/autoload/plugged')
" highlight all matches under cursor
Plug 'RRethy/vim-illuminate'
" Find and replace
Plug 'brooth/far.vim'
Plug 'ChristianChiarulli/far.vim'
" Auto change html tags
Plug 'AndrewRadev/tagalong.vim'
" live server
@ -129,6 +129,8 @@ call plug#begin('~/.config/nvim/autoload/plugged')
" Plug 'mhinz/vim-signify'
" Plug 'easymotion/vim-easymotion'
" Plug 'preservim/nerdcommenter'
" Plug 'brooth/far.vim'
" Plug 'atishay/far.vim'
call plug#end()