Slate 配置文件分享

Slate: 一个 MacOS 的快速分屏工具

https://github.com/jigish/slate

文件
~/.slate :

# Throw Bindings
bind 1:ctrl         chain throw 0 resize | throw 0 resize:screenSizeX/2;screenSizeY/2
bind 2:ctrl         chain throw 1 resize | throw 1 resize:screenSizeX/2;screenSizeY/2
bind 3:ctrl         chain throw 2 resize 

bind 4:ctrl         sequence throw 2 | push up   bar-resize:screenSizeY/2 
bind 5:ctrl         sequence throw 2 | push down bar-resize:screenSizeY/2 

bind 0:ctrl         sequence resize -50% -50% | nudge +25% +25%


# Push Bindings
bind right:ctrl;cmd  chain push right bar-resize:screenSizeX/2 | push right bar-resize:screenSizeX
bind left:ctrl;cmd   chain push left  bar-resize:screenSizeX/2 | push left  bar-resize:screenSizeX
bind up:ctrl;cmd     chain push up    bar-resize:screenSizeY/2 | push up    bar-resize:screenSizeY
bind down:ctrl;cmd   chain push down  bar-resize:screenSizeY/2 | push down  bar-resize:screenSizeY

VSCode 插件记录

在除了语言专用的插件 和 LanguageService 之外,还有很多非常方便的插件:

  1. file-size 在状态栏看到文件大小
  2. indent-rainbow 用不同的彩虹颜色来标记缩进
  3. TODO-Highlight 高亮指定的关键字 “ TODO / Console ”等,方便快速在源码中定位 TODO
  4. es6-string-* 在模版字符串中解析另一种语法,用于拼接一些其他语法的字符串,这是一类插件,包括这些:

    • es6-string-css
    • es6-string-html
    • es6-string-javascript
    • inline-sql
  5. Gitless 是 Gitlens 的 Fork 品,不含付费项目
  6. CodeGeeX 类似于 Github Copilot 的代码辅助工具,不聪明也不太蠢,至少免费