diff --git a/vim/read-in-the-contents-of-a-rails-file.md b/vim/read-in-the-contents-of-a-rails-file.md index de95cc1..d6c26c2 100644 --- a/vim/read-in-the-contents-of-a-rails-file.md +++ b/vim/read-in-the-contents-of-a-rails-file.md @@ -5,8 +5,8 @@ quickly navigate to specific types of files with the `E` prefix. For instance, `:Emodel` will scope you to just the models directory. You can use this same approach with the `D` prefix. Instead of navigating to -specified file though, this will read in the contents of that file into the -current buffer. +the specified file though, this will read in the contents of that file into +the current buffer. Do you need to copy and tweak the contents of a similar view? Open up your new view file (e.g. `:Eview posts/edit.html.erb`) and then enter `:Dview