adding breeze configuration and key mappings, as well as the gitmodules

file
This commit is contained in:
Kevin 2014-04-07 02:40:35 -04:00
parent 50e257a65a
commit 772db85ccc
3 changed files with 33 additions and 7 deletions

3
.gitmodules vendored
View file

@ -88,3 +88,6 @@
[submodule "vim/bundle/vim-c-cr"] [submodule "vim/bundle/vim-c-cr"]
path = vim/bundle/vim-c-cr path = vim/bundle/vim-c-cr
url = https://github.com/jtmkrueger/vim-c-cr.git url = https://github.com/jtmkrueger/vim-c-cr.git
[submodule "vim/bundle/breeze.vim"]
path = vim/bundle/breeze.vim
url = https://github.com/gcmt/breeze.vim.git

View file

@ -192,6 +192,15 @@
" <Left> | (N) -> same as Up " <Left> | (N) -> same as Up
" h | (N) -> same as k " h | (N) -> same as k
" "
" (breeze->html compat)
" _ | (N) -> move to the next sibling tag
" + | (N) -> move to the previous sibling tag
" <Leader>- | (N) -> move to the first sibling tag
" <Leader>= | (N) -> move to the last sibling tag
" <Leader>_ | (N) -> move to the first child tag
" <Leader>+ | (N) -> move to the last child tag
" <Leader><Backspace> | (N) -> move to the parent tag
"
" Aliases: " Aliases:
" :wsudo -and- :sudow | (C) -> :SudoWrite (write the file as root using sudo) " :wsudo -and- :sudow | (C) -> :SudoWrite (write the file as root using sudo)
" :esudo -and- :sudoe | (C) -> :SudoRead (read a file as root using sudo) " :esudo -and- :sudoe | (C) -> :SudoRead (read a file as root using sudo)
@ -460,6 +469,15 @@
autocmd FileType gundo nmap l j autocmd FileType gundo nmap l j
autocmd FileType gundo nmap <Left> <Up> autocmd FileType gundo nmap <Left> <Up>
autocmd FileType gundo nmap h k autocmd FileType gundo nmap h k
"breeze compatible formats
autocmd BufNewFile,BufRead *.html,*.htm,*.xhtml,*.xml,*.php,*.aspx nmap <buffer> <silent><expr> _ ':BreezePrevSibling<CR>'
autocmd BufNewFile,BufRead *.html,*.htm,*.xhtml,*.xml,*.php,*.aspx nmap <buffer> <silent><expr> + ':BreezeNextSibling<CR>'
autocmd BufNewFile,BufRead *.html,*.htm,*.xhtml,*.xml,*.php,*.aspx nmap <buffer> <silent><expr> <Leader>- ':BreezeFirstSibling<CR>'
autocmd BufNewFile,BufRead *.html,*.htm,*.xhtml,*.xml,*.php,*.aspx nmap <buffer> <silent><expr> <Leader>= ':BreezeLastSibling<CR>'
autocmd BufNewFile,BufRead *.html,*.htm,*.xhtml,*.xml,*.php,*.aspx nmap <buffer> <silent><expr> <Leader>_ ':BreezeFirstChild<CR>'
autocmd BufNewFile,BufRead *.html,*.htm,*.xhtml,*.xml,*.php,*.aspx nmap <buffer> <silent><expr> <Leader>+ ':BreezeLastChild<CR>'
autocmd BufNewFile,BufRead *.html,*.htm,*.xhtml,*.xml,*.php,*.aspx nmap <buffer> <silent><expr> <Leader><Backspace> ':BreezeParent<CR>'
"}}} "}}}
"DISABLED MAPPINGS: {{{ "DISABLED MAPPINGS: {{{

View file

@ -11,7 +11,12 @@
execute pathogen#infect('bundle/{}', 'bundle.user/{}') execute pathogen#infect('bundle/{}', 'bundle.user/{}')
"}}} "}}}
"EMMET: CONFIGURE WHEN ZENCODING IS ENABLED {{{ "BREEZE: HTML TAG HIGHLIGHTING AND NAVIGATION {{{
let g:breeze_active_filetypes="*.html,*.htm,*.xhtml,*.xml,*.php,*.aspx"
let g:breeze_shade_color = "String"
"}}}
"EMMET: ZENCODING FEATURES {{{
let g:user_emmet_install_global=0 let g:user_emmet_install_global=0
let g:use_emmet_complete_tag=1 let g:use_emmet_complete_tag=1
let g:user_emmet_mode='a' let g:user_emmet_mode='a'
@ -23,7 +28,7 @@
endif endif
"}}} "}}}
"GUNDO: CONFIGURE SIDEBAR SETTINGS {{{ "GUNDO: UNDO SIDEBAR {{{
let g:gundo_right=1 let g:gundo_right=1
let g:gundo_width=35 let g:gundo_width=35
let g:gundo_preview_height=10 let g:gundo_preview_height=10
@ -31,7 +36,7 @@
autocmd FileType gundo setlocal nocursorcolumn autocmd FileType gundo setlocal nocursorcolumn
"}}} "}}}
"LIGHTLINE: CONFIGURE THE LIGHTLINE STATUS BAR {{{ "LIGHTLINE: STATUS BAR {{{
let g:unite_force_overwrite_statusline = 0 let g:unite_force_overwrite_statusline = 0
let g:vimfiler_force_overwrite_statusline = 0 let g:vimfiler_force_overwrite_statusline = 0
@ -161,12 +166,12 @@
endif endif
"}}} "}}}
"MARKDOWN VIM MODE: SETTINGS {{{ "MARKDOWN VIM MODE: MARKDOWN IMPROVEMENTS {{{
let g:vim_markdown_folding_disabled=0 let g:vim_markdown_folding_disabled=0
let g:vim_markdown_initial_foldlevel=2 let g:vim_markdown_initial_foldlevel=2
"}}} "}}}
"SYNTASTIC: CONFIGURE SYNTAX CHECKING {{{ "SYNTASTIC: SYNTAX CHECKING {{{
if !exists("g:autostartchecker") if !exists("g:autostartchecker")
let g:autostartchecker=1 let g:autostartchecker=1
endif endif
@ -184,7 +189,7 @@
let g:syntastic_loc_list_height=5 let g:syntastic_loc_list_height=5
"}}} "}}}
"VIM FILER: SETTINGS {{{ "VIM FILER: FILE MANAGER {{{
let g:vimfiler_as_default_explorer=1 let g:vimfiler_as_default_explorer=1
let g:vimfiler_safe_mode_by_default=0 let g:vimfiler_safe_mode_by_default=0
let g:vimfiler_enable_auto_cd=1 let g:vimfiler_enable_auto_cd=1
@ -209,7 +214,7 @@
endif endif
"}}} "}}}
"NEOCOMPLCACHE AUTOCOMPLETION PLUGIN: ENABLE AND CONFIGURE BEHAVIOUR {{{ "NEOCOMPLCACHE AUTOCOMPLETION PLUGIN: AUTO COMPLETION {{{
let g:neocomplcache_enable_at_startup=1 let g:neocomplcache_enable_at_startup=1
let g:neocomplcache_enable_smart_case=1 let g:neocomplcache_enable_smart_case=1
let g:neocomplcache_min_syntax_length=3 let g:neocomplcache_min_syntax_length=3