We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d6ca49 commit e733011Copy full SHA for e733011
plugin/dispatch.vim
@@ -71,14 +71,6 @@ function! DispatchComplete(id) abort
71
return dispatch#complete(a:id)
72
endfunction
73
74
-function! s:hijack_netrw_maps() abort
75
- let rhs = maparg('d', 'n')
76
- if len(rhs)
77
- exe 'nnoremap <buffer> <silent> d' rhs
78
- exe 'nnoremap <buffer> <silent> dd' rhs
79
- endif
80
-endfunction
81
-
82
if !exists('g:dispatch_handlers')
83
let g:dispatch_handlers = [
84
\ 'tmux',
@@ -96,5 +88,4 @@ augroup dispatch
96
88
\ if &buftype ==# 'quickfix' && empty(getloclist(winnr())) && get(w:, 'quickfix_title') =~# '^:noautocmd cgetfile\>\|^:\d*Dispatch\>' |
97
89
\ call dispatch#quickfix_init() |
98
90
\ endif
99
- autocmd FileType netrw call s:hijack_netrw_maps()
100
91
augroup END
0 commit comments