diff --git a/.VimballRecord b/.VimballRecord deleted file mode 100644 index cb8c2a3e..00000000 --- a/.VimballRecord +++ /dev/null @@ -1,2 +0,0 @@ -markdown-1.2.2.vba: call delete('/home/ma6174/.vim/ftdetect/markdown.vim')|call delete('/home/ma6174/.vim/snippets/markdown.snippets')|call delete('/home/ma6174/.vim/syntax/markdown.vim') -mark.vba: call delete('/home/ma6174/.vim/autoload/mark.vim')|call delete('/home/ma6174/.vim/autoload/mark/palettes.vim')|call delete('/home/ma6174/.vim/plugin/mark.vim')|call delete('/home/ma6174/.vim/doc/mark.txt') diff --git a/.netrwhist b/.netrwhist deleted file mode 100644 index 0516837d..00000000 --- a/.netrwhist +++ /dev/null @@ -1,4 +0,0 @@ -let g:netrw_dirhistmax =10 -let g:netrw_dirhist_cnt =2 -let g:netrw_dirhist_1='/media/M_hM_=M_M_dM__M_6M_hM_5M__DM_fM__VM__Y/YUNIO/program/python/lovesnow-deepin-music-player-a9be3e0' -let g:netrw_dirhist_2='/media/M_hM_=M_M_dM__M_6M_hM_5M__DM_fM__VM__Y/YUNIO/program/python' diff --git a/LICENSE b/LICENSE deleted file mode 100755 index cc9c478e..00000000 --- a/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ - Copyright (C) 2011 by Robert Gleeson - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. - diff --git a/README.md.html b/README.md.html deleted file mode 100755 index 1eb84fc2..00000000 --- a/README.md.html +++ /dev/null @@ -1,31 +0,0 @@ -

- -

我的vim配置

- -

内容:

- - - -

2012年7月28日更新:

- -
    -
  1. 增加vimim输入法
  2. -
  3. 增加多个pyhon插件,目前支持编码检测,自动增加文件头,自动补全,错误检测,一键执行python脚本
  4. -
  5. 增加taglist
  6. -
  7. 增加文件目录列表
  8. -
  9. 增加日历功能
  10. -
  11. 精简了一些没用的.vimrc 配置
  12. -
- -

2012年8月4日更新:

- -
    -
  1. 增加markdown插件
  2. -
  3. 新建markdown文件自动添加表头"charset="utf-8"
  4. -
  5. 按 md 直接生成对应的html文件,如a.md将生成a.md.html
  6. -
  7. 按 fi 将在浏览器里面打开刚生成的页面进行预览
  8. -
