whereis vim
vim: /usr/bin/vim /usr/bin/vim.tiny /usr/bin/vim.basic /etc/vim /usr/share/vim /usr/share/man/man1/vim.1.gz
I ran this command: /usr/bin/vim /home/sherab/.mozilla/firefox/mwad0hks.default/itsalltext/tiddlywiki.com_.1w1x371h.txt
...and it exited with a status of 1.
You don't need vim installed if you go the CodeMirror route to get vim bindings
Ex commands like s/find/replace/g will work but you won't get full vim usage of your .vimrc
CodeMirror is still good though :-)
The standard ctrl-c and ctrl-[ binds to ESC switching normal and insert modes
Do this
Install the CodeMirror plugin from control panel > plugins tab > get more plugins button
Go to $:/plugins/TiddlyWiki/CodeMirror/usage
Which will tell you to make a config json tiddler called:
$:/config/CodeMirror
Set field type as application/json in the type field drop down
In the body of your $:/config/CodeMirror use the for example configuration in the $:/plugins/TiddlyWiki/CodeMirror/usage
Note it has vim and emacs key bindings to lessen flame wars ;-)
That's it
Open up a new tiddler in edit mode, you should see a blinking green cursor in normal mode vim
If you want to set what type of tiddler gets what kind of EditorType go to ControlPanel > Info > Advanced > EditorTypes to edit the Editor value to either text or CodeMirror
hth
Best,
tony