A native macOS PostgreSQL client with Vim mode and Nord theme support. Built with SwiftUI.
- Native macOS App: Built with SwiftUI for a seamless Mac experience
- Vim Mode: Full Vim keybindings in the query editor (toggle with Cmd+Shift+V)
- Nord Theme: Beautiful Nord color scheme included, with support for custom themes
- JSON Configuration: All settings stored in
~/.config/vimtico/config.json - SQL Syntax Highlighting: Keywords, strings, numbers, and comments are highlighted
- Connection Management: Save and manage multiple PostgreSQL connections
- Query History: Track your executed queries
brew install --cask mathieux51/tap/vimtico- Download the latest release from GitHub Releases
- Move
Vimtico.appto your Applications folder
Requirements:
- Xcode 15+
- macOS 14.0+
git clone https://github.com/mathieux51/vimtico.git
cd vimtico
open Vimtico.xcodeprojBuild with Xcode or from command line:
xcodebuild -project Vimtico.xcodeproj -scheme Vimtico -configuration ReleaseVimtico stores its configuration in ~/.config/vimtico/config.json. Here's an example configuration:
{
"theme": "Nord",
"vimMode": {
"enabled": true,
"relativeLineNumbers": false,
"cursorBlink": true
},
"editor": {
"fontSize": 14,
"fontFamily": "SF Mono",
"tabSize": 4,
"insertSpaces": true,
"wordWrap": true,
"showLineNumbers": true
}
}Light- System light themeDark- System dark themeNord- Nord dark theme (default)Nord Light- Nord light variant
You can define custom themes in your configuration:
{
"theme": "My Custom Theme",
"customThemes": [
{
"name": "My Custom Theme",
"backgroundColor": "#1a1b26",
"foregroundColor": "#c0caf5",
"keywordColor": "#bb9af7",
"stringColor": "#9ece6a",
"numberColor": "#ff9e64",
"commentColor": "#565f89"
}
]
}Vimtico includes a Vim emulation mode for the query editor. Toggle it with Cmd+Shift+V or enable it by default in settings.
Normal Mode:
h/j/k/l- Movementw/b- Word movement0/$- Line start/end^- First non-blankgg/G- Document start/endi/a/I/A- Enter insert modeo/O- Insert line below/abovedd- Delete lineyy- Yank linep- Pasteu- UndoCtrl+r- Redov/V- Visual mode
Visual Mode:
- Movement keys extend selection
d/x- Delete selectiony- Yank selection
Command Mode:
:- Enter command mode:{number}- Go to line
| Shortcut | Action |
|---|---|
Cmd+N |
New Connection |
Cmd+Return |
Execute Query |
Cmd+Shift+V |
Toggle Vim Mode |
Esc |
Return to Normal mode (Vim) |
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by Postico
- Nord Theme color palette
- PostgresNIO for PostgreSQL connectivity