Started adding Rainbow Parens (not working)
This commit is contained in:
parent
f4e550580f
commit
ec5eb5327e
24
vim/vimrc
24
vim/vimrc
@ -3,16 +3,16 @@ if has('conceal')
|
|||||||
endif
|
endif
|
||||||
nnoremap <Leader>autoformat! :%s/, /,<CR>:%s/ \/ /\/<CR>:%s/ {/{<CR>:%s/} /}<CR>:%s/ = /=
|
nnoremap <Leader>autoformat! :%s/, /,<CR>:%s/ \/ /\/<CR>:%s/ {/{<CR>:%s/} /}<CR>:%s/ = /=
|
||||||
command! WW %!sudo tee > /dev/null %
|
command! WW %!sudo tee > /dev/null %
|
||||||
au VimResized * exe "normal! \<c-w>="
|
"TODO: Fix this
|
||||||
au BufRead,BufNewFile *.twig set filetype=htmljinja
|
"let g:rbpt_loadcmd_toggle = 1
|
||||||
au FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
"autocmd BufRead,BufNewFile * RainbowParenthesesActivate
|
||||||
au FileType * :hi IndentGuidesOdd guibg=red ctermbg=239
|
""autocmd BufRead,BufNewFile * RainbowParenthesesToggle
|
||||||
au FileType * :hi IndentGuidesEven guibg=white ctermbg=239
|
""autocmd BufRead,BufNewFile * RainbowParenthesesLoadBraces
|
||||||
au FileType css setlocal omnifunc=csscomplete#CompleteCSS
|
"autocmd BufRead,BufNewFile * RainbowParenthesesLoadRound
|
||||||
au FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags
|
"autocmd BufRead,BufNewFile * RainbowParenthesesLoadSquare
|
||||||
au FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS
|
"autocmd BufRead,BufNewFile * RainbowParenthesesLoadChevrons
|
||||||
au FileType python setlocal omnifunc=pythoncomplete#Complete
|
|
||||||
au FileType xml setlocal omnifunc=xmlcomplete#CompleteTags
|
|
||||||
"match Error /\s\+$/
|
"match Error /\s\+$/
|
||||||
"nnoremap s xa
|
"nnoremap s xa
|
||||||
"nnoremap <F5> :UndotreeToggle<CR>
|
"nnoremap <F5> :UndotreeToggle<CR>
|
||||||
@ -334,7 +334,9 @@ Plug 'vim-scripts/SyntaxRange'
|
|||||||
Plug 'PotatoesMaster/i3-vim-syntax'
|
Plug 'PotatoesMaster/i3-vim-syntax'
|
||||||
"i3 syntax | https://github.com/PotatoesMaster/i3-vim-syntax
|
"i3 syntax | https://github.com/PotatoesMaster/i3-vim-syntax
|
||||||
Plug 'https://github.com/fatih/vim-go'
|
Plug 'https://github.com/fatih/vim-go'
|
||||||
" | https://github.com/fatih/vim-go
|
"go syntax | https://github.com/fatih/vim-go
|
||||||
|
Plug 'https://github.com/kien/rainbow_parentheses.vim'
|
||||||
|
"Colored parenthesis | https://github.com/kien/rainbow_parentheses.vim
|
||||||
call plug#end()
|
call plug#end()
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
if exists("+undofile")
|
if exists("+undofile")
|
||||||
|
Loading…
Reference in New Issue
Block a user