vimenv

configure vim environment
git clone git://git.unixkoans.com/vimenv.git
Log | Files | Refs | Submodules

abbrevs.vim (647B)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"
" author   : Xu Xiaodong <xxdlhy@gmail.com>
" modified : 2016 May 31
"

"-- abbrevs --"

iab _au author   : Xu Xiaodong <xxdlhy@gmail.com>
iab _mo <c-r>="modified : " . strftime("%Y %b %d")<cr>

iab _na Xu Xiaodong 
iab _ma xxdlhy@gmail.com
iab _da <c-r>=strftime("%Y-%m-%d %T")<cr>

iab _fn <c-r>=bufname("%")<cr>
iab _pl #!/usr/bin/env perl
iab _rb #!/usr/bin/env ruby

iab _xt http://linuxtoy.org
iab _xm <!--more-->

iab _hlb {% highlight bash %}
iab _hlr {% highlight ruby %}
iab _ehl {% endhighlight %}

iab ,, =>

iab _ps <!-- PELICAN_END_SUMMARY -->
iab _pi ![]({filename}/images/)
iab _pil [![]({filename}/images/)]({filename}/images/)