Movementsb previous wordw next worde end of word0/^ begining of line$ end of lineG end of file1G/gg begining of file/pattern search next?pattern search previousn repeat search forword ( i.e next occurence )N repeat search backword:line goto line specified *****Modes**** i insert mode r replace mode s delete character under cursor and eneter insert mode *****Delete****** … Continue reading Get hand over VI / VIM editor
Month: November 2009
Rspec Installation
Hello i am Amit K Kulkarni working as a QA Engineer in JoshSoftware Pvt Ltd.Few months back i started working on Rspec and it was really great to see such a nice anduser friendly language.Firstly let me start with what is RSPECRSpec is a behavior driven development framework for the Ruby programming language.Behavior Driven Development … Continue reading Rspec Installation
YAML file configuration in ruby & rails
While coding in ruby and rails, we often requires variables to be initialized that can be usedacross application. There are many ways to define configuration variables1. Initialize variables inside environment file # This agencies can be used across application AGENCIES = ['TIMES NEWS NETWORK', 'AGENCIES', 'AFP', 'PTI'] # Configuration for html nodes Article_title_tag = "h1.heading" … Continue reading YAML file configuration in ruby & rails