diff --git a/Youdao.py b/Youdao.py deleted file mode 100644 index 4cf442cd..00000000 --- a/Youdao.py +++ /dev/null @@ -1,52 +0,0 @@ -#!/usr/bin/env python -#coding=utf-8 -import urllib -import json -#ret = '''{"translation":["苹果"],"basic":{"phonetic":"'æpl","explains":["n. 苹果;家伙"]},"query":"apple","errorCode":0,"web":[{"value":["苹果","苹果公司","苹果汁","美国苹果"],"key":"Apple"},{"value":["苹果电脑","苹果电脑公司","苹果计算机","苹果公司"],"key":"Apple Computer"},{"value":["苹果公司","苹果","果公司","苹果股份有限公司"],"key":"Apple Inc"},{"value":["大苹果","纽约","大苹果城","纽约的别称"],"key":"big apple"},{"value":["苹果皮"],"key":"apple skin"},{"value":["苹果馅饼","苹果饼","苹果排","苹果蛋糕"],"key":"apple tart"},{"value":["苹果日报","韩版恶作之吻造型曝光"],"key":"Apple Daily"},{"value":["垫脚箱","因在早期电影制作中"],"key":"APPLE BOXES"},{"value":["炸苹果饼"],"key":"apple fritter"},{"value":["查拉尔·阿佩尔","阿佩尔","由查拉尔阿"],"key":"Gerald Apple"}]}''' -def dealjson(ret): - ret = json.loads(ret) - error = ret['errorCode'] - print error - if error == 20: - print '要翻译的文本过长' - elif error == 30: - print '无法进行有效的翻译' - elif error == 40: - print '不支持的语言类型' - elif error == 50: - print '无效的key' - elif error == 0: - trans = ret['translation'] - for i in trans: - print i - print ret['query'] - if 'basic' in ret.keys(): - explain = ret['basic']['explains'] - for i in explain: - print i - web =ret['web'] - for i in web: - print i['key'], - for j in i['value']: - print j, - print - -def youdao(word): - word = urllib.quote(word) - print word - url = 'http://fanyi.youdao.com/openapi.do?keyfrom=ACM-OnlineJudge&key=2091830782&type=data&doctype=json&version=1.1&q='+word - ret = urllib.urlopen(url).read() - dealjson(ret) - - -if __name__=='__main__': - while True: - word = raw_input('input: ') - if word == '': - continue - word = urllib.quote(word) - print word - url = 'http://fanyi.youdao.com/openapi.do?keyfrom=ACM-OnlineJudge&key=2091830782&type=data&doctype=json&version=1.1&q='+word - ret = urllib.urlopen(url).read() - dealjson(ret) - diff --git a/readme.txt b/readme.txt deleted file mode 100644 index fe15da99..00000000 --- a/readme.txt +++ /dev/null @@ -1,76 +0,0 @@ -Vim plugins for Go (http://golang.org) -====================================== - -To use all the Vim plugins, add these lines to your vimrc. - - set rtp+=$GOROOT/misc/vim - filetype plugin indent on - syntax on - -If you want to select fewer plugins, use the instructions in the rest of -this file. - -Vim syntax highlighting ------------------------ - -To install automatic syntax highlighting for GO programs: - - 1. Copy or link the filetype detection script to the ftdetect directory - underneath your vim runtime directory (normally $HOME/.vim/ftdetect) - 2. Copy or link syntax/go.vim to the syntax directory underneath your vim - runtime directory (normally $HOME/.vim/syntax). Linking this file rather - than just copying it will ensure any changes are automatically reflected - in your syntax highlighting. - 3. Add the following line to your .vimrc file (normally $HOME/.vimrc): - - syntax on - -In a typical unix environment you might accomplish this using the following -commands: - - mkdir -p $HOME/.vim/ftdetect - mkdir -p $HOME/.vim/syntax - mkdir -p $HOME/.vim/autoload/go - ln -s $GOROOT/misc/vim/ftdetect/gofiletype.vim $HOME/.vim/ftdetect/ - ln -s $GOROOT/misc/vim/syntax/go.vim $HOME/.vim/syntax - ln -s $GOROOT/misc/vim/autoload/go/complete.vim $HOME/.vim/autoload/go - echo "syntax on" >> $HOME/.vimrc - - -Vim filetype plugins --------------------- - -To install one of the available filetype plugins: - - 1. Same as 1 above. - 2. Copy or link one or more plugins from ftplugin/go/*.vim to the - Go-specific ftplugin directory underneath your vim runtime directory - (normally $HOME/.vim/ftplugin/go/*.vim). - 3. Add the following line to your .vimrc file (normally $HOME/.vimrc): - - filetype plugin on - - -Vim indentation plugin ----------------------- - -To install automatic indentation: - - 1. Same as 1 above. - 2. Copy or link indent/go.vim to the indent directory underneath your vim - runtime directory (normally $HOME/.vim/indent). - 3. Add the following line to your .vimrc file (normally $HOME/.vimrc): - - filetype indent on - - -Godoc plugin ------------- - -To install godoc plugin: - - 1. Same as 1 above. - 2. Copy or link plugin/godoc.vim to $HOME/.vim/plugin/godoc, - syntax/godoc.vim to $HOME/.vim/syntax/godoc.vim, - ftplugin/go/godoc.vim to $HOME/.vim/ftplugin/go/godoc.vim. - and autoload/go/complete.vim to $HOME/.vim/autoload/go/complete.vim. diff --git a/wmgraphviz.vim.tgz b/wmgraphviz.vim.tgz deleted file mode 100644 index 203c3a11..00000000 Binary files a/wmgraphviz.vim.tgz and /dev/null differ