Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Kareem Hepburn
I keep getting a warning that this plugin requires python 2.7 or 3 but I am already using pyhton 2.7.3
Holger Rapp
@magicalbanana That seems unlikely. Please verify inside vim: :py import sys; print(sys.version)
Holger Rapp
@magicalbanana My theory is that your Vim is using some sort of system python, not the one you are using on your console.
Kareem Hepburn
@SirVer It's telling me that command is not available in this version.
Holger Rapp
@magicalbanana That explains that: You do not have a Python enabled Vim. UltiSnips cannot work there and that is why it is complaining. Which OS are you on? If on Linux, try installing something like vim-huge or vim-gnome to fix that.
Kareem Hepburn
It's both on my OSX and Debian.
Holger Rapp
on debian install vim-gnome to fix
on mac, use homebrew to build a python and a vim
something like
brew install python
brew install macvim
Kareem Hepburn
Actually on OSX it's ok, I tried the debian fix but still no dice.
Yeah, I just ran :echo has('python') and returned 0
Mirzalazuardi Hermawan
Is ultisnips provide emberjs in coffeescript?
Holger Rapp
@mirzalazuardi I do not understand your question. All our snippets are in https://github.com/honza/vim-snippets/.
PSA: I am retiring as a maintainer. @seletskiy takes over. Please see for details SirVer/ultisnips#617.
Mirzalazuardi Hermawan
my question is there emberjs or other popular plugins like reactjs snippet provide by ultisnips
thanks for replying my question
Chris Paul
Hey, there seems to be an incompatibility with snipmate in some instances.please see this issue:
Severen Redwood
@SirVer I assume this is the reason for the stall in development on Swiboe?
Holger Rapp
@SShrike yes.
Camron Cade
does anyone know how I can make a snippet that replaces and spaces with underscores as I type?
maybe a live preg-replace?
Derek Robati
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 2 2014 19:39:59)
Included patches: 1-52
Modified by pkg-vim-maintainers@lists.alioth.debian.org
Compiled by buildd@
Huge version with GTK2 GUI. Features included (+) or not (-):
+acl +cscope +folding +menu
+netbeans_intg -sniff +virtualedit
+arabic +cursorbind -footer +mksession +path_extra
+startuptime +visual
+autocmd +cursorshape +fork() +modify_fname +perl
+statusline +visualextra
+balloon_eval +dialog_con_gui +gettext +mouse
+persistent_undo -sun_workshop +viminfo
+browse +diff -hangul_input +mouseshape +postscript
+syntax +vreplace
++builtin_terms +digraphs +iconv +mouse_dec +printer
+tag_binary +wildignore
+byte_offset +dnd +insert_expand +mouse_gpm +profile
+tag_old_static +wildmenu
+cindent -ebcdic +jumplist -mouse_jsbterm +python
-tag_any_white +windows
+clientserver +emacs_tags +keymap +mouse_netterm -python3
+tcl +writebackup
+clipboard +eval +langmap +mouse_sgr +quickfix
+terminfo +X11
+cmdline_compl +ex_extra +libcall -mouse_sysmouse +reltime
+termresponse -xfontset
+cmdline_hist +extra_search +linebreak +mouse_urxvt +rightleft
+textobjects +xim
+cmdline_info +farsi +lispindent +mouse_xterm +ruby
+title +xsmp_interact
+comments +file_in_path +listcmds +multi_byte +scrollbind
+toolbar +xterm_clipboard
+conceal +find_in_path +localmap +multi_lang +signs
+user_commands -xterm_save
+cryptv +float +lua -mzscheme +smartindent
+vertsplit +xpm
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"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H
-DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0
include -I/usr/include/atk-1.0 -I/usr/include/cairo
-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/include/pixman-1 -I/usr/inc
lude/libpng12 -I/usr/include/harfbuzz -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -U_FOR
-I/usr/include/tcl8.6 -D_REENTRANT=1
Linking: gcc -L. -Wl,-Bsymbolic-functions
-Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E
-Wl,-Bsymbolic-functions -Wl,-z,relro
-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 -ls
oh sorry thought gitter would have gist support or something like slack
Either way I tested as the install docs say
and have the correct version of python and am even able to run those commands in vim fine
but when I load ultisnips I get crazy errors
I'll try not to paste those directly :\
Derek Robati
I was just thinking that maybe because I use vim-plug I need to update
nope PlugUpdate didn't change anything
Derek Robati
I think I solved the problem.
It looked like it was because I symlink .vim to a mounted dotfile folder in my vm
and then after I used a command to clean all pyc files
Nikolay Nozdrin-Plotnitsky
Hello everyone! please tell me how create snippet for 'snip': in video 'snip' create to 'snippet endsnippet'. I tryed this do, but nothing. Maybe you give me text this snippet?
Holger Rapp
@scientistnik You need a little hack to make that work: https://github.com/honza/vim-snippets/blob/master/UltiSnips/snippets.snippets#L3
Alejandro Gallo
I do not know if this is the most appropriate place to post this. Hello all, I am preparing for my personal use a project I keep updating over and over, and I realised that I could use some help and probably some nice ideas from people around here. It is about creating consistent snippets over a wide range of programming languages. vim-snippets is very nice but I always have to go back and check how to define function in python (trigger def) and in javascript is fun etc.. etc.. So I did my own general classification and for every programming language I use I have so as a trigger for standard output, class for class, arr for array, carr for constant array ... If someone is interested in doing such a Rosetta stone of programming languages please let me know and I can show you what I've got sofar.
Stanislav Seletskiy
@alejandrogallo: Hi! I'm current maintainer of US. I'm dissatisfied with honza/vim-snippets because of: a) they do not use power features of US like interpolations/contexts/preexpand-/postexpand-/jump-actions, which renders them pretty useless; b) they use use long triggers which are not necessary to type.
@alejandrogallo: So, your proposal for using class for class does not sound efficient to me. For example, I'm using snippet with auto-trigger s which covers any type declaration in Go-lang: https://cloud.githubusercontent.com/assets/8445924/8632734/a3579b5a-2797-11e5-81fd-2f515ac04f04.gif
Alejandro Gallo
This message was deleted
Alejandro Gallo
@seletskiy I just deleted the previous message. So to sum up, it sound nice to use hardcore US capabilities. Originially I was just looking for simple snippets but fully consistent across different programming languages, so that you know exactly how to kickstart a method or a main method in a random programming language (and also for markup languages, bold font, italics, paragraph etc...)
A very crude example is here
and you can take a look to my current triggers which I intend to implement where possible for different programming languages, I already have many implemented.
Alexander Yakovlev
damn. how can I install this ultisnips?
it can't understand the vim-snippets package
Alexander Yakovlev
nevermind, solved it. ugh, so complicated
is Java no longer supported?
theres no Java in the snippets
Hey Gus