1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:30:07 +08:00

Fix filemanager key binding (#1536)

close #1533
This commit is contained in:
Wang Shidong 2018-03-23 08:51:10 -05:00 committed by GitHub
parent 6e62a2e60a
commit 415128d944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -39,6 +39,9 @@ endfunction
let s:filename = expand('<sfile>:~')
let s:lnum = expand('<slnum>') + 2
function! SpaceVim#layers#core#config() abort
if g:spacevim_filemanager ==# 'nerdtree'
noremap <silent> <F3> :NERDTreeToggle<CR>
endif
let g:matchup_matchparen_status_offscreen = 0
" Unimpaired bindings
" Quickly add empty lines

View File

@ -64,9 +64,6 @@ function! SpaceVim#layers#tools#config() abort
nnoremap <silent> <C-_> <Esc>:Ydc<CR>
endif
noremap <silent> <F8> :TlistToggle<CR>
if g:spacevim_filemanager ==# 'nerdtree'
noremap <silent> <F3> :NERDTreeToggle<CR>
endif
endfunction
" vim:set et sw=2 cc=80: