mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-12-22 07:50:23 -05:00
adding breeze configuration and key mappings, as well as the gitmodules
file
This commit is contained in:
parent
50e257a65a
commit
772db85ccc
3 changed files with 33 additions and 7 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -88,3 +88,6 @@
|
|||
[submodule "vim/bundle/vim-c-cr"]
|
||||
path = vim/bundle/vim-c-cr
|
||||
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
|
||||
|
|
|
@ -192,6 +192,15 @@
|
|||
" <Left> | (N) -> same as Up
|
||||
" 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:
|
||||
" :wsudo -and- :sudow | (C) -> :SudoWrite (write the 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 <Left> <Up>
|
||||
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: {{{
|
||||
|
|
|
@ -11,7 +11,12 @@
|
|||
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:use_emmet_complete_tag=1
|
||||
let g:user_emmet_mode='a'
|
||||
|
@ -23,7 +28,7 @@
|
|||
endif
|
||||
"}}}
|
||||
|
||||
"GUNDO: CONFIGURE SIDEBAR SETTINGS {{{
|
||||
"GUNDO: UNDO SIDEBAR {{{
|
||||
let g:gundo_right=1
|
||||
let g:gundo_width=35
|
||||
let g:gundo_preview_height=10
|
||||
|
@ -31,7 +36,7 @@
|
|||
autocmd FileType gundo setlocal nocursorcolumn
|
||||
"}}}
|
||||
|
||||
"LIGHTLINE: CONFIGURE THE LIGHTLINE STATUS BAR {{{
|
||||
"LIGHTLINE: STATUS BAR {{{
|
||||
let g:unite_force_overwrite_statusline = 0
|
||||
let g:vimfiler_force_overwrite_statusline = 0
|
||||
|
||||
|
@ -161,12 +166,12 @@
|
|||
endif
|
||||
"}}}
|
||||
|
||||
"MARKDOWN VIM MODE: SETTINGS {{{
|
||||
"MARKDOWN VIM MODE: MARKDOWN IMPROVEMENTS {{{
|
||||
let g:vim_markdown_folding_disabled=0
|
||||
let g:vim_markdown_initial_foldlevel=2
|
||||
"}}}
|
||||
|
||||
"SYNTASTIC: CONFIGURE SYNTAX CHECKING {{{
|
||||
"SYNTASTIC: SYNTAX CHECKING {{{
|
||||
if !exists("g:autostartchecker")
|
||||
let g:autostartchecker=1
|
||||
endif
|
||||
|
@ -184,7 +189,7 @@
|
|||
let g:syntastic_loc_list_height=5
|
||||
"}}}
|
||||
|
||||
"VIM FILER: SETTINGS {{{
|
||||
"VIM FILER: FILE MANAGER {{{
|
||||
let g:vimfiler_as_default_explorer=1
|
||||
let g:vimfiler_safe_mode_by_default=0
|
||||
let g:vimfiler_enable_auto_cd=1
|
||||
|
@ -209,7 +214,7 @@
|
|||
endif
|
||||
"}}}
|
||||
|
||||
"NEOCOMPLCACHE AUTOCOMPLETION PLUGIN: ENABLE AND CONFIGURE BEHAVIOUR {{{
|
||||
"NEOCOMPLCACHE AUTOCOMPLETION PLUGIN: AUTO COMPLETION {{{
|
||||
let g:neocomplcache_enable_at_startup=1
|
||||
let g:neocomplcache_enable_smart_case=1
|
||||
let g:neocomplcache_min_syntax_length=3
|
||||
|
|
Loading…
Reference in a new issue