Communitygithub.com

NeverSight/learn-skills.dev

Vim 键位绑定、移动、文本对象和操作符,用于高效文本编辑。当用户询问“vim 命令”、“vim 移动”、“文本对象”、“vim 键位绑定”、“vim 速查表”、“学习 vim”、“VS Code 中的 vim”或任何 Vim 编辑任务时使用。

learn-skills.dev 是什么?

此技能全面指导 Vim 编辑器的核心概念,包括模式、基本移动、操作符、文本对象、插入模式、可视模式、编辑命令、寄存器、宏、标记和基本命令。它适用于各种 AI 代理平台(例如 Claude Code、Cursor、Codex),用户可直接请求获取 Vim 相关帮助。通过解析自然语言查询(如“删除单词内部”、“跳转到第 5 行”),技能将其映射到对应的 Vim 操作,并可根据 prompt 中的上下文和指令详细解释或演示执行。技能内容基于结构化的 Vim 内建帮助体系,确保答案准确且切题,从而大幅提升用户在使用基于 Vim 的工具或集成 Vim 插件的编辑器(如 VS Code)时的编辑效率。

兼容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/NeverSight/learn-skills.dev/tree/HEAD/data/skills-md/1mangesh1/dev-skills-collection/vim-motions

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Vim 移动操作

用于高效编辑的移动、操作符和文本对象。

模式

普通模式    ESC 或 Ctrl-[    导航和操作
插入模式    i, a, o 等      输入文本
可视模式    v, V, Ctrl-v     选择文本
命令模式    :               执行命令

基本移动

字符/行

h j k l       左,下,上,右
0             行首
^             第一个非空白字符
$             行尾
g_            最后一个非空白字符

单词

w             下一个单词开头
W             下一个 WORD 开头(空格分隔)
b             上一个单词开头
B             上一个 WORD 开头
e             下一个单词结尾
E             下一个 WORD 结尾
ge            上一个单词结尾

行导航

gg            第一行
G             最后一行
5G            跳转到第 5 行
:42           跳转到第 42 行
H             屏幕顶部
M             屏幕中间
L             屏幕底部

搜索

f{char}       向前查找字符(在当前行)
F{char}       向后查找字符
t{char}       移动到字符前(向前)
T{char}       移动到字符后(向后)
;             重复上次 f/F/t/T
,             反向重复上次 f/F/t/T
/{pattern}    向前搜索
?{pattern}    向后搜索
n             下一个匹配
N             上一个匹配
*             搜索光标下的单词
#             向后搜索光标下的单词

滚动

Ctrl-d        向下滚动半页
Ctrl-u        向上滚动半页
Ctrl-f        向下滚动一页
Ctrl-b        向上滚动一页
zz            将当前行居中
zt            将当前行置于顶部
zb            将当前行置于底部

操作符

d             删除
c             更改(删除并进入插入模式)
y             复制
>             向右缩进
<             向左缩进
=             自动缩进
gu            小写
gU            大写
g~            切换大小写

操作符 + 移动 = 操作

dw            删除单词
d$            删除到行尾
d0            删除到行首
dG            删除到文件末尾
dgg           删除到文件开头
d3j           向下删除 3 行

cw            更改单词
ci"           更改引号内的内容
ca)           更改括号及括号内的内容

yy            复制行
yw            复制单词
y$            复制到行尾

>>            缩进行
3>>           缩进 3 行

文本对象

i = inner(内部)
a = around(包括分隔符)

