MC

mzlogin/config-files

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

23 stars 质量 65 趋势 14MIT

家庭菜单中的配置文件

概览

1. 通过vim-plug为Mac OS X/Windows设置Vim配置。 3. STL 标签文件从 http://www.vim.org/scripts/script.php?script_id=2358. 生成 5. 个人使用的 CLAUDE.md 和技能,适用于GitHub Copilot和Claude Code。 - https://code.visualstudio.com/docs/copilot/customization/custom-instructions#_use-a-claudemd-file - https://code.visualstudio.com/docs/agent-customization/agent-skills - https://github.com/multica-ai/andrej-karpathy-skills - https://github.com/mattpocock/skills/blob/main/skills/productivity/grill-me/SKILL.md 下面的快速入门只是供自己使用,我不保证它在你的环境中一定能很好地使用。 * 安装 cscope、universal-ctags 和 ripgrep 如果你想查看代码,可能需要支持cscope和ctags,所以可以安装它。 为了更好的 C++ 编码体验,可以把 crttags 和 win32tags 生成到 ~/tags-files dir。

概述(AI 翻译)

以下包含配置文件。

  1. 通过vim-plug为Mac OS X/Windows设置Vim配置。

  2. STL 视角支持 gdb。

  3. STL 标签文件从 生成。

  4. Windows版Emacs配置。

  5. 个人使用的 CLAUDE.md 和技能,适用于GitHub Copilot和Claude Code。

下面的快速入门只是供自己使用,我不保证它在你的环境中一定能很好地使用。

目录

  • 快速启动
  • Mac OS X
  • Vim
  • Emacs
  • 噗
  • 窗户
  • Vim
  • Emacs
  • 其他常见要求
  • 阿斯基多克

快速启动

Mac OS X

维姆

  • 设置vim-plug:

  • 安装 cscope、universal-ctags 和 ripgrep

如果你想查看代码,可能需要支持cscope和ctags,所以可以安装它。

  • 生成标签文件(可选)

为了更好的 C++ 编码体验,可以把 crttags 和 win32tags 生成到 ~/tags-files dir。

  • 拉取配置文件:

  • 安装插件

启动vim,执行:PlugInstall

  • 完成!

埃马克斯

  • 安装最新版本的GNU Emacs、全球和SBCL

  • 创建文件 /usr/bin/sbcl 并将其内容更改为

  • 将 C++ 头部复制到 ~/.emacs.d/cpp-headers

  • 在 Emacs 中使用 elpa 安装以下插件:

  • 公司

  • ggtags

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

config-files

Contains config files below.

  1. Vim config for Mac OS X/Windows via vim-plug.

  2. STL views support for gdb.

  3. STL tags file generate from .

  4. Emacs config for Windows.

  5. CLAUDE.md and skills for peronal use, valid for GitHub Copilot and Claude Code.

The Quick Start below is just for self use, I don’t promise it will work well in your environment.

Table of Contents

Quick Start

Mac OS X

Vim

  • Set up vim-plug:

    curl -fLo ~/vimfiles/autoload/plug.vim --create-dirs https://cdn.jsdelivr.net/gh/junegunn/vim-plug/plug.vim
    
  • install cscope, universal-ctags and ripgrep

    If you want to view code, you may need cscope and ctags support, so install it.

    brew install cscope
    brew install --HEAD universal-ctags/universal-ctags/universal-ctags
    brew install ripgrep
    brew install yarn
    
  • generate tags files (optional)

    For better c++ coding experience, generate your crttags and win32tags into ~/tags-files dir.

  • pull config files:

    cd ~
    git init
    git remote add origin https://github.com/mzlogin/config-files.git
    git pull origin main
    
  • Install plugins

    Start vim, and exec :PlugInstall

  • Done!

Emacs

  • install the newest version of GNU Emacs, global and sbcl

    brew install emacs
    brew install global
    brew install sbcl
    
  • create file /usr/bin/sbcl and change its content to

    #!/bin/sh
    exec /usr/local/bin/sbcl "$@"
    
  • copy c++ headers into ~/.emacs.d/cpp-headers

  • use elpa in Emacs to install plugins below:

    • company

    • ggtags

    • helm-gtags

    • markdown-mode

    • projectile

    • sr-speedbar

    • smex

    • evil

    • jedi

      • pip install virtualenv
      • M-x package-install jedi
      • M-x package-install exec-path-from-shell
      • restart emacs
      • M-x exec-path-from-shell-initialize
      • M-x jedi:install-server
    • evil-nerd-commenter

    • function-args

    • slime

    • slime-company

    • smooth-scrolling

    For example to install ggtags:

    M-x package-install 
    ggtags 
    

zsh

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add mzlogin/config-files
新手?先看 mcpskill.org 教程 →