You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
au FileType netrw set nu does not work, but a special netrw variable (available in recent netrw versions) let g:netrw_bufsettings = 'noma nomod nu nobl nowrap ro'
So I am wondering whether vinegars autocmd does work
augroup vinegar
autocmd!
autocmd FileType netrw call s:setup_vinegar()
augroup END
A simple change to
augroup vinegar
autocmd!
autocmd FileType netrw echom "Greetings from augroup vinegar"
augroup END
,as far as I can confirm, does not change anything.
Following calls a custom function only when entering a file from netrw not when entering a netrw window.
fun! MyFuncRef()
echom "Greetings from netrw_funcref"
endfun
let g:Netrw_funcref= function("MyFuncRef")
vim version: 7.4.1831
netrw version: v156
The text was updated successfully, but these errors were encountered:
I was trying to solve #69 myself. However, a simple move of
let g:netrw_hide_list = ...
tos:setup_vinegar()
does not work.I have observed in general that a simple echo message in
s:setup_vinegar()
is never listed in:messages
Addition
Following the discussion of
http://vi.stackexchange.com/questions/7890/how-to-display-line-number-in-netrw
au FileType netrw set nu
does not work, but a special netrw variable (available in recent netrw versions)let g:netrw_bufsettings = 'noma nomod nu nobl nowrap ro'
So I am wondering whether vinegars autocmd does work
A simple change to
,as far as I can confirm, does not change anything.
Following calls a custom function only when entering a file from netrw not when entering a netrw window.
vim version: 7.4.1831
netrw version: v156
The text was updated successfully, but these errors were encountered: