TaDaa / vimade

An eye friendly plugin that fades your inactive buffers and preserves your syntax highlighting!
MIT License
486 stars 8 forks source link

personal mappings are broken #3

Closed habamax closed 5 years ago

habamax commented 5 years ago

After installation all my mappings started with are broken -- they are present if I issue :map <leader>fvi for example, it should open my $MYVIMRC file, but nothing happens.

Actually, Tim Pope's plugin mappings to toggle stuff doesn't work too -- yob. And surround plugin mappings is affected too.

gvim version is: 8.1.751 (Windows 10)

TaDaa commented 5 years ago

Oddly enough it seems on gvim that timer_start breaks the current motion. So for the time being I have diverged the code for windows gui, which now uses VimResized and CursorHold instead of the timer.

Let me know if you still see this issue

sionleroux commented 5 years ago

Same problem as above using the same gvim 8.1.751 but on Arch Linux.

TaDaa commented 5 years ago

@sinisterstuf thanks for letting me know..can you toss me the output from ":version" on Arch Linux gvim -- think I need to update this to detect gvim specifically

TaDaa commented 5 years ago

update vimade when you have a chance, hoping this fixes it for you -- if not send me your :version when you have a moment

habamax commented 5 years ago

fixed for me, thx!

sionleroux commented 5 years ago

@TaDaa updated and still doesn't work. Should I open a separate issue?

I've got:

VIM - Vi IMproved 8.1 (2018 May 18, compiled Jan 15 2019 00:11:27)
Included patches: 1-751
Compiled by Arch Linux
Huge version with GTK3 GUI.  Features included (+) or not (-):
+acl               +clientserver      +diff              +folding           +libcall           +mouse_gpm         +packages          +ruby/dyn          +termguicolors     +virtualedit       -xpm
+arabic            +clipboard         +digraphs          -footer            +linebreak         -mouse_jsbterm     +path_extra        +scrollbind        +terminal          +visual            +xsmp_interact
+autocmd           +cmdline_compl     +dnd               +fork()            +lispindent        +mouse_netterm     +perl/dyn          +signs             +terminfo          +visualextra       +xterm_clipboard
+autochdir         +cmdline_hist      -ebcdic            +gettext           +listcmds          +mouse_sgr         +persistent_undo   +smartindent       +termresponse      +viminfo           -xterm_save
-autoservername    +cmdline_info      +emacs_tags        -hangul_input      +localmap          -mouse_sysmouse    +postscript        +startuptime       +textobjects       +vreplace
+balloon_eval      +comments          +eval              +iconv             +lua/dyn           +mouse_urxvt       +printer           +statusline        +textprop          +wildignore
+balloon_eval_term +conceal           +ex_extra          +insert_expand     +menu              +mouse_xterm       +profile           -sun_workshop      +timers            +wildmenu
+browse            +cryptv            +extra_search      +job               +mksession         +multi_byte        +python/dyn        +syntax            +title             +windows
++builtin_terms    +cscope            +farsi             +jumplist          +modify_fname      +multi_lang        +python3/dyn       +tag_binary        +toolbar           +writebackup
+byte_offset       +cursorbind        +file_in_path      +keymap            +mouse             -mzscheme          +quickfix          +tag_old_static    +user_commands     +X11
+channel           +cursorshape       +find_in_path      +lambda            +mouseshape        +netbeans_intg     +reltime           -tag_any_white     +vartabs           -xfontset
+cindent           +dialog_con_gui    +float             +langmap           +mouse_dec         +num64             +rightleft         +tcl/dyn           +vertsplit         +xim
   system vimrc file: "/etc/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "/etc/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/fr
ibidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/
blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread  -D_FORTIFY_SOUR
CE=2  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L. -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.28/core_perl/CORE  -Wl,-O1,--sort-common,--as-needed,-
z,relro,-z,now -L/usr/local/lib -Wl,--as-needed -o vim   -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lSM -lICE -lXt -lX11 -l
Xdmcp -lSM -lICE  -lm -ltinfo -lelf -lnsl    -lacl -lattr -lgpm -ldl   -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.28/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -L/usr/local/l
ib  -L/usr/lib/perl5/5.28/core_perl/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc   -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lm
habamax commented 5 years ago

@sinisterstuf I think we can have it in the same issue

TaDaa commented 5 years ago

Thanks guys -- @sinisterstuf, the autodetect logic I added for gvim won't work with that version info. So I updated the code so that the disable timer is now configurable. You will want to add let g:vimade_usecursorhold=1 into your vimrc. If the fading does not refresh as often as you like, you can configure the refresh interval with set updatetime

TaDaa commented 5 years ago

Any luck with the new configuration? Most likely will close this out later tonight, but feel free to open if still having issues.