美化不记录了,官方文档详细的一批,但是着重推荐一个主题Material Theme!!!
这也太漂亮了兄弟集美们,都给我装!!
https://packagecontrol.io/packages/Material%20Theme
一些快捷键(自己复习用)
ctrl + tab:标签页切换
command + j:合并下一行
+ ] : 向右缩进
+ [
l:选择当前行
回车:相当于vim的o
shift + enter: vim + O
方向键:移动到最头
shift + 方向键:上述功能+选择
shift + p: reindent lines 调整缩紧
d:选中当前单词,一直按下去有奇效
/:增加或者取消注释
option + 方向键:按单词移动
绑定快捷键:打开命令面板,搜key bindings来绑定快捷键
一些包安装
AdvancedNewFile:新建文件利器,还有自动补全,我爱了 comman+option+n
syncedsidebar:打开一个文件,在侧边栏同步显示,太良心了
快速定位文件及其内容:
command + p
附加
":" : 定位到行号
@ : 定位到函数名
# : 查找字符串
查找功能:
command + f
替换:
command + option + f
文件跳回:
ctrl + -
自定义pwn-heap模版(爽)
<snippet>
<content><![CDATA[
from pwn import *
local = 1
binary = "${1}"
if local == 1:
p = process(binary)
else:
p = remote("${2}",${3})
def dbg():
context.log_level = 'debug'
context.terminal = ['tmux','splitw','-h']
def add(size,content):
p.sendlineafter('${4}','${5}'')
p.sendlineafter('${6}',str(size))
p.sendafter('${7}',content)
def show(index):
p.sendlineafter('${8}','${9}'')
p.sendlineafter('${10}',str(index))
def free(index):
p.sendlineafter('${11}','${12}'')
p.sendlineafter('${13}',str(index))
def edit(index,content):
p.sendlineafter('${14}','${15}'')
p.sendlineafter('${16}',str(index))
gdb.attach(p)
p.interactive()
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>pwn-heap</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.python</scope>
</snippet>