Commit Graph

544 Commits

Author SHA1 Message Date
Shougo
6224509a90 Merge pull request #183 from rhysd/add/save_xxx_snippets
Added save_xxx snippets
2013-09-25 19:36:53 -07: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
Shougo
4dfd5f92cc Merge pull request #182 from alpaca-tc/changed_behavior_of_bundo_ftplugin
Changed behavior of b:undo_ftplugin
2013-09-24 22:58:48 -07:00
alpaca_taichou
f3ce8319c4 Changed behavior of b:undo_ftplugin 2013-09-25 14:36:37 +09:00
Shougo Matsushita
e1d053c3b7 - Fixed #180 select default. 2013-09-23 13:26:44 +09:00
Shougo Matsushita
b7ec09cf4d - Deleted snoremap. 2013-09-08 12:30:22 +09:00
Shougo
c2f75620ec Merge pull request #178 from alpaca-tc/master
Append neosnippet_source to action_table.
2013-09-01 07:08:23 -07:00
alpaca_taichou
6cd254e7ec Append neosnippet_source action to action_table. 2013-09-01 19:19:22 +09:00
ujihisa
fb74e09c89 Improve javascript snip. 2013-08-28 16:25:46 -07:00
Shougo
62871c00e7 Merge pull request #176 from Sheile/add-console-log
Improve Javascript snip.
2013-08-28 00:02:18 -07:00
Sheile
97066bad41 Improve Javascript snip. 2013-08-28 13:29:12 +09:00
Shougo
06c796ee39 Merge pull request #175 from Sheile/settimeout-snippet
Fixed javascript snip.
2013-08-27 19:50:25 -07:00
Sheile
84b4c2f540 Fixed javascript snip. 2013-08-28 11:31:11 +09:00
Shougo
6784e02b58 Merge pull request #173 from crazymaster/master
Improve liquid snippet
2013-08-18 04:48:35 -07:00
Shougo Matsushita
ce865813ef - Updated vital. 2013-08-18 20:32:40 +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
db72ae6771 - Improved stopinsert. 2013-07-12 14:10:45 +09:00
Shougo Matsushita
293332348e - Deleted ; in javascript snippet. 2013-07-12 11:56:07 +09:00
Shougo Matsushita
f724d907ef - Fixed get_source_filetypes. 2013-07-11 14:45:40 +09:00
Shougo Matsushita
fe9ba1525d - Updated unite.vim check. 2013-07-11 11:10:32 +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
Shougo
9f791435a9 Merge pull request #167 from boxp/master
Added snippet alias (fopen,fgets)
2013-07-08 22:08:21 -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
157863b7cb Vitalize. 2013-07-06 00:46:13 -07:00
ujihisa
39cd6d1f28 Improved sql snippets. 2013-07-03 23:07:00 -07:00
ujihisa
2d212e12f5 no changelog available here. good-bye from contents as well. 2013-07-03 23:05:47 -07:00
Shougo Matsushita
f04a866db2 - Fixed neosnippet initialization. 2013-07-03 20:06:03 +09:00
Shougo Matsushita
be90bb4f93 - Improved g:neosnippet#disable_select_mode_mappings behavior. 2013-07-03 12:42:26 +09:00
Shougo Matsushita
80b5e2f8cb - Fixed example. 2013-06-30 00:23:22 +09:00
Shougo
b54a4f6c92 Merge pull request #161 from UncleBill/master
add global lastmod for "Last modified time"
2013-06-29 06:18:49 -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
Shougo Matsushita
fafe9cbc75 - Fixed documentation. 2013-06-28 15:37:51 +09:00
Shougo Matsushita
de31e2cf6c - Deleted changelog. 2013-06-28 15:33:52 +09:00
Shougo Matsushita
6a49b0fd1d - Fixed snippet substitution. 2013-06-27 11:16:30 +09:00
ujihisa
87a0450300 Improved sh, python, and clojure snip. 2013-06-25 20:43:18 -07:00
Shougo Matsushita
0c47bf82ed - Improved substitution. 2013-06-25 11:50:24 +09:00
ujihisa
13d34ada5d Improved ruby snip. 2013-06-18 17:11:45 -07:00