class VimEdit
Public Instance Methods
execute!(file_line, pattern)
click to toggle source
# File lib/vim_edit.rb, line 2 def execute!(file_line, pattern) system "vim +#{file_line.line_number} #{file_line.path} -c '#{"/"+pattern}' -c 'normal n' -c 'normal N' -c 'normal zz'" end