atom日常使用

atom改键方案 :

'atom-text-editor': # 新建行 'shift-enter': 'editor:newline-below'# 上 下 左 右 'ctrl-n':'core:move-down' 'ctrl-p':'core:move-up' 'ctrl-f':'core:move-right' 'ctrl-b':'core:move-left' # 左 右一个单词 'ctrl-shift-b': 'editor:move-to-beginning-of-word' 'ctrl-shift-f': 'editor:move-to-end-of-word'# 复制当前行 / 选中行写 HTML 时常用 'ctrl-g': 'editor:duplicate-lines'# 移动行 'shift-ctrl-i': 'editor:move-line-up' 'shift-ctrl-k': 'editor:move-line-down'# 跳到行头&尾 'ctrl-e': 'editor:move-to-end-of-screen-line' 'ctrl-a': 'editor:move-to-first-character-of-line'# 删除一个单词 'ctrl-shift-h': 'editor:delete-to-beginning-of-word' 'ctrl-shift-d': 'editor:delete-to-end-of-word' #删除一个字母 'ctrl-h':'core:backspace' #'ctrl-d':'core:delete' #删除一列 'ctrl-u': 'editor:delete-to-beginning-of-line' 'ctrl-k': 'editor:delete-to-end-of-line''.platform-win32 atom-text-editor, .platform-linux atom-text-editor': # 查找 'ctrl-i': 'find-and-replace:show''atom-workspace atom-text-editor': # 全选 'alt-a':'core:select-all''body': # 新建文件 'alt-n':'application:new-file'

插件安装方式:
  • 直接在atom上安装
    编辑器内打开settings, 窗口打开后选择 install 目录,在右边可以搜索下载插件,如果没有代理,速度会很慢
  • 手动安装
    以minimap插件为例子
1 打开https://atom.io/packages ,搜索你的插件, 打开会显示如下图, 点击 箭头指向的Repo就会跳转到github界面

atom日常使用
文章图片
【atom日常使用】
2 直接点击Download ZIP 下载下来
atom日常使用
文章图片
3 把压缩文件解压到图片指向的目录里, 目录查看在atom的settings -> install 目录里查看
atom日常使用
文章图片
4 进入安装目录
C:\Users\admin\.atom\packages>cd minimap

5 安装插件
C:\Users\admin\.atom\packages\atom-script>npm install

如果安装过程中卡住,可能是网络问题 把npm install 换成
npm install --registry=http://registry.npm.taobao.org

插件收集:
- autoprefixerCSS3 自动补兼容前缀 的ATOM 插件 - minimap - Sublime Style Column Selection束行选择件插

    推荐阅读