[vim/vim] ccline — AI at your shell prompt for Vim users (Discussion #20470)

3 views
Skip to first unread message

Jian Shuo Wang

unread,
9:06 AM (3 hours ago) 9:06 AM
to vim/vim, Subscribed

Hey Vim community!

Vim users know their way around a terminal. ccline adds one more power to that terminal: AI answers at the shell prompt.

$ run vim in read-only mode
→ Use -R flag:
  vim -R filename.txt

$ diff two files in vim
→ Use vimdiff:
  vimdiff file1.txt file2.txt

$ convert file to unix line endings from terminal
→ Use dos2unix or vim:
  dos2unix filename.txt
  # or: vim -c 'set ff=unix' -c 'wq' filename.txt

Commands found — ↑/↓ to choose:
❯ vimdiff file1.txt file2.txt
  ✗ Cancel

ccline hooks into command_not_found_handler — type questions at the prompt, get AI answers. No mnemonic required.

Uses claude CLI or codex CLI. macOS + Linux.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/repo-discussions/20470@github.com>

Reply all
Reply to author
Forward
0 new messages