Added vim-r configs and changed .vimrc accordingly. Also modified the mapping for increasing window size so it works when it has only one line.