thalesmello
6a7843bcb3
Include examples about how to create postfix
...
Postfix snippets are an incredibly useful feature in IntelliJ IDE's.
Only recently I came to realize this [could be implemented with UltiSnippets](https://github.com/sniphpets/sniphpets-postfix-codes/blob/master/UltiSnips/php.snippets ).
I think it would be a nice addition to the UltiSnippets documentation, in the hopes it could help others spend less time than I did trying to figure out how to put it together.
2016-07-07 03:19:02 -03:00
Egor Kovetskiy
eb7240ff7d
UltiSnipsEdit look for non empty files in snippets directories
2016-04-14 13:31:49 +06:00
Egor Kovetskiy
2e62906c33
allow specify context using special header
2016-04-13 17:37:58 +06:00
Stanislav Seletskiy
3a3e56a987
grant access to visual to context and actions
...
Grants access to:
* context match condition for context snippets (via snip.visual_text and
snip.visual_mode);
* pre/post actions (via same variable);
* context match condition to (!) lastly selected placeholder, so it is
possible now to use autotrigger snippets, that are activated by
simply typing letter while tabstop is selected;
* python interpolations to lastly selected placeholder;
2016-03-29 21:25:27 +06:00
dNItro
203218297c
More detailed documentation on multiline option
2016-01-21 03:28:19 -08:00
dNItro
8a8e183b80
Documentation on multiline option
2016-01-20 13:54:38 -08:00
Stanislav Seletskiy
3f2c591c3b
Merge pull request #625 from chemzqm/location
...
add snippets_in_current_buffer function
2016-01-20 22:03:46 +05:00
Stanislav Seletskiy
0058e8664f
doc: add link to options for #Anon()
2016-01-13 15:55:10 +06:00
Stanislav Seletskiy
ec9b292ba4
fix typos in doc/UltiSnips.txt
2016-01-12 10:32:11 +06:00
chemzqm
52ade8fed6
doc for all param of SnippetsInCurrentScope
2016-01-12 00:37:53 +08:00
Holger Rapp
2e9f12bfd6
Fixed doc/UltiSnips.txt for change of maintainer.
2015-11-28 11:40:37 +01:00
Holger Rapp
c9699feed1
Fix docs: "'" has no special meaning in snippets.
...
Fixes #565 .
2015-11-02 09:10:02 +01:00
Stanislav Seletskiy
76ebfec3cf
autotrigger: make snippets expand without <tab>
2015-10-09 16:00:24 +06:00
Eric Douglas
e603117f66
Fix Tabstops and Placeholders index
2015-09-14 12:27:16 -03:00
Neil Grogan
74bbca2f9c
Fixed URL
2015-09-09 11:09:32 +01:00
Holger Rapp
e48d8a28e5
Rollback "Merge support for auto expand."
...
Due to performance degradation reported in #552 .
This reverts commit 490430f91d
, reversing
changes made to cf2c473a8e
.
2015-08-21 07:38:34 +02:00
Stanislav Seletskiy
61e06bbc18
add note about version and fix tests
2015-08-12 17:35:28 +06:00
Stanislav Seletskiy
878f79ffda
review fixes
2015-08-12 17:22:15 +06:00
Stanislav Seletskiy
14ea90385b
tests and docs
2015-08-03 14:41:25 +06:00
Kris Dages
cc43d1251a
Pipe-quoting helptag reference to UltiSnips-context-snippets
2015-07-31 10:46:02 -05:00
Stanislav Seletskiy
175e3ba521
fix doc 80 chars limit
2015-07-29 20:08:49 +06:00
Stanislav Seletskiy
ba774c39ca
review fixes
2015-07-29 20:08:49 +06:00
Stanislav Seletskiy
972305725f
fix expan_anon in pre-action, snip object, fixes
2015-07-29 20:08:49 +06:00
Stanislav Seletskiy
1ca82f76f7
pre/post-expand and post-jump actions
2015-07-29 20:08:34 +06:00
Holger Rapp
5c211b0e79
Clear up pathogen installation instructions.
...
Closes #535 .
2015-07-27 09:22:05 +02:00
Holger Rapp
7f64510a7e
Link to the Vimcasts about UltiSnips.
...
[ci skip]
2015-07-18 18:05:36 +02:00
Holger Rapp
992e094638
Add a warning about changing the buffer in autocommands.
2015-07-13 07:14:54 +02:00
Greg Hurrell
c4ee3ecf10
Fire autocommands when setting up and tearing down inner state
...
It can be useful to set up mappings that apply only during expansion of
a snippet. UltiSnips does this internally with the `_setup_inner_state`
and `_teardown_inner_state` methods.
This commit adds some `User` autocommands so that users of UltiSnips can
set up their own mappings and tear them down at the same time as
`_setup_inner_state` and `_teardown_inner_state`.
This is particularly useful for people who are writing their own
expansion and jump functions using `UltiSnips#JumpForwards` and
`UltiSnips#ExpandSnippet()` and friends. Here's an example from my own
dotfiles:
- 0664b627e7
- 3740c248ee
Using this approach I've been able to get rid of Supertab and have a
more nuanced autocompletion experience that works exactly as I'd like
with YouCompleteMe.
2015-07-13 07:11:39 +02:00
Holger Rapp
33db8b4ab0
Update pathogen installation instructions.
...
Fixes #501 .
2015-07-11 18:48:44 +02:00
Holger Rapp
3806a69874
Fix improper use of augroup in ftdetect.
2015-06-01 21:12:19 +02:00
Holger Rapp
ab1cc1afac
Remove documentation for using the same trigger for jump and expand.
2015-05-01 14:36:41 +02:00
Holger Rapp
d6098193ef
Merge pull request #446 from seletskiy/context-snippets
...
New feature: Context-aware snippets
2015-05-01 14:35:19 +02:00
Stanislav Seletskiy
2f355c233f
another little fix in documentation
2015-04-29 22:25:21 +06:00
Stanislav Seletskiy
1b3ecf4a85
priority test, docs & fmt fixes
2015-04-27 15:42:21 +06:00
Stanislav Seletskiy
904fbdecf5
review fixes
2015-04-25 21:38:22 +06:00
Stanislav Seletskiy
709f8dc93f
minor doc fix and new cursor variable
2015-04-19 11:08:14 +06:00
Stanislav Seletskiy
9861a6e6c3
typo fix in docs
2015-04-19 11:08:14 +06:00
Stanislav Seletskiy
66bc2e8f6e
documentation, pull-requests fixes
2015-04-19 11:08:14 +06:00
Holger Rapp
00848d7d64
Merge pull request #483 from cwahbong/master
...
Update document for zero tabstop.
2015-04-18 22:45:04 +02:00
Holger Rapp
99eede1bf6
Started to test py2 and py3 on travis now.
...
I also learned that Vim 7.3 does not seem to be working at all anymore.
Fixes a bug that only happens with python3.
2015-04-18 17:15:05 +02:00
cwahbong
bf20bc6f66
Update document for zero tabstop.
2015-04-15 20:58:26 +08:00
kawing.chiu
71a8fdec58
Add contributor to doc.
2015-04-12 22:34:06 +08:00
Holger Rapp
09876e0084
Support for m (trim) snippet option.
2015-02-14 14:20:03 +01:00
Holger Rapp
e041187669
Do not try to remap the keymaps if langnoremap is available and set.
2015-02-14 10:44:48 +01:00
Stanislav Seletskiy
81a628c6ea
Add option 'm' for trimming whitespaces in snippet
...
Fix #391
2015-02-04 11:55:28 +06:00
Stanislav Seletskiy
b47e686521
do not walk &rtp if abs path to snips specified
2015-01-21 17:57:33 +06:00
Holger Rapp
e1436a8aeb
Accept numbers and text for disabling snipMate.
2015-01-15 08:17:37 +01:00
Holger Rapp
d240aa24df
Added Pyrohh to the list of contributors.
2015-01-04 22:23:24 +01:00
Holger Rapp
7df82bbe53
Merge pull request #415 from seletskiy/toggle-snipmate
...
add g:UltiSnipsEnableSnipMate
2014-12-20 18:39:50 +01:00
Stanislav Seletskiy
fc080b4fd5
add g:UltiSnipsEnableSnipMate
2014-12-18 12:05:52 +06:00