This inserts the contents of the file whose path is at the cursor position:
:r <cfile>
Related Contents:
- How do I exit Vim?
- What is Vim recording and how can it be disabled?
- Vim: insert the same characters across multiple lines
- How do I list loaded plugins in Vim?
- How to select between brackets (or quotes or …) in Vim?
- In Vim, I’d like to go back a word. The opposite of `w`
- Is there any way to view the currently mapped keys in Vim?
- In Vim, how do you search for a word boundary character, like the \b in regexp?
- How to add text at the end of each line in Vim?
- Yank entire file
- How can I use vim to convert my file to utf8?
- What are the most-used vim commands/keypresses?
- How can I open a Shell inside a Vim Window?
- How can I maximize a split window?
- How can I expand the full path of the current file to pass to a command in Vim?
- VIM + Syntastic: how to disable the checker?
- Vim Surround inserts extra space around the word
- How to copy selected lines to clipboard in vim
- Is there a vim command to move the cursor to the parent bracket?
- How to delete line(s) below current line in vim?
- Vim split line command [duplicate]
- Set MacVim default font
- Vim run autocmd on all filetypes EXCEPT
- How do you paste with vim without code being commented?
- Quickly switching buffers in Vim normal mode
- Is it possible to visualize the right margin in Vim?
- How do I yank all matching lines into one buffer?
- Vim command: how to select a word under cursor in normal mode
- Returning to previous line with Vim
- How to quickly remove a pair of parentheses, brackets, or braces in Vim?
- How to use NERD Commenter for vim — how to use key
- How do you select a whole column in visual block mode?
- How do you exit vimdiff mode in vim, specifically, for Fugitive?
- Fix Vim + Tmux yank/paste on unnamed register
- How to open a file in new tab by default in NERDTree?
- how to jump back to the previous edit place
- how to change editor behavior in intellij idea
- How can I setup my vim-airline or vim-powerline
- How to make NERDTree always open on the right side?
- Vim, reopen last closed window, that was in split
- how to add c++11 support to syntastic vim plugin?
- Vim: Recommendations for vimball plugins in pathogen
- VIM: How to pass arguments to functions from user commands?
- In vim, is there a plugin to use % to match the corresponding double quote (“)?
- Why do I need vim in binary mode for ‘noeol’ to work?
- Renaming a file in NERDTREE
- Unsaved buffer warning when switching files/buffers
- How can I make shift+spacebar page up in Vim?
- Is there a way to open multiple files at once from vim?
- Align text on an equals sign in vim