Commit Graph

115 Commits

Author SHA1 Message Date
Shougo Matsushita
909c2c9fdb Fix C++ snippets 2013-12-19 19:02:11 +09:00
Shougo
f1afc46c5d Merge pull request #194 from syngan/bib.snip
add bib.snip
2013-11-26 07:21:14 -08:00
syngan
559d0407aa add bib.snip 2013-11-26 23:06:04 +09:00
Shougo Matsushita
fc713ecb62 - Fixed snippet. 2013-10-24 11:48:26 +09:00
Shougo Matsushita
e86bb3799f - Added bundle_hooks snippet. 2013-10-17 13:02:15 +09:00
Shougo Matsushita
24b2ed20c6 - Improved save snippets. 2013-09-26 11:43:39 +09:00
rhysd
63fc52ad57 Added save_xxx snippets
Saving some values in temprary variables is common process in writing
Vim script.  I made snippets for them for DRY.

Added save_xxx snippets
- save_pos
- save_register
- save_options

Followings are examples of them.

    let pos_save = getpos('.')

    call setpos('.', pos_save)

    let save_reg_g = getreg('g')
    let save_regtype_g = getregtype('g')

    call setreg('g', save_reg_g, save_regtype_g)

    let selection_save = &selection
    let &selection =

    let &selection = selection_save
2013-09-26 00:55:44 +09:00
ujihisa
fb74e09c89 Improve javascript snip. 2013-08-28 16:25:46 -07:00
Sheile
97066bad41 Improve Javascript snip. 2013-08-28 13:29:12 +09:00
Sheile
84b4c2f540 Fixed javascript snip. 2013-08-28 11:31:11 +09:00
crazymaster
79d14a7677 Improve liquid snippet 2013-08-17 15:34:56 +09:00
crazymaster
4ef59e37bf Improve liquid snippet 2013-08-17 15:19:48 +09:00
crazymaster
23ce1eab41 Improve liquid snippet 2013-08-17 01:55:50 +09:00
ujihisa
d062862957 Improve ruby snip. 2013-07-23 23:23:12 -07:00
ujihisa
bda2f8ae64 Improve lua snippet. 2013-07-14 12:37:30 -07:00
ujihisa
49ccfb3791 Add erlang snippets. 2013-07-14 12:37:00 -07:00
Shougo Matsushita
7bd1acb57b - Improved snippet. 2013-07-14 10:37:49 +09:00
Shougo Matsushita
293332348e - Deleted ; in javascript snippet. 2013-07-12 11:56:07 +09:00
ujihisa
a83b1b160e Improve Haskell snip. 2013-07-09 19:40:01 -07:00
ujihisa
8b360c6e20 refs #167 indentation was inconsistent 2013-07-09 18:32:12 -07:00
ujihisa
b557d0edb2 Improved C snip; english typo 2013-07-09 18:30:39 -07:00
ujihisa
0d8e32fe38 Improve C snip; removing trivial comment 2013-07-09 18:29:35 -07:00
ujihisa
466124f4b2 refs #167 Improved C snip; fopen should pair fclose. 2013-07-09 18:28:55 -07:00
ujihisa
a7c23ac09e Don't place spaces there 2013-07-09 18:24:59 -07:00
boxp
66e7c28339 Added C snippets. (fopen,fgets) #2 2013-07-09 13:04:34 +09:00
boxp
e204a66252 Added C snippets. (fopen,fgets) 2013-07-09 21:35:44 +09:00
ujihisa
39cd6d1f28 Improved sql snippets. 2013-07-03 23:07:00 -07:00
UncleBill
660fce4ad2 - add snippets: header, main & footer 2013-06-29 16:16:29 +08:00
Shiyong Chen
b051fe6dc7 - add global lastmod for "Last modified time" 2013-06-29 09:50:12 +08:00
ujihisa
87a0450300 Improved sh, python, and clojure snip. 2013-06-25 20:43:18 -07:00
ujihisa
13d34ada5d Improved ruby snip. 2013-06-18 17:11:45 -07:00
ujihisa
08fccee8e7 Added groovy snip. 2013-06-16 16:20:23 -07:00
ujihisa
5c4a1d0c3b bugfix: Gemfile snip 2013-06-15 12:49:50 -07:00
ujihisa
acedab79ce Added Makefile snip. 2013-06-10 18:04:02 -07:00
ujihisa
55db486ce0 Added sshconfig snip. 2013-06-10 11:31:14 -07:00
ujihisa
6f9c051b4f Improved go snippet. 2013-05-30 19:34:46 -07:00
ujihisa
5cb31a9205 Add scheme snippet. 2013-05-30 19:34:08 -07:00
ujihisa
1f6f777f57 Improved javascript snippet 2013-05-30 19:33:05 -07:00
ujihisa
e91c6af2bb Added clojure snippets. 2013-05-27 17:51:16 -07:00
Shougo Matsushita
01e2da6e49 - Improved lua snippet. 2013-05-26 13:09:01 +09:00
crazymaster
f9e05a1ec6 Fixed markdown snippets. 2013-05-20 20:57:26 +09:00
crazymaster
12bf6b429d Fixed liquid snippets. 2013-05-20 20:32:10 +09:00
Shougo Matsushita
3c9c731722 - Fixed html snippets. 2013-05-20 14:08:57 +09:00
ujihisa
ca5fa29574 Added go snippets. 2013-05-18 15:04:43 -07:00
crazymaster
ef31721bce Improved liquid snippet. 2013-04-23 17:09:26 +09:00
crazymaster
48ceccda3b Added liquid snippet. 2013-04-22 22:23:03 +09:00
KaoruToda
97fd6f0d6d Added mediawiki snippet. 2013-04-21 23:34:44 +09:00
ujihisa
911086de51 add Java Hello World snippet 2013-04-09 18:09:43 -07:00
Shougo Matsushita
9e38cd7b9c - Improved escape placeholder behavior. 2013-04-02 17:51:12 +09:00
ujihisa
08d5f030fd abandone legacy ruby syntax 2013-04-01 20:20:34 -07:00