Commit Graph

22 Commits

Author SHA1 Message Date
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
Shougo Matsushita
7bd1acb57b - Improved snippet. 2013-07-14 10:37:49 +09:00
Shougo Matsushita
f53e29aba1 - Added vim snippets. 2013-03-24 18:52:34 +09:00
Shougo Matsushita
ef9338e776 - Improved vim snippet. 2013-02-24 15:34:45 +09:00
Shougo Matsushita
d8605ea946 - Added vim snippets. 2013-02-01 11:47:59 +09:00
Shougo Matsushita
27274a32a4 - Added autoload snippet in Vim snip. 2013-01-30 08:03:53 +09:00
Shougo Matsushita
b96e2bb402 - Added snippet aliases. 2013-01-22 10:49:21 +09:00
Shougo Matsushita
6863f6139c - Added NeoBundleLazy snippet. 2013-01-22 10:48:34 +09:00
Shougo Matsushita
9c4b50dd0b - Added NeoBundle snippet. 2012-12-02 00:44:38 +09:00
Shougo Matsushita
19e6bb6253 - Refactored snippets files. 2012-10-30 17:53:14 +09:00
Shougo Matsushita
efecca4fb8 - Implemented target placeholder. 2012-10-30 07:38:37 +09:00
Shougo Matsushita
c1cfe686ad - Added get_selected_text(). 2012-10-29 19:27:18 +09:00
Shougo Matsushita
de453e5a16 - Improved parse of snippets file. 2012-10-29 11:22:37 +09:00
Shougo Matsushita
6f2f181cb3 - Improved expand behavior. 2012-10-28 18:58:55 +09:00
Shougo Matsushita
b955d17e5e - Improved g:neosnippet#disable_select_mode_mappings behavior. 2012-10-27 18:04:53 +09:00
Shougo Matsushita
87b97cd385 - Added options head. 2012-10-21 17:51:07 +09:00
Shougo Matsushita
de6dd9aae2 - Improved documentation. 2012-10-19 11:02:08 +09:00
ujihisa
50b9a3a059 Improved vim snip -- adding augroup snippet. 2012-10-07 14:36:32 -07:00
Shougo Matsushita
cc22621217 - Fixed vim snippets. 2012-10-06 18:00:21 +09:00
Shougo Matsushita
e370a62d44 - Changed g:neosnippet#disable_runtime_snippets behavior. 2012-10-04 17:51:15 +09:00
Shougo Matsushita
cb51dd674d - Changed runtime directory. 2012-09-30 17:04:46 +09:00