Archive

Archive for January 13, 2012

vi

January 13, 2012 Leave a comment

1. Command

  • :n —> to the next edited file
  • :# —> to the alternate file
  • :n file1 —> new list
  • :r!cmd —> run a command and insert into current cursor
  • :e file2 —> go to file2
  • :e! —> reload the file
Categories: vi