1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:00:04 +08:00

Merge pull request #668 from tenfyzhong/dev

Fix #667. fix the mapping error and some command error.
This commit is contained in:
Wang Shidong 2017-06-27 13:33:13 +08:00 committed by GitHub
commit a7755175a9
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ function! SpaceVim#layers#tools#config() abort
if maparg('<C-l>', 'n') ==# '' if maparg('<C-l>', 'n') ==# ''
nnoremap <silent> <C-l> <Esc>:Ydc<CR> nnoremap <silent> <C-l> <Esc>:Ydc<CR>
endif endif
map <unique> <Leader>td <Plug>TaskList map <Leader>td <Plug>TaskList
noremap <silent> <F8> :TlistToggle<CR> noremap <silent> <F8> :TlistToggle<CR>
function! OpenOrCloseNERDTree() abort function! OpenOrCloseNERDTree() abort
exec 'normal! A' exec 'normal! A'

View File

@ -3,6 +3,6 @@
" defined already. " defined already.
command! DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis command! DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis
\ | wincmd p | diffthis \ | wincmd p | diffthis
command -nargs=* -complete=custom,zvim#util#complete_plugs Plugin :call zvim#util#Plugin(<f-args>) command! -nargs=* -complete=custom,zvim#util#complete_plugs Plugin :call zvim#util#Plugin(<f-args>)
"command for open project "command for open project
command -nargs=+ -complete=custom,zvim#util#complete_project OpenProject :call zvim#util#OpenProject(<f-args>) command! -nargs=+ -complete=custom,zvim#util#complete_project OpenProject :call zvim#util#OpenProject(<f-args>)