Basically, I need to indent a block of R code. Unfortunately, vim's tab size is bigger than the two spaces that I'm using. Is it possible to accomplish this without hitting the space bar twice for every line I need to indent?
The motivation for this may be of note: I originally wrote the script in Rstudio before moving it to a server. Many indents just go away when I edit the server-side file with vim. However, if I transfer the file to my laptop (via winSCP) and open it in rstudio, all the indents look perfect!