mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 22:20:06 +08:00
commit
98a94094fc
@ -428,8 +428,7 @@ Key | Mode | Action
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`;`+`e` | Normal | Toggle file explorer
|
||||
`;`+`a` | Normal | Toggle file explorer on current file
|
||||
`<F3>` | Normal | Toggle file explorer
|
||||
| **Within _VimFiler_ buffers** |||
|
||||
`Ctrl`+`j` | Normal | Un-map
|
||||
`Ctrl`+`l` | Normal | Un-map
|
||||
@ -438,8 +437,11 @@ Key | Mode | Action
|
||||
`sg` | Normal | Vertical split edit
|
||||
`p` | Normal | Preview
|
||||
`i` | Normal | Switch to directory history
|
||||
`v` | Normal | Quick look
|
||||
`gx` | Normal | Execute with vimfiler associated
|
||||
`'` | Normal | Toggle mark current line
|
||||
`V` | Normal | Clear all marks
|
||||
`Ctrl`+`r` | Normal | Redraw
|
||||
`Ctrl`+`q` | Normal | Quick look
|
||||
|
||||
##### Plugin: neocomplete
|
||||
|
||||
|
@ -50,4 +50,26 @@ augroup END
|
||||
function! s:vimfilerinit()
|
||||
set nonumber
|
||||
set norelativenumber
|
||||
|
||||
silent! nunmap <buffer> <Space>
|
||||
silent! nunmap <buffer> <C-l>
|
||||
silent! nunmap <buffer> <C-j>
|
||||
silent! nunmap <buffer> gr
|
||||
silent! nunmap <buffer> gf
|
||||
silent! nunmap <buffer> -
|
||||
|
||||
nnoremap <silent><buffer> gr :<C-u>Denite grep:<C-R>=<SID>selected()<CR> -buffer-name=grep<CR>
|
||||
nnoremap <silent><buffer> gf :<C-u>Denite file_rec:<C-R>=<SID>selected()<CR><CR>
|
||||
nnoremap <silent><buffer> gd :<C-u>call <SID>change_vim_current_dir()<CR>
|
||||
nnoremap <silent><buffer><expr> sg vimfiler#do_action('vsplit')
|
||||
nnoremap <silent><buffer><expr> sv vimfiler#do_action('split')
|
||||
nnoremap <silent><buffer><expr> st vimfiler#do_action('tabswitch')
|
||||
nmap <buffer> gx <Plug>(vimfiler_execute_vimfiler_associated)
|
||||
nmap <buffer> ' <Plug>(vimfiler_toggle_mark_current_line)
|
||||
nmap <buffer> v <Plug>(vimfiler_quick_look)
|
||||
nmap <buffer> p <Plug>(vimfiler_preview_file)
|
||||
nmap <buffer> V <Plug>(vimfiler_clear_mark_all_lines)
|
||||
nmap <buffer> i <Plug>(vimfiler_switch_to_history_directory)
|
||||
nmap <buffer> <Tab> <Plug>(vimfiler_switch_to_other_window)
|
||||
nmap <buffer> <C-r> <Plug>(vimfiler_redraw_screen)
|
||||
endf
|
||||
|
Loading…
Reference in New Issue
Block a user