Vimdiff
Diff tool built into Vim editor. Side-by-side comparison with direct editing in diff mode.
オープンソースコマンドライン
Windows, macOS, Linux⭐⭐Free (Charityware)
説明
Vimdiff is a diff mode built into the Vim text editor. It opens multiple files in split windows for side-by-side comparison, highlighting the differences. For Vim users, it's a powerful tool that combines diff viewing with Vim's editing capabilities.
主な機能
- Built into Vim, no additional installation needed
- Side-by-side comparison in split windows
- Syntax highlighting for many languages
- Direct editing in diff mode
- Fully customizable with Vim commands
- Diff update in real-time
- Jump between differences with shortcuts
- Obtain/put changes between buffers
インストール
# Usually pre-installed on Linux/macOS
# Install Vim if not present
# Ubuntu/Debian
sudo apt install vim
# macOS
brew install vim
# Windows
# Download from https://www.vim.org/download.php使用方法
# Compare two files
vimdiff file1.txt file2.txt
# Compare three files
vimdiff file1.txt file2.txt file3.txt
# Key shortcuts in diff mode:
# ]c - jump to next difference
# [c - jump to previous difference
# do - diff obtain (get from other window)
# dp - diff put (send to other window)長所
- +No additional installation for Vim users
- +Powerful editing while comparing
- +Highly customizable
- +Very fast and lightweight
- +Available everywhere Vim is
短所
- -Requires Vim knowledge
- -No GUI, steep learning curve
- -Limited to text files
- -No directory comparison
クイック情報
- タイプ
- オープンソース
- プラットフォーム
- Windows, macOS, Linux
- 価格
- Free (Charityware)
- カテゴリ
- コマンドライン
- 人気
- ⭐⭐
代替案
- Meld
- Delta
- GNU Diffutils
関連ツール
diff-so-fancy
Good-lookin' diffs. A tool that makes your diffs human-readable instead of machine-readable.
Meld
Visual diff and merge tool for developers. Compare files, directories, and version controlled projects.
KDiff3
Free diff and merge program for comparing or merging two or three files/directories.
WinMerge
Open Source differencing and merging tool for Windows. Compare folders and files visually.