lambdalisue / vim-gina

👣 Asynchronously control git repositories in Neovim/Vim 8
http://www.vim.org/scripts/script.php?script_id=5531
MIT License
689 stars 27 forks source link

gina.vim crack iVim when using netrw(with vim-vinegar) #265

Closed suliveevil closed 4 years ago

suliveevil commented 4 years ago

How to find out which function cracks my iVim?

suliveevil commented 4 years ago

I was using - and <CR> navigating folders and files, when cursor is on a file, I tap <CR> want to open it, then gina.vim crackdown iVim.

I use iVim's package management tool iplug disabled gina.vim, everything goes normal.

lambdalisue commented 4 years ago

I have no idea what iVim is or so on. Provide me a minimum information to reproduce your issue.

suliveevil commented 4 years ago

https://apps.apple.com/cn/app/ivim/id1266544660

ver
------
VIM - Vi IMproved 8.1 (2018 May 18, compiled Jun 11 2020 16:59:28)
iVim 2.22(2)
Included patches: 1-2110
Modified by Boogaloo
Huge version with iOS GUI.  Features included (+) or not (-):
+acl               -farsi             -mouse_sysmouse    -tag_any_white
+arabic            +file_in_path      +mouse_urxvt       -tcl
+autocmd           +find_in_path      +mouse_xterm       +termguicolors
+autochdir         +float             +multi_byte        +terminal
-autoservername    +folding           +multi_lang        -terminfo
-balloon_eval      -footer            -mzscheme          -termresponse
-balloon_eval_term +fork()            -netbeans_intg     +textobjects
+browse            -gettext           -num64             +textprop
++builtin_terms    -hangul_input      +packages          +timers
+byte_offset       -iconv             +path_extra        +title
+channel           +insert_expand     -perl              -toolbar
+cindent           +job               +persistent_undo   +user_commands
-clientserver      +jumplist          +postscript        +vartabs
+clipboard         +keymap            +printer           +vertsplit
+cmdline_compl     +lambda            +profile           +virtualedit
+cmdline_hist      +langmap           -python            +visual
+cmdline_info      -libcall           +python3/dyn       +visualextra
+comments          +linebreak         +quickfix          +viminfo
+conceal           +lispindent        +reltime           +vreplace
+cryptv            +listcmds          +rightleft         +wildignore
-cscope            +localmap          -ruby              +wildmenu
+cursorbind        +lua/dyn           +scrollbind        +windows
+cursorshape       +menu              +signs             +writebackup
+dialog_con_gui    +mksession         +smartindent       -X11
+diff              +modify_fname      -sound             -xfontset
+digraphs          +mouse             +spell             -xim
-dnd               -mouseshape        +startuptime       -xpm
-ebcdic            +mouse_dec         +statusline        -xsmp
+emacs_tags        -mouse_gpm         -sun_workshop      -xterm_clipboard
+eval              -mouse_jsbterm     +syntax            -xterm_save
+ex_extra          +mouse_netterm     +tag_binary        
+extra_search      +mouse_sgr         -tag_old_static    
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
suliveevil commented 4 years ago

It's just like Vim on other platforms. The only difference is iVim didn't have a callable external Git, maybe this is why gina.vim cracks iVim?

lambdalisue commented 4 years ago

What is "crack" mean? What would happen? How did you know gina.vim "crack" iVim or did you guess by disabling gina.vim?

The only difference is iVim didn't have a callable external Git, maybe this is why gina.vim cracks iVim?

Then why do you need gina.vim?

suliveevil commented 4 years ago

By saying crack I mean it made iVim quit at start.

I was thinking will gina.vim do git add git commit bypass the Git, I'm wrong.

Maybe I should find another way to manage git repo.