(a play on the German word wunderbar) is an extension meant to bring vim-like functionality to Brackets.
All of the Vim keymapping is from CodeMirror's keymap/vim.js
.
- In the Brackets menu bar, choose File > Extension Manager... (or click on the "brick" icon in the sidebar to the right).
- Click the Available tab and search for Vimderbar. Click Install.
- Enable Vimderbar via the Brackets menu with View > Enable Vimderbar.
- Add custom keybindings in Brackets preferences with
vimderbar.extraKeys = keyMap
(http://codemirror.net/doc/manual.html#keymaps)- Function based bindings are not supported, as the preferences are in json.
- Default history is per-project, enable common history in Brackets preferences with
vimderbar.commonHistory = true
:vs
,:sp
and:on
hook Brackets split screen functionality.- Basic vim keybindings (
hjkl
,yy
,dd
,p
,P
,o
,O
,gg
,G
, etc). - Very basic
:
commands.:w
saves,:q
closes the document or the inline editor in focus, and:e
opens the "Navigate > Quick Open" menu. :bp
and:bn
implemented for open files, but Document order is different than what is shown in Working Files (uses)- Inline editor support,
Esc
closes inline editor when in Normal mode. - Use
:clearHistory
to reset current history.
- Command Mode doesn't support chained commands (no
:wq
). - Can't perform complex commands (like
:1,8d
).
See LICENSE.txt
- fix esc key handling code to work with Brackets 1.2 preview (Issue #36)
- reorganize modules and file tree
- refactor event handling and initialization
- fix deprecated event syntax
- removed some bad console output
- cleanup README
- changed Vimderbar enable command to 'view.enableVimderbar'
- cleaned up enable/disable logic and editor switching logic
- added css to override CodeMirror default colors
Please do, by all means, hack on this extension and send me PRs. For coding conventions, review the Brackets Coding Conventions.
Thanks!