Hi,

I think this is an issue with the compatibility mode of vim. What does

:set compatible?
:set cpoptions?

say? You may want to add

set nocompatible

at the beginning of your vimrc file.

Best regards,
Gerd


On 2016-10-20 11:44, Christoffer Østfeldt wrote:
> Hi there
>
> I am experiencing what i perceive to be an error with vim-latex and vim
> 8. Vim 8 is completely fresh, compiled from latest version on github on
> ubuntu 14.04.
>
> ~$ vim --version
> VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Oct 18 2016 09:52:55)
> Included patches: 1-42
> Compiled by christoffer@chrisNotebook
> Huge version with GTK2 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     +gettext         -mzscheme        +textobjects
> +channel         -hangul_input    +netbeans_intg   +timers
> +cindent         +iconv           +num64           +title
> +clientserver    +insert_expand   +packages        +toolbar
> +clipboard       +job             +path_extra      +user_commands
> +cmdline_compl   +jumplist        +perl            +vertsplit
> +cmdline_hist    +keymap          +persistent_undo +virtualedit
> +cmdline_info    +lambda          +postscript      +visual
> +comments        +langmap         +printer         +visualextra
> +conceal         +libcall         +profile         +viminfo
> +cryptv          +linebreak       -python          +vreplace
> +cscope          +lispindent      +python3         +wildignore
> +cursorbind      +listcmds        +quickfix        +wildmenu
> +cursorshape     +localmap        +reltime         +windows
> +dialog_con_gui  +lua             +rightleft       +writebackup
> +diff            +menu            +ruby            +X11
> +digraphs        +mksession       +scrollbind      -xfontset
> +dnd             +modify_fname    +signs           +xim
> -ebcdic          +mouse           +smartindent     +xpm
> +emacs_tags      +mouseshape      +startuptime     +xsmp_interact
> +eval            +mouse_dec       +statusline      +xterm_clipboard
> +ex_extra        +mouse_gpm       -sun_workshop    -xterm_save
> +extra_search    -mouse_jsbterm   +syntax
> +farsi           +mouse_netterm   +tag_binary
>    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"
>   fall-back for $VIM: "/usr/share/vim"
>  f-b for $VIMRUNTIME: "/usr/share/vim/vim80"
> Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread
> -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
> -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz
>     -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
> Linking: gcc   -L. -Wl,-Bsymbolic-functions -Wl,-z,relro
> -L/build/buildd/ruby1.9.1-1.9.3.484/debian/lib -rdynamic
> -Wl,-export-dynamic -Wl,-E   -L/usr/local/lib -Wl,--as-needed -o vim
> -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
> -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig
> -lgobject-2.0 -lglib-2.0 -lfreetype   -lSM -lICE -lXpm -lXt -lX11
> -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm
> -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector -L/usr/local/lib
>  -L/usr/lib/perl/5.18/CORE -lperl -ldl -lm -lpthread -lcrypt
>  -L/home/christoffer/anaconda3/lib/python3.5/config-3.5m -lpython3.5m
> -lpthread -ldl -lutil -lrt -lm  -lruby-1.9.1 -lpthread -lrt -ldl -lcrypt
> -lm  -L/usr/lib
>
> Opening gvim, inserting the article templating and pressing:
> "i-H-e-j-.-Esc" i obtain the following:
>
> %        File: article.tex
> %     Created: Thu Oct 20 11:00 AM 2016 C
> % Last Change: Thu Oct 20 11:00 AM 2016 C
> %
> \documentclass[a4paper]{article}
> \begin{document}
> Hej<C-R>=<SID>SmartDots()<CR>
> \end{document}
>
> My .vimrc is exactly like the one suggested here:
> http://vim-latex.sourceforge.net/documentation/latex-suite/recommended-settings.html
>
> I have tried searching for suggestions on fixing this issue, but without
> any luck.
>
> Sincerely
> Christoffer
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> Vim-latex-devel mailing list
> Vim-latex-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to