Cmd+K改写幽灵补全内联AI编辑

Edit Documents with Cursor-Style AI

Stop switching between your document and a separate chat window. Kequan Office brings AI directly into your text, allowing you to rewrite, complete, and refine content using the same intuitive gestures you use in modern code editors.

The Power of Cmd+K Rewriting

The fastest way to improve your writing is to let AI handle the heavy lifting while you stay in control. In Kequan Office, you can use the Cmd+K (or Ctrl+K on Windows) shortcut to rewrite selected text instantly.

When you highlight a paragraph and press the shortcut, a small inline input appears. You can type a command like "make this more professional" or "shorten this." The AI generates the new text directly in place, allowing you to accept, reject, or tweak the result without breaking your concentration.

Ghost Completion for Speed</h2>

Sometimes you just need to keep typing. Kequan Office's Ghost Completion feature acts like a predictive text engine powered by local AI. As you type, faint gray text appears ahead of your cursor, suggesting the next logical phrase or sentence.

This isn't just simple auto-complete; it understands context. If you are writing a technical report, it suggests technical terminology. If you are drafting an email, it suggests polite closing phrases. Simply press the Tab key to accept the suggestion, or keep typing to ignore it.

Inline AI Editing in Action</h2>

Inline AI editing is designed to feel invisible until you need it. Unlike traditional AI tools that open a separate sidebar or modal, Kequan Office keeps the AI interaction within the document flow. This reduces cognitive load and helps you maintain your train of thought.

You can use inline commands to:

Local-First Privacy and Speed</h2>

Because Kequan Office is a local-first suite, these AI features run on your machine. This means your document data never leaves your computer, ensuring complete privacy for sensitive business or personal notes. Additionally, since the processing happens locally, the response time for ghost completions and Cmd+K rewrites is significantly faster than cloud-based alternatives, providing a fluid writing experience.

Customizing Your AI Assistant</h2>

Kequan Office allows you to tailor how the AI behaves. You can adjust the model's creativity level or set default instructions for your inline edits. For example, you can instruct the AI to always use British English or to avoid jargon in your specific project. These settings are saved locally, ensuring consistency across all your documents.

FAQ

Does the AI require an internet connection?

No. Kequan Office processes all AI tasks, including ghost completion and rewriting, locally on your device. This ensures privacy and works even in offline environments.

How do I accept a ghost completion?

When the gray suggestion text appears, simply press the <strong>Tab</strong> key. If you want to continue typing your own words, just press any other key to dismiss the suggestion.

Can I undo an AI rewrite?

Absolutely. If the AI generates text you don't like, you can immediately press <strong>Ctrl+Z</strong> (or <strong>Cmd+Z</strong> on Mac) to revert to the original text. You can also manually edit the AI's output before accepting it.

Is Cmd+K available on all platforms?

Yes, the Cmd+K (or Ctrl+K) shortcut is available on Windows, macOS, and Linux versions of Kequan Office.

Can I use this for code editing?

While Kequan Office is primarily an office suite, its inline editing engine is powerful enough to handle technical text. You can use it to explain code comments or format technical documentation effectively.

Download Docs

Related: Guides · Use cases · Compare · Docs