Created
December 5, 2013 15:12
-
-
Save linuxcaffe/7806941 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execute pathogen#infect() | |
let &t_Co=256 | |
syntax on | |
filetype plugin indent on | |
set tabline=%!tabber#TabLine() | |
au! BufRead,BufWrite,BufWritePost,BufNewFile *.org | |
au BufEnter *.org call org#SetOrgFileType() | |
" vimwiki options | |
let g:vimwiki_hl_headers = '1' | |
let g:vimwiki_use_mouse = '1' | |
let g:vimwiki_folding = 'syntax' | |
"cimwiki-tasks options | |
" let g:vimwiki_tasks_report = 'list' | |
" Airline settings | |
if !exists('g:airline_symbols') | |
let g:airline_symbols = {} | |
endif | |
let g:airline_powerline_fonts = 1 | |
let g:airline#extensions#tabline#enabled = 1 | |
" unicode symbols | |
let g:airline_left_sep = '»' | |
let g:airline_left_sep = '▶' | |
let g:airline_right_sep = '«' | |
let g:airline_right_sep = '◀' | |
let g:airline_symbols.linenr = '␊' | |
let g:airline_symbols.linenr = '' | |
let g:airline_symbols.linenr = '¶' | |
let g:airline_symbols.branch = '⎇' | |
let g:airline_symbols.paste = 'ρ' | |
let g:airline_symbols.paste = 'Þ' | |
let g:airline_symbols.paste = '∥' | |
let g:airline_symbols.whitespace = 'Ξ' | |
let g:airline_theme='tomorrow' | |
syntax enable | |
set background=dark | |
colorscheme party-liquor | |
set mouse=a | |
let g:colorizer_taskwarrior_disable = '0' | |
let g:colorizer_auto_filetype = 'css,htmli,theme' | |
" let g:weather#area = { 'Toronto,Canada' } | |
" github_dashboard settings | |
let g:github_dashboard = { 'username': 'linuxcaffe' } | |
" Dashboard window position | |
" - Options: tab, top, bottom, above, below, left, right | |
" - Default: tab | |
let g:github_dashboard = { 'position': 'top' } | |
" Disable Emoji output | |
" - Default: only enable on terminal Vim on Mac | |
let g:github_dashboard = { 'emoji': '0' } | |
" Customize emoji (see http://www.emoji-cheat-sheet.com/) | |
"let g:github_dashboard = {'emoji_map': | |
"\ 'user_dashboard': 'blush', | |
"\ 'user_activity': 'smile', | |
"\ 'repo_activity': 'laughing', | |
"\ 'ForkEvent': 'fork_and_knife' | |
"\ } | |
" Command to open link URLs | |
" - Default: auto-detect | |
" let g:github_dashboard = {'open_command' = } = 'open' | |
let g:github_dashboard = { 'open_command': 'elinks' } | |
" API timeout in seconds | |
" - Default: 10, 20 | |
let g:github_dashboard = {'api_open_timeout': '10'} | |
let g:github_dashboard = {'api_read_timeout': '20'} | |
" Do not set statusline | |
" - Then you can customize your own statusline with github_dashboard#status() | |
let g:github_dashboard = {'statusline': '0'} | |
" vim-taskwarrior settings | |
let g:task_report_name='list' | |
let g:task_default_prompt = ['description', 'due', 'duration', 'area', 'project', 'tags'] | |
nnoremap <F2> :execute 'TW '.(exists('b:filter') ? b:filter : '').' blocking'<CR> | |
nnoremap <F3> :execute 'TW '.(exists('b:filter') ? b:filter : '').' waiting'<CR> | |
nnoremap <F4> :execute 'TW '.(exists('b:filter') ? b:filter : '').' active'<CR> | |
nnoremap <F5> :execute 'TW '.(exists('b:filter') ? b:filter : '').' minimal'<CR> | |
nnoremap <F6> :execute 'TW '.(exists('b:filter') ? b:filter : '').' ls'<CR> | |
nnoremap <F7> :execute 'TW '.(exists('b:filter') ? b:filter : '').' list'<CR> | |
nnoremap <F8> :execute 'TW '.(exists('b:filter') ? b:filter : '').' long'<CR> | |
nnoremap <F9> :execute 'TW '.(exists('b:filter') ? b:filter : '').' ready'<CR> | |
nnoremap <F10> :execute 'TW '.(exists('b:filter') ? b:filter : '').' next'<CR> | |
nnoremap <leader>v :execute '!vit '.b:filter.' '.b:command<CR> | |
" | |
" | |
":execute "!".substitute(expand("%"), '^task' , 'vit', 'g') | |
":execute '!task '.b:command | |
" startify settings | |
" let g:startify_custom_header = '' | |
" | |
"this is a list of single-quoted strings to be shown before everything else. | |
"very string will be written on its own line. | |
" | |
"NOTE: If a string contains ', you have to quote it with another '. | |
" | |
" | |
" programmatic example: | |
" | |
" let g:startify_custom_header = | |
" \ map(split(system('fortune | cowsay'), '\n'), '" ". v:val') + ['',''] | |
" let g:startify_custom_header = | |
" \ map(split(system('task'), '\n'), '" ". v:val') + ['',''] | |
" | |
" hardcoded example: | |
" | |
" let g:startify_custom_header = [ | |
" \ ' __ ___ ______ ____ ', | |
" \ ' \ \ / (_) |____ |___ \ ', | |
" \ ' \ \ / / _ _ __ ___ / / __) |', | |
" \ ' \ \/ / | | ''_ ` _ \ / / |__ <', | |
" \ ' \ / | | | | | | | / / ___) |', | |
" \ ' \/ |_|_| |_| |_| /_(_) |____/ ', | |
" \ '', | |
" \ '', | |
" \ ] | |
" | |
"----------------------------------------------------------------------------- | |
" *g:startify_custom_footer* | |
" | |
" let g:startify_custom_footer = '' | |
" | |
"same as the custom header, but shown at the bottom of the startify buffer. | |
" | |
"Colorizer settings | |
" let g:colorizer_auto_filetype = 'theme' | |
let g:colorizer_x11_names = '1' | |
" scurvy from MarginalHacks.com | |
au BufNewFile,BufRead *.scr setfiletype scurvy | |
au BufNewFile,BufRead *.script setfiletype scurvyScript | |
" scurvy needs tabs | |
au FileType scurvy set noexpandtab | |
au FileType scurvyScript set noexpandtab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment