-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
115 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
silent! set expandtab tabstop=4 | %retab | ||
" 将格式转为sourceStyle 2 | ||
silent! %s/^\(.\{-}\)\s\{4,}\(\d\{3,}\)$/\2 \1/ | ||
normal gg | ||
let linenumber = printf('%04d', 0) | ||
for line in getline(1,'$') | ||
let words = split(line, '\s\{4,}') | ||
if linenumber == words[0] | ||
silent! s/^.*$/\= words[1]/e | ||
else | ||
let linenumber = words[0] | ||
silent! s/^.*$/\= words[0] . "\n". get(words, 1, "")/e | ||
endif | ||
silent! normal j | ||
endfor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
这是keyword 0301 | ||
key word 可以有空格 0302 | ||
分隔符最好用4位及以上的空格 0303 | ||
虽可以使用tab但与vim配置有关 0303 | ||
尽量不用tab 避免兼容性 0399 | ||
0399 | ||
0399 | ||
同一页码可以出现多次 0399 | ||
0304 | ||
0305 | ||
可以只有页码 0306 | ||
0311 | ||
0312 | ||
也可以跳页码 0318 | ||
跳过页码的将不会出现在导航条上 0330 | ||
可以用于跳过不想要的页面 0330 | ||
页码可以乱序 0302 | ||
但你很难找出哪些页面遗漏了 0355 | ||
相比之下不如SourceStyle2 0323 | ||
排列整齐 0358 | ||
排查容易 0365 | ||
但Style3肯定是支持的 0358 | ||
请放心使用 0366 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<h1>火星词典</h1> | ||
<br /> | ||
<p>这是看懂火星语必备的词典</p> | ||
<p>blabla</p> | ||
<br /> | ||
<p>Mdx created by VimVim 2020/08/12</p> | ||
<h1>火星词典</h1> | ||
<br /> | ||
<p>这是看懂火星语必备的词典</p> | ||
<p>blabla</p> | ||
<br /> | ||
<p>Mdx created by VimVim 2020/08/12</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
火星词典 37th | ||
火星词典 37th |