iw / aw       单词
iW / aW       WORD
is / as       句子
ip / ap       段落
i" / a"       双引号
i' / a'       单引号
i` / a`       反引号
i( / a(       圆括号
i[ / a[       方括号
i{ / a{       花括号
i< / a<       尖括号
it / at       HTML/XML 标签

常用文本对象操作

diw           删除内部单词
ciw           更改内部单词
yi"           复制引号内的内容
da"           删除引号及引号内的内容
ci(           更改括号内的内容
dit           删除 HTML 标签内的内容
vit           选择 HTML 标签内的内容
yap           复制段落
>ip           缩进段落

进入插入模式

i             在光标前插入
I             在行首插入
a             在光标后追加
A             在行尾追加
o             在下方新建行
O             在上方新建行
s             删除字符并插入
S             删除行并插入
C             删除到行尾并插入

可视模式

v             字符可视模式
V             行可视模式
Ctrl-v        块(列)可视模式

# 在可视模式下:
o             跳转到选择的另一端
gv            重新选择上次选择

# 可视块操作
Ctrl-v → 选择 → I → 输入 → ESC    在所有行插入
Ctrl-v → 选择 → A → 输入 → ESC    在所有行追加
Ctrl-v → 选择 → c → 输入 → ESC    更改所有行
Ctrl-v → 选择 → d                  删除列

编辑命令

x             删除字符
X             删除光标前的字符
dd            删除行
D             删除到行尾
cc            更改行
C             更改到行尾
J             合并行
u             撤销
Ctrl-r        重做
.             重复上次命令
~             切换字符大小写

寄存器

"ay           复制到寄存器 'a'
"ap           从寄存器 'a' 粘贴
"+y           复制到系统剪贴板
"+p           从系统剪贴板粘贴
"0p           粘贴上次复制的内容(非删除)
:registers    显示所有寄存器

宏

qa            开始录制宏 'a'
q             停止录制
@a            播放宏 'a'
@@            重放上次宏
5@a           播放宏 'a' 5 次

标记

ma            设置标记 'a'
'a            跳转到标记 'a'(行)
`a            跳转到标记 'a'(精确位置)
''            跳转到上次位置
`.            跳转到上次编辑位置

基本命令

:w            保存
:q            退出
:wq           保存并退出
:q!           不保存退出
:e file       打开文件
:%s/old/new/g 全局替换
:s/old/new/g  替换当前行所有
:noh          清除搜索高亮

参考

快速参考卡片:references/cheatsheet.md

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

NeverSight/learn-skills.dev

Use when generating or modifying Remotion video code, creating demo videos, or working with the demo-video/ directory

NeverSight/learn-skills.dev

Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC dialogue. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human, ugc, ugc video, ugc ad, avatar ugc

NeverSight/learn-skills.dev

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awareness. Triggers: marketing video, ad video, promo video, commercial, brand video, product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video

NeverSight/learn-skills.dev

Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse

NeverSight/learn-skills.dev

ElevenLabs automatic dubbing - translate and dub audio/video into 29 languages while preserving speaker voice via inference.sh CLI. Capabilities: auto speaker detection, voice-preserving translation, video dubbing, audio localization. Use for: content localization, video translation, multilingual content, international distribution. Triggers: dubbing, dub video, translate audio, video translation, audio translation, localize content, elevenlabs dubbing, eleven labs dub, multilingual dub, voice translation, auto dub, language dub, content localization

NeverSight/learn-skills.dev

Explainer video production guide: scripting, voiceover, visuals, and assembly. Covers script formulas, pacing rules, scene planning, and multi-tool pipelines. Use for: product demos, how-it-works videos, onboarding videos, social explainers. Triggers: explainer video, how to make explainer, product video, demo video, video production, video script, animated explainer, product demo video, tutorial video, onboarding video, walkthrough video, video pipeline

NeverSight/learn-skills.dev

Still-to-video conversion guide: model selection, motion prompting, and camera movement. Covers Wan 2.5 i2v, Seedance, Fabric, Grok Video with when to use each. Use for: animating images, creating video from stills, adding motion, product animations. Triggers: image to video, i2v, animate image, still to video, add motion to image, image animation, photo to video, animate still, wan i2v, image2video, bring image to life, animate photo, motion from image

NeverSight/learn-skills.dev

Generate talking head avatar videos with Pruna P-Video-Avatar via inference.sh CLI. Turn a portrait image into a realistic speaking video with built-in TTS. 18x faster and 6x cheaper than competitors. Models: P-Video-Avatar, P-Image (for portrait generation). Capabilities: text-to-avatar, audio-driven avatars, 30 voices, 10 languages, 720p/1080p, built-in TTS, dynamic backgrounds, full-body control. Use for: AI presenters, product demos, explainer videos, virtual influencers, marketing, education, multilingual content, UGC, gaming avatars. Triggers: avatar video, talking head, ai avatar, p-video-avatar, pruna avatar, video avatar, ai presenter, digital human, virtual presenter, lipsync, talking avatar, ai spokesperson, heygen alternative, synthesia alternative, veed alternative, fabric alternative, omnihuman alternative

NeverSight/learn-skills.dev

Generate videos with Pruna P-Video and WAN models via inference.sh CLI. Models: P-Video, WAN-T2V, WAN-I2V. Capabilities: text-to-video, image-to-video, audio support, 720p/1080p, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna video, p-video, pruna ai video, fast video generation, optimized video, wan t2v, wan i2v, economic video generation, cheap video generation, pruna text to video, pruna image to video

NeverSight/learn-skills.dev

Render videos from React/Remotion component code via inference.sh. Pass TSX code, get MP4. Supports all Remotion APIs: useCurrentFrame, useVideoConfig, spring, interpolate, AbsoluteFill, Sequence. Configurable resolution, FPS, duration, codec. Use for: programmatic video generation, animated graphics, motion design, data-driven videos, React animations to video. Triggers: remotion, render video from code, tsx to video, react video, programmatic video, remotion render, code to video, animated video, motion graphics code, react animation video

NeverSight/learn-skills.dev

Video ad creation with exact platform-specific specs for TikTok, Instagram, YouTube, Facebook, LinkedIn. Covers dimensions, duration limits, AIDA framework, and caption requirements. Use for: video ads, social media ads, paid media creative, video marketing, ad production. Triggers: video ad, social media ad, tiktok ad, instagram ad, youtube ad, facebook ad, linkedin ad, video creative, ad specs, paid media, video marketing, ad production, reels ad, stories ad, pre roll, bumper ad

NeverSight/learn-skills.dev

Best practices and techniques for writing effective AI video generation prompts. Covers: Veo, Seedance, Wan, Grok, Kling, Runway, Pika, Sora prompting strategies. Learn: shot types, camera movements, lighting, pacing, style keywords, negative prompts. Use for: improving video quality, getting consistent results, professional video prompts. Triggers: video prompt, how to prompt video, veo prompts, video generation tips, better ai video, video prompt engineering, video prompt guide, video prompt template, ai video tips, video prompt best practices, video prompt examples, cinematography prompts

NeverSight/learn-skills.dev

YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A/B testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image

NeverSight/learn-skills.dev

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

NeverSight/learn-skills.dev

Configure and use the hosted YouTube Data MCP end-to-end with minimal user input. Use when users want the agent to verify Node.js and `npx`, configure MCP server config (Windows/macOS, Cursor/Codex/OpenClaw/OpenCode), request API key at setup time, run post-install capability discovery (`tools/list` and `get_patch_notes`), and then strongly recommend helper skill and Python setup for full local document and spreadsheet workflows.

NeverSight/learn-skills.dev

Creates 120fps GPU-accelerated animations with Motion.dev (Framer Motion successor) for React, Next.js, Svelte, and Astro projects. Use when user requests animation, motion, scroll effects, parallax, hero animations, gestures, drag interactions, spring physics, whileHover effects, whileInView animations, animated UI, micro-interactions, page transitions, or layout animations. Generates production TypeScript/JSX code with accessibility (prefers-reduced-motion) and performance validation (≥60fps). Supports entrance animations, gesture interactions (hover/tap/drag), scroll-based reveals, and layout transitions using spring physics and natural timing. Do NOT use for CSS-only transitions (use native CSS), static sites without JavaScript, Vue animations (use motion-v variant instead), or SVG/Canvas complex animations (GSAP better suited).

NeverSight/learn-skills.dev

Static artifact craft skill for self-contained HTML/CSS/JS documents: docs, sheets, dashboards, explainers, slides, tools, and landing pages. Use when the user asks for a durable, openable, shareable web deliverable they'll keep or hand off — a report, a dashboard, a slide deck, a data table, a page. Local folder first, temporary public link via tunnel (localhost.run), optional durable publish to Surge, GitHub Pages, or Cloudflare. Not for quick look renders, inline snippets, or throwaway scratch. Not for SPA frameworks, backend APIs, database apps, or production product UI.

NeverSight/learn-skills.dev

FFmpeg commands for video/audio conversion, trimming, compression, and processing. Use when user mentions "ffmpeg", "convert video", "compress video", "extract audio", "trim video", "gif from video", "video codec", "transcode", "screen recording", "merge videos", "video to mp4", "reduce file size", or any media processing task.

NeverSight/learn-skills.dev

Download YouTube videos, extract/proofread/translate subtitles, and render them onto video. Use whenever the user asks to download a YouTube video with subtitles, translate video subtitles to Chinese, add subtitles/burn subtitles to a video, or do ASR transcription on video audio. Covers the full pipeline: video download → subtitle extraction → proofreading → translation → SRT generation → subtitle rendering. Also use for "下载视频加字幕", "视频翻译字幕", "把字幕烧录到视频中". For pure subtitle file creation without rendering (just SRT output), this skill handles that too — stop before Phase 5.

NeverSight/learn-skills.dev

Grok Build ONLY. Turn a 2D character still into smooth animation sprites via image_gen/image_edit base → image_to_video (6s/10s run-in-place) → ffmpeg frames → magenta chroma-key → dense sampled sprites (strip/grid/GIF). Use when the user wants video-to-sprite, motion capture from generated video, smoother run/walk cycles from dense frames, or runs /video2dsprite. Do NOT use on Codex/Claude — only Grok Build has image_to_video. Prefer generate2dsprite for crisp pixel sheets without video.

相关技能