I recently settled on a function in netrw called netrw-C . From the docs:
SETTING EDITING WINDOW *netrw-C* {{{2 One may select a netrw window for editing with the "C" mapping, or by setting g:netrw_chgwin to the selected window number. Subsequent selection of a file to edit (|netrw-cr|) will use that window. Related topics: |netrw-cr| Associated setting variables: |g:netrw_chgwin|
I managed to execute the described behavior manually g:netrw_chgwin , but I could not understand or find how this βCβ works.
Yes, I could just display
:let g:netrw_chgwin = winnr()
but I'm curious how the original netrw-C mapping netrw-C .
Does anyone know how to use the "C" mapping described in the docs?
source share