diff --git a/init.vim b/init.vim index a7f8e1d..a9ed366 100644 --- a/init.vim +++ b/init.vim @@ -231,6 +231,8 @@ tnoremap " Lightline "\ 'colorscheme': 'solarized', + " \ 'gitbranch': '%{exists("*fugitive#head") && fugitive#head()!=""?"".fugitive#head():""}', + " \ 'gitbranch': '%{FugitiveStatusline()}', let g:lightline = { \ 'active': { \ 'left':[ @@ -289,7 +291,7 @@ tnoremap set noshowmode set noshowmatch set nolazyredraw - let loaded_matchparen = 1 " disable matching parentheses + " let loaded_matchparen = 1 " disable matching parentheses set foldcolumn=2 " display where folds are defined - but only in 2 layer (increment 2 to add more layers) " }}} @@ -338,7 +340,7 @@ endif " Todo config {{{ let g:bujo#todo_file_path = stdpath('data') . '/bujo' command! TODO execute "botright Todo g" - let g:bujo#window_width = 60 + let g:bujo#window_width = 80 function BujoSearchCustom(pattern) return (search(a:pattern, 'nc', line('.')) || search(a:pattern, 'nbc', line('.'))) @@ -382,6 +384,12 @@ endif augroup END " }}} +" JIX Notes {{{ + if $USER =~ "^jry$" + command! NOTE exec "botright 80 vs " . glob('~/') . 'Notes/Notes' . (FugitiveHead() != "" ? '_'.FugitiveHead() : '') + end +" }}} + " Fuzzy finding " TODO: Figure out fuzzy finding on windows if !(has('win32') || has('win64')) @@ -443,7 +451,7 @@ endif call neomake#configure#automake('nrwi', 500) " Autoopen error list - let g:neomake_open_list = 2 + let g:neomake_open_list = 2 " 0: show hints, 1: show list and move cursor to list, 2: show list, but don't move cursor " Configure for C let g:c_syntax_for_h=1