https://github.com/iHongRen/configEditor
A macOS config file manager that lets you quickly view, edit, and manage configuration files on your computer (such as `.zshrc`, `.gitconfig`, etc.). macOS 配置文件管理工具,快速查看、编辑和管理电脑上的各种配置文件
https://github.com/iHongRen/configEditor
config editor macos
Last synced: about 2 months ago
JSON representation
A macOS config file manager that lets you quickly view, edit, and manage configuration files on your computer (such as `.zshrc`, `.gitconfig`, etc.). macOS 配置文件管理工具,快速查看、编辑和管理电脑上的各种配置文件
- Host: GitHub
- URL: https://github.com/iHongRen/configEditor
- Owner: iHongRen
- License: apache-2.0
- Created: 2025-05-19T01:46:30.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-02-14T03:26:14.000Z (2 months ago)
- Last Synced: 2026-03-05T10:59:24.108Z (about 2 months ago)
- Topics: config, editor, macos
- Language: Swift
- Homepage:
- Size: 1.77 MB
- Stars: 187
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- fucking-awesome-mac - Configs - 구성 파일을 빠르게 보기, 편집 및 관리하는 구성 파일 관리기. [![Open-Source Software][OSS Icon]](https://github.com/iHongRen/configEditor) ![Freeware][Freeware Icon] (개발 도구 / 개발자 유틸리티)
- awesome-mac - Configs - 구성 파일을 빠르게 보기, 편집 및 관리하는 구성 파일 관리기. [![Open-Source Software][OSS Icon]](https://github.com/iHongRen/configEditor) ![Freeware][Freeware Icon] (개발 도구 / 개발자 유틸리티)
README
# Configs
[English README](./README_en.md)
一款 **macOS** 配置文件管理工具,快速查看、编辑和管理电脑上的各种配置文件(如 `.zshrc`、`.gitconfig` 等)。采用 SwiftUI 开发。
## 截图



## 功能
- **自动扫描**:自动发现常见的配置文件(`.zshrc`、`.bashrc`、`.gitconfig`、`.vimrc` 等)
- **即时生效**:编辑 `.zshrc` 等 shell 配置文件后,保存时自动执行 `source` 命令,改动立即生效
- **版本管理**:基于 Git 自动记录每次编辑,支持查看历史、对比差异、一键恢复
- **分类管理**:可以添加自定义文件、置顶常用配置、打标签分组
- **代码编辑器**:多种文件类型的语法高亮,支持搜索、缩放、黑暗模式
- **快捷菜单**:右键文件可以快速操作(在 Finder、Terminal、VSCode 中打开等)
- **彩色标签**:为配置文件添加短文本彩色标签,便于分组识别
### 快捷键
- `Cmd + F`:搜索
- `Cmd + S`:保存
- `Cmd + /`:注释切换
- `Cmd + =` / `Cmd + -`:缩放
- `Cmd + 0`:重置缩放
- `Esc`:关闭搜索
## 安装
### 编译安装
需要安装 Xcode,然后:
```bash
git clone https://github.com/iHongRen/configEditor.git
cd configEditor/Configs
# 在 Xcode 中打开 Configs.xcodeproj,选择 "My Mac" 作为目标,点击 Build (⌘B)
```
编译完成后,在 Xcode 的 Products 文件夹中找到 `Configs.app`。
### 直接安装
从 [Release 页面](https://github.com/iHongRen/configEditor/releases) 下载 `Configs.dmg`,双击打开后:
1. 将 `Configs.app` 拖到 `/Applications` 文件夹
2. 打开终端,运行以下命令:
```bash
chmod +x /Applications/Configs.app/Contents/MacOS/Configs
xattr -d com.apple.quarantine /Applications/Configs.app
```
3. 现在可以从应用程序文件夹或 Launchpad 打开 `Configs.app`