V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  wzwwzw  ›  全部回复第 1 页 / 共 13 页
回复总数  257
1  2  3  4  5  6  7  8  9  10 ... 13  
都是用 Vim 布局。
16 天前
回复了 brucmao 创建的主题 macOS mac 有能反转 MX Master 3s 的左右滚动的软件吗
mos 试试 mos ,我现在已经卸载了罗技自己的软件。用 mos 。
21 天前
回复了 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"
}
]
}
30 天前
回复了 8eacekeep 创建的主题 macOS 分享点你 mac 必备的软件
@Wilbur4real 不是,raycast 也可以给某一个应用定义全局的快捷键,比如我的 option + 1-5 就是启动各种软件。
30 天前
回复了 8eacekeep 创建的主题 macOS 分享点你 mac 必备的软件
@Wilbur4real 这个应用使用 Raycast 则可以替代,我已经去掉了单独使用软件来启动应用。
要看插件的态度,不过 zed 官方说暂时不会对插件有太大的支持。
55 天前
回复了 lvxiaomao 创建的主题 浏览器 Arc、Chrome、Edge 浏览器你选择哪个?
已经从 Edge 换回 Chrome 了,还是喜欢简单的浏览器。
Hacker News
warp 看起里更像是你的选择。
79 天前
回复了 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"
}
]
}
79 天前
回复了 q534 创建的主题 macOS 为什么系统自带的中英切换总是不太灵敏?
@q534 是因为修改了默认输入法,mac 上的中文输入法太卡了。换成了搜狗输入法,导致无法直接用 capslock 修改输入法了,所以修改成这样子,还有一个原因是因为 control 用小指按很不舒服。
79 天前
回复了 q534 创建的主题 macOS 为什么系统自带的中英切换总是不太灵敏?
@wzwwzw 与其他的按键按下的时候 映射为 control + 其他按键,这是我想到最好的解决办法。
79 天前
回复了 q534 创建的主题 macOS 为什么系统自带的中英切换总是不太灵敏?
我已经把 mac os 的输入法换成了 control + 空格 然后把 capslock 单独按下的时候映射为 control + 空格
84 天前
回复了 zywscq 创建的主题 Python Python 如何实现单例模式
@julyclyde 可以这么理解,Python 的多线程是复杂的。
84 天前
回复了 zywscq 创建的主题 Python Python 如何实现单例模式
可以比一楼 在优雅一点,把放到 TLS 里面可以了。
```python
import threading

_tls - threading.local()

def get_singleton():

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

return _tls.single
```
86 天前
回复了 Int100 创建的主题 git 好用的 git 工具
fork 但是基本用的最多的还是 idea 系列自带的
92 天前
回复了 NoraProgrmming 创建的主题 Apple 蓝牙鼠标在 macbook 上怪怪的 怎么解决
使用 MOS 试试?蓝牙鼠标也是很怪,使用 2.4G 会好很多
iPhone 备忘录
定期整理到 obsidian
1  2  3  4  5  6  7  8  9  10 ... 13  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2009 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 36ms · UTC 16:19 · PVG 00:19 · LAX 09:19 · JFK 12:19
Developed with CodeLauncher
♥ Do have faith in what you're doing.