Skip to content

Instantly share code, notes, and snippets.

@mhanberg
Created February 17, 2020 02:08
Show Gist options
  • Select an option

  • Save mhanberg/dd9377163be770930e6eedb81b2fe61e to your computer and use it in GitHub Desktop.

Select an option

Save mhanberg/dd9377163be770930e6eedb81b2fe61e to your computer and use it in GitHub Desktop.
augroup vimrc
autocmd!
autocmd FileType netrw call s:RemoveNetrwMap()
augroup END
function s:RemoveNetrwMap()
if hasmapto('<Plug>NetrwRefresh')
unmap <buffer> <C-l>
endif
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment