mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-05 10:35:03 +02:00
happy with FAR now
This commit is contained in:
parent
2a270491e5
commit
e71dd06d2b
3 changed files with 22 additions and 14 deletions
|
@ -36,7 +36,7 @@ let g:which_key_map[';'] = [ ':Commands' , 'commands' ]
|
|||
let g:which_key_map['='] = [ '<C-W>=' , 'balance windows' ]
|
||||
let g:which_key_map['d'] = [ ':Bdelete' , 'delete buffer']
|
||||
let g:which_key_map['e'] = [ ':CocCommand explorer' , 'explorer' ]
|
||||
let g:which_key_map['f'] = [ ':Farr --win-width=30' , 'find and replace' ]
|
||||
" let g:which_key_map['f'] = [ ':Farr' , 'find and replace' ]
|
||||
let g:which_key_map['h'] = [ '<C-W>s' , 'split below']
|
||||
let g:which_key_map['m'] = [ ':call WindowSwap#EasyWindowSwap()' , 'move window' ]
|
||||
let g:which_key_map['p'] = [ ':Files' , 'search files' ]
|
||||
|
@ -70,15 +70,22 @@ let g:which_key_map.a = {
|
|||
" b is for buffer
|
||||
let g:which_key_map.b = {
|
||||
\ 'name' : '+buffer' ,
|
||||
\ '1' : ['b1' , 'buffer 1'] ,
|
||||
\ '2' : ['b2' , 'buffer 2'] ,
|
||||
\ 'd' : [':Bdelete' , 'delete-buffer'] ,
|
||||
\ 'f' : ['bfirst' , 'first-buffer'] ,
|
||||
\ 'h' : ['Startify' , 'home-buffer'] ,
|
||||
\ 'l' : ['blast' , 'last-buffer'] ,
|
||||
\ 'n' : ['bnext' , 'next-buffer'] ,
|
||||
\ 'p' : ['bprevious' , 'previous-buffer'] ,
|
||||
\ '?' : ['Buffers' , 'fzf-buffer'] ,
|
||||
\ '1' : ['b1' , 'buffer 1'],
|
||||
\ '2' : ['b2' , 'buffer 2'],
|
||||
\ 'd' : [':Bdelete' , 'delete-buffer'],
|
||||
\ 'f' : ['bfirst' , 'first-buffer'],
|
||||
\ 'h' : ['Startify' , 'home-buffer'],
|
||||
\ 'l' : ['blast' , 'last-buffer'],
|
||||
\ 'n' : ['bnext' , 'next-buffer'],
|
||||
\ 'p' : ['bprevious' , 'previous-buffer'],
|
||||
\ '?' : ['Buffers' , 'fzf-buffer'],
|
||||
\ }
|
||||
|
||||
" f is for find and replace
|
||||
let g:which_key_map.f = {
|
||||
\ 'name' : '+find & replace' ,
|
||||
\ 'b' : [':Farr --source=vimgrep' , 'buffer'],
|
||||
\ 'p' : [':Farr --source=rgnvim' , 'project'],
|
||||
\ }
|
||||
|
||||
" k is for task
|
||||
|
|
|
@ -5,12 +5,12 @@ let g:far#source='rgnvim'
|
|||
|
||||
set lazyredraw " improve scrolling performance when navigating through large results
|
||||
|
||||
let g:far#window_width=30
|
||||
let g:far#file_mask_favorites=['%', '**/*.*', '**/*.js', '**/*.py', '**/*.java', '**/*.css', '**/*.html', '**/*.vim', '**/*.cpp', '**/*.c', '**/*.h', ]
|
||||
let g:far#window_width=60
|
||||
" Use %:p with buffer option only
|
||||
let g:far#file_mask_favorites=['%:p', '**/*.*', '**/*.js', '**/*.py', '**/*.java', '**/*.css', '**/*.html', '**/*.vim', '**/*.cpp', '**/*.c', '**/*.h', ]
|
||||
let g:far#window_min_content_width=30
|
||||
let g:far#enable_undo=1
|
||||
|
||||
|
||||
" let g:far#ignore_files=['$HOME/.config/nvim/utils/farignore']
|
||||
" let g:far#ignore_files=['node_modules/']
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ call plug#begin('~/.config/nvim/autoload/plugged')
|
|||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
" Status Line
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'kevinhwang91/rnvimr', {'do': 'make sync'}
|
||||
Plug 'kevinhwang91/rnvimr'
|
||||
" FZF
|
||||
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||
Plug 'junegunn/fzf.vim'
|
||||
|
@ -81,6 +81,7 @@ call plug#begin('~/.config/nvim/autoload/plugged')
|
|||
Plug 'RRethy/vim-illuminate'
|
||||
" Find and replace
|
||||
Plug 'ChristianChiarulli/far.vim'
|
||||
" Plug 'brooth/far.vim'
|
||||
" Auto change html tags
|
||||
Plug 'AndrewRadev/tagalong.vim'
|
||||
" live server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue