-
Notifications
You must be signed in to change notification settings - Fork 0
Home
José Cláudio Faria edited this page Sep 15, 2026
·
4 revisions
Welcome to the Vim-R wiki!
Vim-R improves Vim's and Neovim's support for editing R scripts. The plugin's
own manual is the reference: :help Vim-R, or
doc/Vim-R.txt.
This wiki holds recipes that do not belong in the manual — configurations that
depend on other plugins, on a shell, or on a particular way of working.
- Enable Vim-R for any file type — run R from buffers whose file type is not an R one.
- Folding setup — folding by syntax, and folding an R script by the levels of its note comments.
- Syntax highlight chunk header — highlight R Markdown and Quarto chunk headers as R code.
- Quit R automatically — quit R when leaving the editor, for R running in an external terminal emulator.
- Alias to automatically start R and, then, the Object Browser
Vim-R is maintained by jcfaria. It was written by Jakson Alves de Aquino, who also wrote most of the pages of this wiki. The content of this wiki is under the same licence as the plugin's documentation: GPL-2 or later. Users who work exclusively in Neovim are advised to consider R.nvim.