Vim show line numbers when using Explore -
in vim, use :explore
or :te
explore , open new file. gets little tedious scroll , down using j
, k
, ctrl-d
, ctrl-u
.
is there way automatically show line numbers when using :explore
or :te
? way can go directly line want 32g
if, example, line number 32.
i have set number
stored in .vimrc
, not seem apply file exporer.
put in .vimrc:
let g:netrw_bufsettings = 'noma nomod nu nowrap ro nobl'
the settings beside 'nu' default settings, i'm not sure if can enable nu
without overriding rest.
see :help netrw.
Comments
Post a Comment