jeetsukumaran / vim-filebeagle

A VINE-spired (Vim Is Not Emacs) file system explorer.
162 stars 14 forks source link

Using filebeagle as directory browser #54

Closed markand closed 5 years ago

markand commented 6 years ago

Hi,

I'm using the Git version, I saw in the documentation that unless g:filebeagle_hijack_netrw is set to 0, filebeagle should normally be used when vim is called on a directory. But if I do vim /tmp for instance, it still netrw that is used as directory browser.

jeetsukumaran commented 6 years ago

This works as advertised.

markand commented 6 years ago

Then I can't understand what's wrong even after reading the documentation ten times. I don't specify g:filebeagle_hijack_netrw to 0 (so it's set to 1 by default) and it's still netrw that is used.

nicwest commented 6 years ago

I tried and failed to reproduce this with your .vimrc from the other issue. I would suggest checking any other plugins you have installed. can you do vim --version and :scriptnames

markand commented 6 years ago

Hmmm, I've erased my .vimrc, kept only filebeagle (git version) and netrw is still opened by default when doing vim /tmp.

vim --version:

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled May 10 2018 10:31:53)
Included patches: 1-1806
Modified by <bugzilla@redhat.com>
Compiled by <bugzilla@redhat.com>
Huge version without GUI.  Features included (+) or not (-):
+acl               +farsi             +mouse_sgr         -tag_any_white
+arabic            +file_in_path      -mouse_sysmouse    -tcl
+autocmd           +find_in_path      +mouse_urxvt       +termguicolors
-autoservername    +float             +mouse_xterm       +terminal
-balloon_eval      +folding           +multi_byte        +terminfo
+balloon_eval_term -footer            +multi_lang        +termresponse
-browse            +fork()            -mzscheme          +textobjects
++builtin_terms    +gettext           +netbeans_intg     +timers
+byte_offset       -hangul_input      +num64             +title
+channel           +iconv             +packages          -toolbar
+cindent           +insert_expand     +path_extra        +user_commands
-clientserver      +job               +perl/dyn          +vertsplit
-clipboard         +jumplist          +persistent_undo   +virtualedit
+cmdline_compl     +keymap            +postscript        +visual
+cmdline_hist      +lambda            +printer           +visualextra
+cmdline_info      +langmap           +profile           +viminfo
+comments          +libcall           +python/dyn        +vreplace
+conceal           +linebreak         +python3/dyn       +wildignore
+cryptv            +lispindent        +quickfix          +wildmenu
+cscope            +listcmds          +reltime           +windows
+cursorbind        +localmap          +rightleft         +writebackup
+cursorshape       +lua/dyn           +ruby/dyn          -X11
+dialog_con        +menu              +scrollbind        -xfontset
+diff              +mksession         +signs             -xim
+digraphs          +modify_fname      +smartindent       -xpm
-dnd               +mouse             +startuptime       -xsmp
-ebcdic            -mouseshape        +statusline        -xterm_clipboard
+emacs_tags        +mouse_dec         -sun_workshop      -xterm_save
+eval              +mouse_gpm         +syntax            
+ex_extra          -mouse_jsbterm     +tag_binary        
+extra_search      +mouse_netterm     +tag_old_static    
   system vimrc file: "/etc/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/etc"
 f-b for $VIMRUNTIME: "/usr/share/vim/vim80"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/python3.6m -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       
Linking: gcc   -L. -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -Wl,--as-needed -o vim        -lm  -lselinux   -lncurses -lacl -lattr -lgpm -ldl   -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -L/usr/local/lib  -L/usr/lib64/perl5/CORE -lperl -lpthread -lresolv -ldl -lm -lcrypt -lutil -lc

And :scriptnames:

  1: /etc/vimrc
  2: /usr/share/vim/vim80/syntax/syntax.vim
  3: /usr/share/vim/vim80/syntax/synload.vim
  4: /usr/share/vim/vim80/syntax/syncolor.vim
  5: /usr/share/vim/vim80/filetype.vim
  6: /usr/share/vim/vimfiles/ftdetect/ninja.vim
  7: /usr/share/vim/vim80/ftplugin.vim
  8: /usr/share/vim/vim80/defaults.vim
  9: /usr/share/vim/vim80/syntax/nosyntax.vim
 10: /usr/share/vim/vim80/indent.vim
 11: /usr/share/vim/vim80/plugin/getscriptPlugin.vim
 12: /usr/share/vim/vim80/plugin/gzip.vim
 13: /usr/share/vim/vim80/plugin/logiPat.vim
 14: /usr/share/vim/vim80/plugin/manpager.vim
 15: /usr/share/vim/vim80/plugin/matchparen.vim
 16: /usr/share/vim/vim80/plugin/netrwPlugin.vim
 17: /usr/share/vim/vim80/plugin/rrhelper.vim
 18: /usr/share/vim/vim80/plugin/spellfile.vim
 19: /usr/share/vim/vim80/plugin/tarPlugin.vim
 20: /usr/share/vim/vim80/plugin/tohtml.vim
 21: /usr/share/vim/vim80/plugin/vimballPlugin.vim
 22: /usr/share/vim/vim80/plugin/zipPlugin.vim
 23: ~/.vim/pack/plugins/start/vim-filebeagle/plugin/filebeagle.vim