#Basic Stuff#
##Movements##
- Goto next word w
- Goto previous word b
- Select inner word viw
- Select the inner block - vi{
- Go to closing or opening tag - %
#Basic Stuff#
##Movements##
# Main sinatra app | |
require 'sinatra' | |
require 'activerecord' | |
require 'activesupport' | |
include ActionView::Helpers::DateHelper # add the required helpers here. | |
require 'controllers.rb' | |
# controllers.rb |
a=[10,20,30,40,50] | |
a.each_index {|i| if a[i] > 20 | |
return i | |
} |