V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  wzwwzw  ›  全部回复第 1 页 / 共 13 页
回复总数  260
1  2  3  4  5  6  7  8  9  10 ... 13  
我都是全部隐藏,然后使用 contexts 管理已经开启的窗口 使用 raycast 启动新的窗口。
39 天前
回复了 omz 创建的主题 macOS Magic Trackpad 妙控板可以代替鼠标吗
长时间用触控板感觉还是蛮累的。
归来仍是 Chrome
都是用 Vim 布局。
67 天前
回复了 brucmao 创建的主题 macOS mac 有能反转 MX Master 3s 的左右滚动的软件吗
mos 试试 mos ,我现在已经卸载了罗技自己的软件。用 mos 。
71 天前
回复了 Youweiyoyoyo 创建的主题 程序员 现在还建议学 Python 么?
如果只是自己的需求的话,js 现在已经有很多框架做的很多了,从 api 服务 到 orm ,在 ts 的加持下也很舒服,除非一些特别的需求可以用 py ,比如要使用 pandas ,要写一些 AI 生态相关的服务。
我的解决办法是
每当我按下 esc 或者 ctrl +C 的时候,自动将输入法切换为英文
这里给出我的 mac karabiner 的 json

{
"description": "on escape press, send spacebar with control if not in english",
"manipulators": [
{
"conditions": [
{
"input_sources": [
{
"language": "en"
}
],
"type": "input_source_unless"
}
],
"from": {
"key_code": "escape",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "escape"
},
{
"key_code": "spacebar",
"modifiers": [
"left_control"
]
}
],
"type": "basic"
}
]
}

{
"description": "on <ctrl>-c press, send spacebar with control if not in english",
"manipulators": [
{
"conditions": [
{
"input_sources": [
{
"language": "en"
}
],
"type": "input_source_unless"
}
],
"from": {
"key_code": "c",
"modifiers": {
"mandatory": [
"left_control"
]
}
},
"to": [
{
"key_code": "escape"
},
{
"key_code": "spacebar",
"modifiers": [
"left_control"
]
}
],
"type": "basic"
}
]
}
80 天前
回复了 8eacekeep 创建的主题 macOS 分享点你 mac 必备的软件
@Wilbur4real 不是,raycast 也可以给某一个应用定义全局的快捷键,比如我的 option + 1-5 就是启动各种软件。
81 天前
回复了 8eacekeep 创建的主题 macOS 分享点你 mac 必备的软件
@Wilbur4real 这个应用使用 Raycast 则可以替代,我已经去掉了单独使用软件来启动应用。
要看插件的态度,不过 zed 官方说暂时不会对插件有太大的支持。
106 天前
回复了 lvxiaomao 创建的主题 浏览器 Arc、Chrome、Edge 浏览器你选择哪个?
已经从 Edge 换回 Chrome 了,还是喜欢简单的浏览器。
106 天前
回复了 xiongperry 创建的主题 问与答 除了 V2EX,上班时间划水的地方还有哪些
Hacker News
warp 看起里更像是你的选择。
130 天前
回复了 q534 创建的主题 macOS 为什么系统自带的中英切换总是不太灵敏?
@q534 Karabiner-Elements
我把我的配置给出来
{
"description": "Change CapsLock to Control+Space when pressed alone and to Control when pressed with other keys, with delay to prevent double press issue",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"parameters": {
"basic.to_if_alone_timeout_milliseconds": 250,
"basic.to_if_held_down_threshold_milliseconds": 250
},
"to": [
{
"key_code": "left_control"
}
],
"to_if_alone": [
{
"key_code": "spacebar",
"modifiers": [
"left_control"
]
}
],
"to_if_held_down": [
{
"key_code": "left_control"
}
],
"type": "basic"
}
]
}
130 天前
回复了 q534 创建的主题 macOS 为什么系统自带的中英切换总是不太灵敏?
@q534 是因为修改了默认输入法,mac 上的中文输入法太卡了。换成了搜狗输入法,导致无法直接用 capslock 修改输入法了,所以修改成这样子,还有一个原因是因为 control 用小指按很不舒服。
130 天前
回复了 q534 创建的主题 macOS 为什么系统自带的中英切换总是不太灵敏?
@wzwwzw 与其他的按键按下的时候 映射为 control + 其他按键,这是我想到最好的解决办法。
130 天前
回复了 q534 创建的主题 macOS 为什么系统自带的中英切换总是不太灵敏?
我已经把 mac os 的输入法换成了 control + 空格 然后把 capslock 单独按下的时候映射为 control + 空格
134 天前
回复了 zywscq 创建的主题 Python Python 如何实现单例模式
@julyclyde 可以这么理解,Python 的多线程是复杂的。
134 天前
回复了 zywscq 创建的主题 Python Python 如何实现单例模式
可以比一楼 在优雅一点,把放到 TLS 里面可以了。
```python
import threading

_tls - threading.local()

def get_singleton():

if not hasattr(_tls, 'single'):
_tls.single = Singleton()

return _tls.single
```
1  2  3  4  5  6  7  8  9  10 ... 13  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2409 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 37ms · UTC 03:56 · PVG 11:56 · LAX 20:56 · JFK 23:56
Developed with CodeLauncher
♥ Do have faith in what you're doing.