diff options
author | Teddy Wing | 2016-11-28 20:05:57 -0500 |
---|---|---|
committer | Teddy Wing | 2016-11-28 20:05:57 -0500 |
commit | 2c793118aded83d719ac307e4133f1c1bb41137c (patch) | |
tree | 402666831db7ff814d0a6553b71cea0ddbdd9751 /ftplugin/netrw.vim | |
parent | f3af4971e9591ea012e0f2088b29314b3611323d (diff) | |
download | dotvim-2c793118aded83d719ac307e4133f1c1bb41137c.tar.bz2 |
Add ftplugin/netrw.vim
Override the `g:netrw_bufsettings` variable to make Netrw always open
with line numbers. This should make it easier to navigate to a specific
file in the tree.
Copied the settings from the original value and changed `nonu` to `nu`.
Following this Stack Overflow answer from Benoit to get this working:
http://stackoverflow.com/questions/8730702/how-do-i-configure-vimrc-so-that-line-numbers-display-in-netrw-in-vim/8731175#8731175
Diffstat (limited to 'ftplugin/netrw.vim')
-rw-r--r-- | ftplugin/netrw.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ftplugin/netrw.vim b/ftplugin/netrw.vim new file mode 100644 index 0000000..78710e8 --- /dev/null +++ b/ftplugin/netrw.vim @@ -0,0 +1,3 @@ +" Show line numbers in Netrw. Copied and modified from: +" :Explore | echo g:netrw_bufsettings +let g:netrw_bufsettings='noma nomod nu nobl nowrap ro' |