mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2025-01-07 10:27:34 +00:00
Add a few more plugins and hey maps
Also adding HTML5 syntax
This commit is contained in:
parent
a5e6bad2d0
commit
8d8e5d85f4
23
vim/dot_vim/after/syntax/html.vim
Normal file
23
vim/dot_vim/after/syntax/html.vim
Normal file
@ -0,0 +1,23 @@
|
||||
" Vim syntax file
|
||||
" Language: HTML (version 5)
|
||||
" Maintainer: Rodrigo Machado <rcmachado@gmail.com>
|
||||
" URL: http://rm.blog.br/vim/syntax/html.vim
|
||||
" Last Change: 2009 Aug 19
|
||||
" License: Public domain
|
||||
" (but let me know if you liked it :) )
|
||||
"
|
||||
" Note: This file just adds the new tags from HTML 5
|
||||
" and don't replace default html.vim syntax file
|
||||
|
||||
" HTML 5 tags
|
||||
syn keyword htmlTagName contained article aside audio bb canvas command datagrid
|
||||
syn keyword htmlTagName contained datalist details dialog embed figure footer
|
||||
syn keyword htmlTagName contained header hgroup keygen mark meter nav output
|
||||
syn keyword htmlTagName contained progress time ruby rt rp section time video
|
||||
|
||||
" HTML 5 arguments
|
||||
syn keyword htmlArg contained autofocus placeholder min max step
|
||||
syn keyword htmlArg contained contenteditable contextmenu draggable hidden item
|
||||
syn keyword htmlArg contained itemprop list subject spellcheck
|
||||
" this doesn't work because default syntax file alredy define a 'data' attribute
|
||||
syn match htmlArg "\<\(data-[\-a-zA-Z0-9_]\+\)=" contained
|
@ -27,6 +27,12 @@ Bundle 'mutewinter/LustyJuggler'
|
||||
|
||||
" -- Nav in file --
|
||||
Bundle 'taglist.vim'
|
||||
" Syntax checking
|
||||
Bundle 'scrooloose/syntastic'
|
||||
" Project Searching
|
||||
Bundle 'mileszs/ack.vim'
|
||||
" Easy Toggle of QuickFix window
|
||||
Bundle 'sunaku/QFixToggle'
|
||||
|
||||
" -- Text Manipulation --
|
||||
Bundle 'tomtom/tcomment_vim'
|
||||
@ -236,3 +242,13 @@ nnoremap <leader>gs :Gstatus<CR>
|
||||
nnoremap <leader>gc :Gcommit<CR>
|
||||
nnoremap <leader>gb :Gblame<CR>
|
||||
|
||||
" Bind Make to F5 like other IDEs
|
||||
nnoremap <F5> :make<CR>
|
||||
|
||||
" Toggle QuickFix window
|
||||
nnoremap <silent> <F6> :QFix<CR>
|
||||
|
||||
nmap <leader>a :Ack<Space>
|
||||
nmap <leader>* :Ack<Space><c-r><c-W><CR>
|
||||
"nnoremap ** :Ack<Space><c-r><c-W><CR>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user