config_files/.vimrc

26 lines
645 B
VimL

"Turn on rainbow brackets for all file types
let g:rainbow_active = 1
let loaded_spellfile_plugin = 1
call plug#begin('~/.vim/plugged')
" Vim latex formating
Plug 'lervag/vimtex'
"Color codes brackets to see which one match
Plug 'frazrepo/vim-rainbow'
"Plugin for Git from vim
Plug 'tpope/vim-fugitive'
"Plugin for using R in vim"
Plug 'jalvesaq/Nvim-R'
"Plugin for colemak layout
call plug#end()
syntax on
"noremap n j
"noremap e k
"noremap i l
"noremap l i
"noremap k e
"noremap j n
nmap <M-Right> :vertical resize +1<CR>
nmap <M-Left> :vertical resize -1<CR>
nmap <M-Down> :resize +1<CR>
nmap <M-Up> :resize -1<CR>