Inital commit add vimrc

This commit is contained in:
Alex Gebben 2024-08-24 18:27:18 -06:00
parent 3a23a78091
commit e61e58681f

25
.vimrc Normal file
View File

@ -0,0 +1,25 @@
"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>