Don't set fuf stuff on versions < 703
This commit is contained in:
parent
c9a2259c05
commit
52c1fadb32
1 changed files with 60 additions and 56 deletions
4
.vimrc
4
.vimrc
|
|
@ -1156,6 +1156,7 @@ filetype plugin indent on
|
||||||
|
|
||||||
" }}}1
|
" }}}1
|
||||||
|
|
||||||
|
if v:version >= 703
|
||||||
"-----------------------------------------------------------------------
|
"-----------------------------------------------------------------------
|
||||||
" Default Fuf shortcuts Dvorakized from :help fuf-vimrc-example
|
" Default Fuf shortcuts Dvorakized from :help fuf-vimrc-example
|
||||||
"-----------------------------------------------------------------------
|
"-----------------------------------------------------------------------
|
||||||
|
|
@ -1204,6 +1205,7 @@ nmap <silent> sB :FufMruFileInCwd<CR>
|
||||||
"nmap <silent> sx :FufHelp<CR>
|
"nmap <silent> sx :FufHelp<CR>
|
||||||
" nmap <silent> se :FufEditDataFile<CR>
|
" nmap <silent> se :FufEditDataFile<CR>
|
||||||
" nmap <silent> sr :FufRenewCache<CR>
|
" nmap <silent> sr :FufRenewCache<CR>
|
||||||
|
endif
|
||||||
|
|
||||||
" }}}1
|
" }}}1
|
||||||
|
|
||||||
|
|
@ -1270,6 +1272,7 @@ noremap <Leader>rg :color relaxedgreen<CR>
|
||||||
noremap <Leader>ip :color inkpot<CR>
|
noremap <Leader>ip :color inkpot<CR>
|
||||||
noremap <Leader>ir :color ir_black<CR>
|
noremap <Leader>ir :color ir_black<CR>
|
||||||
noremap <Leader>mv :color macvim<CR>:set background=light<CR>
|
noremap <Leader>mv :color macvim<CR>:set background=light<CR>
|
||||||
|
if v:version >= 703
|
||||||
noremap <Leader>f :FufFileWithCurrentBufferDir<CR>
|
noremap <Leader>f :FufFileWithCurrentBufferDir<CR>
|
||||||
noremap <Leader>F :FufFile<CR>
|
noremap <Leader>F :FufFile<CR>
|
||||||
noremap <Leader>v :FufCoverageFile<CR>
|
noremap <Leader>v :FufCoverageFile<CR>
|
||||||
|
|
@ -1278,6 +1281,7 @@ noremap <Leader>c :FufDirWithFullCwd<CR>
|
||||||
noremap <Leader>u :FufRenewCache<CR>
|
noremap <Leader>u :FufRenewCache<CR>
|
||||||
noremap <Leader>w :bdelete<CR>
|
noremap <Leader>w :bdelete<CR>
|
||||||
noremap <F1> :FufHelp<CR>
|
noremap <F1> :FufHelp<CR>
|
||||||
|
endif
|
||||||
noremap <F12> <Esc>:syntax sync fromstart<CR>
|
noremap <F12> <Esc>:syntax sync fromstart<CR>
|
||||||
inoremap <F12> <C-o>:syntax sync fromstart<CR>
|
inoremap <F12> <C-o>:syntax sync fromstart<CR>
|
||||||
syntax sync minlines=200
|
syntax sync minlines=200
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue