Skip to content

Instantly share code, notes, and snippets.

@swr1bm86
Last active April 27, 2016 06:53
Show Gist options
  • Save swr1bm86/8f9f0bfc3cc828bc63d5 to your computer and use it in GitHub Desktop.
Save swr1bm86/8f9f0bfc3cc828bc63d5 to your computer and use it in GitHub Desktop.
cursive tips
在oracle的jdk上运行idea会出现一些问题 尤其是在使用cursive的时候 所以要装一下[jdkforosx](https://support.apple.com/kb/DL1572?locale=zh_CN)
然后IntelliJ IDEA->About IntelliJ IDEA.查看idea的运行时是不是用了这个jre如果是就不会有任何问题了
要对某一个自建的symbol设置缩进的时候可以按alt+enter
alt+上下方向键可以格式化选择代码来进行复制删除等操作 alt+左右方向键用来在一个form的左右括号之间来回移动光标
运行repl时需要先switch to current namespace然后再command+shift+l同步一下代码文件再command+shift+p执行某一个form
alt+cmd+left/right 用来跳转到最近光标所在的位置
Settings→Editor→General→Smart Keys→Use structural editing
alt+shift+mouse left click => multi cursor
cmd+shift+k cmd+shift+j paredit
cmd+shift+l sync namespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment