命令 | 说明 + 示例 | |
---|---|---|
ds | 删除括号 | |
例 | ds " |
"Hello world!" =>Hello world! |
cs | 替换括号 | |
例 | cs "( |
"Hello world!" =>(Hello world!) |
cS | 替换括号,括号内文本做新一行 | |
例 | cS "{ |
"Hello world!" => { Hello world! } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
send("#打卡"); | |
window.setInterval(function() { | |
var date = new Date(); | |
var hour = date.getHours(); | |
var min = date.getMinutes(); | |
var sec = date.getSeconds(); | |
// 随机点播电影 - -! | |
if (min % 2 == 0 && sec == 30) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sync Settings for Atom |
按键 | 说明 |
---|---|
F1 | 帮助 |
Enter | 进入该目录或读取该文件 |
Del | 删除的文件/目录 |
C-h | 输入关键字,隐藏文件名相关的文件 |
C-l | 刷新netrw目录列表 |
C-r | 使用gvim服务器浏览 |
C-tab | 缩小/扩大 窗口 |
- | 浏览上一级目录 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String.prototype.copyToClipboard = function() { | |
var textArea = document.createElement("textarea"); | |
textArea.value = this; | |
document.body.appendChild(textArea); | |
textArea.select(); | |
try { | |
var result = document.execCommand('copy'); | |
} catch (e) { | |
var result = false; | |
} |
NewerOlder