mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 23:06:38 -05:00
Added more complete and descriptive headers to the config files,
including the URL the config can be downloaded. Added a new variable that determines whether the filer will autostart on empty buffers or not. Set powerline fonts not to load by default. Changed the order to load the config files so the user config settings are applied to plugins.
This commit is contained in:
parent
eb68dfc486
commit
7a519e601f
5 changed files with 71 additions and 58 deletions
|
@ -1,11 +1,13 @@
|
||||||
"========================"
|
"============================================================"
|
||||||
" "
|
" "
|
||||||
" Darkcloud Vim Theme: "
|
" Darkcloud Vim Config: theme
|
||||||
|
" "
|
||||||
|
" Maintainer: Prurigro (prurigro-at-gmail-dot-com) "
|
||||||
|
" Website: https://github.com/prurigro/darkcloud-vimconfig "
|
||||||
" "
|
" "
|
||||||
" Maintainer: Prurigro "
|
|
||||||
" License: MIT "
|
" License: MIT "
|
||||||
" "
|
" "
|
||||||
"========================"
|
"============================================================"
|
||||||
"
|
"
|
||||||
" Acknowledgements:
|
" Acknowledgements:
|
||||||
"
|
"
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
"==========================="
|
"============================================================"
|
||||||
" "
|
" "
|
||||||
" Keyboard Configuration: "
|
" Darkcloud Vim Config: keyboard settings "
|
||||||
|
" "
|
||||||
|
" Maintainer: Prurigro (prurigro-at-gmail-dot-com) "
|
||||||
|
" Website: https://github.com/prurigro/darkcloud-vimconfig "
|
||||||
" "
|
" "
|
||||||
" Maintainer: Prurigro "
|
|
||||||
" License: MIT "
|
" License: MIT "
|
||||||
" "
|
" "
|
||||||
"==========================="
|
"============================================================"
|
||||||
"
|
"
|
||||||
" Note:
|
" Note:
|
||||||
" *The default <Leader> key is: \
|
" *The default <Leader> key is: \
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
"=========================="
|
"============================================================"
|
||||||
" "
|
" "
|
||||||
" Plugins Configuration: "
|
" Darkcloud Vim Config: plugin settings "
|
||||||
|
" "
|
||||||
|
" Maintainer: Prurigro (prurigro-at-gmail-dot-com) "
|
||||||
|
" Website: https://github.com/prurigro/darkcloud-vimconfig "
|
||||||
" "
|
" "
|
||||||
" Maintainer: Prurigro "
|
|
||||||
" License: MIT "
|
" License: MIT "
|
||||||
" "
|
" "
|
||||||
"=========================="
|
"============================================================"
|
||||||
|
|
||||||
"PATHOGEN BUNDLED EXTENSIONS PLUGIN: {{{
|
"PATHOGEN BUNDLED EXTENSIONS PLUGIN: {{{
|
||||||
execute pathogen#infect('bundle/{}', 'bundle.user/{}')
|
execute pathogen#infect('bundle/{}', 'bundle.user/{}')
|
||||||
|
@ -85,11 +87,10 @@
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
"SYNTASTIC: {{{
|
"SYNTASTIC: {{{
|
||||||
"syntax checker autostart default: 1
|
"autostart syntax checking when vim opens to a compatible filetype (default: 1)
|
||||||
if !exists("g:autostartchecker")
|
if !exists("g:autostartchecker")
|
||||||
let g:autostartchecker=1
|
let g:autostartchecker=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if (g:autostartchecker == 1)
|
if (g:autostartchecker == 1)
|
||||||
let g:syntastic_mode_map = {'mode':'active','active_filetypes':[],'passive_filetypes':[]}
|
let g:syntastic_mode_map = {'mode':'active','active_filetypes':[],'passive_filetypes':[]}
|
||||||
let g:syntastic_check_on_open=1
|
let g:syntastic_check_on_open=1
|
||||||
|
@ -104,11 +105,10 @@
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
"TAGBAR: {{{
|
"TAGBAR: {{{
|
||||||
"tagbar sidebar autostart default: 1
|
"autostart tagbar when vim opens to a compatible filetype (default: 0)
|
||||||
if !exists("g:autostarttagbar")
|
if !exists("g:autostarttagbar")
|
||||||
let g:autostarttagbar=0
|
let g:autostarttagbar=0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if (g:autostarttagbar == 1)
|
if (g:autostarttagbar == 1)
|
||||||
autocmd VimEnter * nested :call tagbar#autoopen(1)
|
autocmd VimEnter * nested :call tagbar#autoopen(1)
|
||||||
endif
|
endif
|
||||||
|
@ -119,6 +119,14 @@
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
"VIM FILER: {{{
|
"VIM FILER: {{{
|
||||||
|
"autostart filer when vim opens to an empty buffer (default: 1)
|
||||||
|
if !exists("g:autostartfiler")
|
||||||
|
let g:autostartfiler=1
|
||||||
|
endif
|
||||||
|
if (g:autostartfiler == 1)
|
||||||
|
autocmd VimEnter * if !argc() | VimFiler -quit -project | endif
|
||||||
|
endif
|
||||||
|
|
||||||
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
|
||||||
|
@ -133,9 +141,6 @@
|
||||||
"edit files by double clicking them, and justify the cursor on the left
|
"edit files by double clicking them, and justify the cursor on the left
|
||||||
autocmd FileType vimfiler setlocal nonumber nocursorcolumn
|
autocmd FileType vimfiler setlocal nonumber nocursorcolumn
|
||||||
|
|
||||||
"open automatically if vim was run without any files
|
|
||||||
autocmd VimEnter * if !argc() | VimFiler -quit -project | endif
|
|
||||||
|
|
||||||
"load the list of file extensions and handlers if it exists
|
"load the list of file extensions and handlers if it exists
|
||||||
if filereadable(glob("~/.vim/filetypes.vim"))
|
if filereadable(glob("~/.vim/filetypes.vim"))
|
||||||
source ~/.vim/filetypes.vim
|
source ~/.vim/filetypes.vim
|
||||||
|
@ -216,11 +221,10 @@
|
||||||
call lightline#update()
|
call lightline#update()
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
"status bar config with and without powerline fonts (defaults to off)
|
"status bar config with and without powerline fonts (default: 0)
|
||||||
if !exists("g:powerlinefonts")
|
if !exists("g:powerlinefonts")
|
||||||
let g:powerlinefonts=0
|
let g:powerlinefonts=0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if (g:powerlinefonts == 1)
|
if (g:powerlinefonts == 1)
|
||||||
let g:lightline = {
|
let g:lightline = {
|
||||||
\ 'colorscheme': 'darkcloud',
|
\ 'colorscheme': 'darkcloud',
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
"==============================="
|
"============================================================"
|
||||||
" "
|
" "
|
||||||
" Vim Settings Configuration: "
|
" Darkcloud Vim Config: main settings "
|
||||||
|
" "
|
||||||
|
" Maintainer: Prurigro (prurigro-at-gmail-dot-com) "
|
||||||
|
" Website: https://github.com/prurigro/darkcloud-vimconfig "
|
||||||
" "
|
" "
|
||||||
" Maintainer: Prurigro "
|
|
||||||
" License: MIT "
|
" License: MIT "
|
||||||
" "
|
" "
|
||||||
"==============================="
|
"============================================================"
|
||||||
|
|
||||||
"COMPATIBILITY SETTINGS: DOCUMENT AND ENVIRONMENT SETTINGS {{{
|
"COMPATIBILITY SETTINGS: DOCUMENT AND ENVIRONMENT SETTINGS {{{
|
||||||
set nocompatible "enable vim specific capabilities
|
set nocompatible "enable vim specific capabilities
|
||||||
|
|
29
vimrc
29
vimrc
|
@ -1,12 +1,13 @@
|
||||||
"========================="
|
"============================================================"
|
||||||
" "
|
" "
|
||||||
" Darkcloud Vim Config: "
|
" Darkcloud Vim Config: vimrc "
|
||||||
" vimrc "
|
" "
|
||||||
|
" Maintainer: Prurigro (prurigro-at-gmail-dot-com) "
|
||||||
|
" Website: https://github.com/prurigro/darkcloud-vimconfig "
|
||||||
" "
|
" "
|
||||||
" Maintainer: Prurigro "
|
|
||||||
" License: MIT "
|
" License: MIT "
|
||||||
" "
|
" "
|
||||||
"========================="
|
"============================================================"
|
||||||
|
|
||||||
"DARKCLOUD VIM CONFIG FOLDER PATH: {{{
|
"DARKCLOUD VIM CONFIG FOLDER PATH: {{{
|
||||||
" If you want to use darkcloud-vimconfig as a package without symlinking
|
" If you want to use darkcloud-vimconfig as a package without symlinking
|
||||||
|
@ -28,6 +29,9 @@
|
||||||
" it created, then toggle these settings there to override these and no
|
" it created, then toggle these settings there to override these and no
|
||||||
" avoid conflicting with updates.
|
" avoid conflicting with updates.
|
||||||
|
|
||||||
|
"Filer File Manager On Empty Buffers: (1:empty buffer loads filer | 0:buffer remains empty)
|
||||||
|
let g:autostartfiler=1
|
||||||
|
|
||||||
"Syntax Checking Autostart: (1:start toggled on | 0: start toggled off)
|
"Syntax Checking Autostart: (1:start toggled on | 0: start toggled off)
|
||||||
let g:autostartchecker=1
|
let g:autostartchecker=1
|
||||||
|
|
||||||
|
@ -35,7 +39,7 @@
|
||||||
let g:autostarttagbar=0
|
let g:autostarttagbar=0
|
||||||
|
|
||||||
"Powerline Font Support: (1:enabled | 0:disabled)
|
"Powerline Font Support: (1:enabled | 0:disabled)
|
||||||
let g:powerlinefonts=1
|
let g:powerlinefonts=0
|
||||||
|
|
||||||
"GVim Font Selection: (term font set by terminal)
|
"GVim Font Selection: (term font set by terminal)
|
||||||
set guifont=Droid\ Sans\ Mono\ 12
|
set guifont=Droid\ Sans\ Mono\ 12
|
||||||
|
@ -51,16 +55,15 @@
|
||||||
"Load Plugins:
|
"Load Plugins:
|
||||||
runtime bundle/vim-pathogen/autoload/pathogen.vim
|
runtime bundle/vim-pathogen/autoload/pathogen.vim
|
||||||
|
|
||||||
"Load Plugin Configuration:
|
|
||||||
runtime config/plugins.vim
|
|
||||||
|
|
||||||
"Load Keymappings:
|
"Load Keymappings:
|
||||||
runtime config/keyboard.vim
|
runtime config/keyboard.vim
|
||||||
|
|
||||||
|
"Load User Config:
|
||||||
|
runtime vimrc.user
|
||||||
|
|
||||||
|
"Load Plugin Configuration:
|
||||||
|
runtime config/plugins.vim
|
||||||
|
|
||||||
"Load Colour Scheme:
|
"Load Colour Scheme:
|
||||||
colorscheme darkcloud
|
colorscheme darkcloud
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
"LOAD USER CONFIG FILE: {{{
|
|
||||||
runtime vimrc.user
|
|
||||||
"}}}
|
|
||||||
|
|
Loading…
Reference in a new issue