mohitleo9 / vim-fidget

34 stars 5 forks source link

Can't open file for writting #9

Open seyDoggy opened 9 years ago

seyDoggy commented 9 years ago

When I enter the command :VimFidget I get three empty windows. When I try to save I get:

"/index.html" E212: Can't open file for writing
stabenfeldt commented 9 years ago

Same problem here. Is there a fix for this?

mohitleo9 commented 9 years ago

Can you try running the : VimFidgetKillServer and then :VimFidget Command again and see if it works?

stabenfeldt commented 9 years ago

Hi,

It didn't work. Which area does it try to write to? Could it be that I'm missing ~/temp or something?

mohitleo9 commented 9 years ago

I pushed a fix, can you pull in the latest code and try again. To pull in the latest code just simply go to .vim/bundle/vim-fidget and git pull

stabenfeldt commented 9 years ago

Now ViM just freezes. I'm not able to press ESQ and write :q.

stabenfeldt commented 9 years ago

I'm running: VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 9 2014 12:24:51) MacOS X (unix) version Included patches: 1-488 Compiled by Homebrew

mohitleo9 commented 9 years ago

can you paste the full output of vim --version. Also which plugin manager do you use?

mohitleo9 commented 9 years ago

I am also running vim 7.4.488 on macos X, and it works for me. Have you tried re-installing. Install it like this: Use the plugin manager to get the bundle like Vundle 'mohitleo9/vim-fidget' Then go to the bundle directory and do this npm install --production Then try again and let me know

stabenfeldt commented 9 years ago

I'm using Vundle

can you paste the full output of vim --version.


VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov  9 2014 12:24:51)
MacOS X (unix) version
Included patches: 1-488
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +syntax
+arabic          +file_in_path    +mouse_sgr       +tag_binary
+autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static
-balloon_eval    +float           +mouse_urxvt     -tag_any_white
-browse          +folding         +mouse_xterm     -tcl
++builtin_terms  -footer          +multi_byte      +terminfo
+byte_offset     +fork()          +multi_lang      +termresponse
+cindent         -gettext         -mzscheme        +textobjects
-clientserver    -hangul_input    +netbeans_intg   +title
+clipboard       +iconv           +path_extra      -toolbar
+cmdline_compl   +insert_expand   +perl            +user_commands
+cmdline_hist    +jumplist        +persistent_undo +vertsplit
+cmdline_info    +keymap          +postscript      +virtualedit
+comments        +langmap         +printer         +visual
+conceal         +libcall         +profile         +visualextra
+cryptv          +linebreak       +python          +viminfo
+cscope          +lispindent      -python3         +vreplace
+cursorbind      +listcmds        +quickfix        +wildignore
+cursorshape     +localmap        +reltime         +wildmenu
+dialog_con      -lua             +rightleft       +windows
+diff            +menu            +ruby            +writebackup
+digraphs        +mksession       +scrollbind      -X11
-dnd             +modify_fname    +signs           -xfontset
-ebcdic          +mouse           +smartindent     -xim
+emacs_tags      -mouseshape      -sniff           -xsmp
+eval            +mouse_dec       +startuptime     -xterm_clipboard
+ex_extra        -mouse_gpm       +statusline      -xterm_save
+extra_search    -mouse_jsbterm   -sun_workshop    -xpm
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: /usr/bin/clang -c -I. -Iproto -DHAVE_CONFIG_H   -F/usr/local/Frameworks -DMACOS_X_UNIX  -Os -w -pipe -march=native -mmacosx-version-min=10.9 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: /usr/bin/clang   -L. -L/Users/travis/.sm/pkg/active/lib -fPIC -Bstatic -fstack-protector -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -o vim        -lm  -lncurses -liconv -framework Cocoa   -fstack-protector -L/usr/local/lib  -L/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE -lperl -framework Python   -lruby-static -framework CoreFoundation -lobjc -L/Users/martins/.rvm/rubies/ruby-2.1.2/lib
stabenfeldt commented 9 years ago

npm install --production fixed it. :+1: Thanks for helping out! :-)