Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
AndrewRadev
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
AndrewRadev
14y ago
Well, in your case, you could put a definition for javascript. The built-in "ruby hash style" transformation should work for this: " in ftplugin/javascript.vim let b:switch_definitions = \ [ \ g:switch_builti
2.
▲
by
AndrewRadev
14y ago
I'm the plugin writer. The should/should_not dance is something I keep doing when I write tests. Say I create a user with certain properties and I assert something about them: create(:user, :active => true).should be_active Now
3.
▲
by
AndrewRadev
15y ago
I'm not really a Django user, but I was interested in the Vim section of the post. I work with Rails and my personal approach to setting framework-specific commands, mappings, etc. is by using the proj plugin: http://www.vim.org/scripts/sc