备份sublime text3个人配置的插件Sublimall(已经无效)

最近浏览v2ex网站发现了一款sublime text3的插件,名字叫sublimall,主要作用是备份sublime text3的个人配置.很适合我这样,经常折腾黑苹果,经常格式化硬盘的人.
sublimall的网站是https://sublimall.org

  • 点击绿色的sign up for free按钮,输入账号密码等信息后在自己邮箱里面收取验证邮件.
  • 在自己账号页面,左下角是email和API key信息
  • 通过package control安装sublimall插件.
  • sublimall会将配置和插件打包发送到这个网站上,用的压缩软件是7zip,因此需要安装7zip.

在终端输入:

brew install p7zip

安装完成后,再输入:

where is 7za

安装正常的话,会在终端显示:

/usr/local/bin/7za
  • 打开sublimall的setting-users
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
31
////////////////////////////
//// Sublimall settings ////
////////////////////////////
"api_root_url": "http://sublimall.org",
"api_upload_url": "/api/upload/",
"api_retrieve_url": "/api/retrieve/",
//上面几行不用管
///////////////////////
//// User settings ////
///////////////////////
"email": "roc100year@gmail.com",
//这里输入自己注册sublimall网站的邮箱
"api_key": "xxxxxxxxxxxxxxxxxxxx",
//这里输入网站账户页面左下角api key给的一串数字和字母
// Paths must be: "Packages/SublimeCodeIntel" or "Installed Packages/Sublimall"
"ignore_packages": [],
// Set true if you want to exclude packages managed by Package Control
"exclude_from_package_control": false,
// Set false if you don't want to encrypt your configuration
"encrypt": true,
// Upload timeout in seconds
"http_upload_timeout": 120,
// Download timeout in seconds
"http_download_timeout": 120,
// Path to 7zip executable, though Sublimall tries to find it out itself
"7za_path": "/usr/local/bin/7za",
//这里输入压缩软件所在的路径
// HTTP proxy to use for HTTP requests. Support for authentication
// Examples: http://user:password@host:port or http://ip:port
"http_proxy": ""
}
  • 打开preferences—package setting—sublimall—upload有一个压缩密码的空白行出现,输入压缩包的密码或者直接打回车.等待压缩和上传就好了.
  • sublimall—retrieve 是取回备份的个人配置.

几个新的好用的适合我的Sublime Text3插件

1: Anaconda

作用:

Anaconda把PyFlakes, pep8 和 McCabe以插件的方式集成起来,实现语法提示 pep8检查 自动完成等功能.安装Anaconda后,通过配置即可完成一个良好的Python开发环境。

主要的一个配置是:

忽略AutoFormat PEP8中E501(单行代码长度检查)的提示:
“pep8_ignore”:[“E501”]

下载地址和介绍:

anaconda

安装方法:

通过package control 来安装.

2: DashDoc

作用:

在sublime text中调用dash,直接查找python的关键字用法和参数等.

快捷键:

快捷键是 Ctrl + H,注意在Mac osX下面也是Ctrl不是command

下载地址和介绍:

DashDoc

安装方法:

主要是通过package control安装

3: ctags

作用:

实现函数的跳转,即在中型大型项目中迅速查找到某个函数的初始定义.

下载地址和介绍:

CTags

安装方法:

通过package control在sublime text中安装,还要通过brew install ctags安装到系统中.

一个安装和使用的百度经验:

Sublime Text2/3怎样在Mac OSX中配置CTags插件

sublime bakcup

setting-user

{
"caret_style": "wide",
"color_scheme": "Packages/User/Made of Code (SL).tmTheme",
"default_encoding": "UTF-8",
"draw_white_space": "all",
"font_face": "Source Code Pro",
"font_size": 16,
"ignored_packages":
[
    "Markdown",
    "Vintage"
],
"line_padding_bottom": 1,
"line_padding_top": 1,
"match_brackets": true,
"match_brackets_angle": true,
"match_brackets_braces": true,
"match_brackets_content": true,
"match_brackets_square": true,
"save_on_focus_lost": true,
"soda_classic_tabs": true,
"tab_size": 4,
"theme": "Soda Dark 3.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_automatic_white_space": true,
"trim_trailing_white_space_on_save": true
}

color_scheme:made of code

下载地址: https://github.com/kumarnitin/made-of-code-tmbundle/tree/master/Themes
如果下载失败可以新建一个文本文件,把代码拷贝保存到文本文件里面,然后改名成ade of Code.tmTheme

使用方法: 把下载到的Made of Code.tmTheme放到Sublime Text 2的安装目录下的Data\Packages\Color Scheme - Default文件夹,然后就可以在Preferences -> Color Scheme选择made of code。

theme

下载地址:http://buymeasoda.github.io/soda-theme/

git clone https://github.com/buymeasoda/soda-theme/ “Theme - Soda”

下载完成后,打开perferences—brow package,将Theme - Soda文件夹拷贝进入,
然后在setting-user设置文件中加入一行,
“theme”: “Soda Dark 3.sublime-theme”,
之后重启sublime text

折腾黑苹果

这几天折腾下来,终于把黑苹果安装成功了。真是累。

我原来对黑苹果毫无概念,不知道怎么想的,想安装一下试试。

机子配置:

CPU: INTEL E3 1230V2

主板:技嘉B75m-D3V

显卡:微星6850 hawk

安装步骤

先谷歌搜索“黑苹果”,根据第一个条目,点进威锋网,按照帖子教的步骤一步一步来,安装完成,启动时候始终菊花,死活进不去。只好再换一个帖子来,找了一个U盘安装的帖子,这次安装成功了,但是键盘几个键始终无效,比如空格键 退格键 tab键等,显卡也不成功。然后开始了,各种看帖子的节奏,远景论坛 威锋网等等。

最终安装了远景论坛ID为:七月流火的U盘版的黑苹果,基本上算完美了,安装后显卡自动驱动成功,用MultiBeast安装网卡和声卡驱动。网卡驱动安装完成重启后,在系统偏好里面的网络选择以太网,等自动配置ip成功后,点击应用。键盘问题因为NOPPOO跟MAC系统不兼容,改插PS/2接口候解决。

七月流火的帖子里面提供的是MAC 10.9.3版本,安装完成后,可以在appstore里面升级到最新的10.9.4

我习惯的软件:

浏览器:Chrome,mac系统里面chrome的手势插件跟右键冲突,所以在页面上经常使用右键选择或者拷贝的时候,最好把各种手势或者拖拽插件禁掉。

输入法:搜狗,很多人推荐百度,但是我输入的时候又个不好的习惯,经常把ang或者ing输入成agn或者ign,谷歌输入法或者搜狗输入法能自动辨识,百度输入法不可以,但是mac系统里面没有我win和安卓里面最习惯的谷歌输入法,我只好选择搜狗。

视频播放器:射手播放器1.18版

翻墙: GoaentX,根据网上教程一步步来即可,如果把MAC系统自带的python升级到 2.7.8可能导致翻墙失效。
用久之后发现ShadowsocksX在mac下面表现更好.

终端:安装的是oh-my-zsh,注意 自己改字体的时候,要勾选:平滑文本。然后安装iterm2

MAC下读写WIN系统的NFS分区:Texera NTFS for Mac

快速搜索NFS分区:Easyfind

RAR解压缩软件:The Unarchiver

笔记软件:Evernote

其他软件:Finder加强插件XtraFind,Alfred,Sublime Text 3,dash,微信MAC版,teamviewer,ParallelsDesktop, easyfind, airmail2等。