Make j,k motion linewise
Added ~, g~ test cases