summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc28
1 files changed, 14 insertions, 14 deletions
diff --git a/.vimrc b/.vimrc
index 16b436a..e5e638c 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,7 +1,7 @@
if has('python3')
silent! python3 1
endif
-" Plug Required Block and plugins
+"====== Plug Required Block and plugins
set nocompatible
filetype off
call plug#begin('~/.vim/bundle')
@@ -41,7 +41,7 @@ Plug 'prettier/vim-prettier', {
call plug#end()
syntax on
filetype plugin indent on
-" End of Plug Required Block and plugins
+"====== End of Plug Required Block and plugins
let mapleader = ';' " define map leader
colorscheme xoria256 "set colorscheme
@@ -109,7 +109,7 @@ endif
nmap <leader>w :w<cr>
nmap <leader>q :q<cr>
-" Use <C-L> to clear the highlighting of :set hlsearch.
+"Use <C-L> to clear the highlighting of :set hlsearch.
nnoremap <silent> <C-L> :nohlsearch<CR><C-L>
"toggle folding
@@ -131,11 +131,11 @@ nnoremap <silent> <leader>mj <C-W>J
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Omni complete functions
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-"set omnifunc=csscomplete#CompleteCSS
-"set omnifunc=htmlcomplete#CompleteTags
-"set omnifunc=phpcomplete#CompletePHP
-"set omnifunc=javascriptcomplete#CompleteJS
-set omnifunc=pythoncomplete#Complete
+" set omnifunc=csscomplete#CompleteCSS
+" set omnifunc=htmlcomplete#CompleteTags
+" set omnifunc=phpcomplete#CompletePHP
+" set omnifunc=javascriptcomplete#CompleteJS
+" set omnifunc=pythoncomplete#Complete
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Specific FileTypes configurations
@@ -143,7 +143,7 @@ set omnifunc=pythoncomplete#Complete
autocmd BufNewFile,BufRead *.html.erb set filetype=html " for ruby erb template files
autocmd BufNewFile,BufRead *.json.jbuilder set filetype=ruby " for ruby json template files
autocmd BufNewFile,BufRead,BufReadPost *.tsx set syntax=javascript " better tsx highlighting than polyglot defaults
-autocmd FileType markdown setlocal spell " spell check markdown files
+" autocmd FileType markdown setlocal spell " spell check markdown files
autocmd FileType gitcommit setlocal spell " spell check commits
autocmd FileType ruby setlocal nospell " disable spell checking for ruby documentation
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@@ -207,7 +207,7 @@ let g:airline_section_x=""
let g:airline_section_y=""
" let g:airline_section_gutter=""
-" extensions
+"extensions
let g:airline#extensions#branch#enabled = 1
let g:airline#extensions#whitespace#enabled = 0
let g:airline#extensions#tabline#enabled = 0
@@ -246,14 +246,14 @@ let g:vimrubocop_rubocop_cmd = 'bundle exec rubocop '
nmap <Leader>r :RuboCop<CR>
nmap <Leader>R :RuboCop -a<CR>
-"Limelight"
+"Limelight
"=========
nmap <leader>f :Limelight!!<cr>
-"Goyo"
-"=========
+"Goyo
+"====
" nmap <leader>g :Goyo<cr>
"Tagbar
-"=======
+"======
nmap <F8> :TagbarToggle<CR>