Following autocmd Filetype does not trigger when I enter a netrw window
:autocmd Filetype netrw echom "Greetings from netrw"
I have tried following minimal approach:
$ vim -C -u NONE
:so $VIMRUNTIME/plugin/netrwPlugin.vim
:autocmd Filetype netrw echom "Greetings from netrw"
:E .
:messages
I miss the message from my autocommand.
What am I doing wrong?
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled May 17 2016 05:04:31)
MacOS X (unix) version
Included patches: 1-1831
Compiled by _spotlight@Traviss-Mac-747.local
Huge version with MacVim GUI. Features included (+) or not (-):
+acl +file_in_path +mouse_sgr +tag_old_static
+arabic +find_in_path -mouse_sysmouse -tag_any_white
+autocmd +float +mouse_urxvt -tcl
+balloon_eval +folding +mouse_xterm +termguicolors
+browse -footer +multi_byte +terminfo
++builtin_terms +fork() +multi_lang +termresponse
+byte_offset +fullscreen -mzscheme +textobjects
+channel -gettext +netbeans_intg +timers
+cindent -hangul_input +odbeditor +title
+clientserver +iconv +packages +toolbar
+clipboard +insert_expand +path_extra +transparency
+cmdline_compl +job +perl/dyn +user_commands
+cmdline_hist +jumplist +persistent_undo +vertsplit
+cmdline_info +keymap +postscript +virtualedit
+comments +langmap +printer +visual
+conceal +libcall +profile +visualextra
+cryptv +linebreak +python/dyn +viminfo
+cscope +lispindent +python3/dyn +vreplace
+cursorbind +listcmds +quickfix +wildignore
+cursorshape +localmap +reltime +wildmenu
+dialog_con_gui +lua/dyn +rightleft +windows
+diff +menu +ruby/dyn +writebackup
+digraphs +mksession +scrollbind -X11
+dnd +modify_fname +signs -xfontset
-ebcdic +mouse +smartindent +xim
+emacs_tags +mouseshape +startuptime -xsmp
+eval +mouse_dec +statusline -xterm_clipboard
+ex_extra -mouse_gpm -sun_workshop -xterm_save
+extra_search -mouse_jsbterm +syntax -xpm
+farsi +mouse_netterm +tag_binary
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tuesday, June 21, 2016
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment