|
177 | 177 |
|
178 | 178 | highlight clear LineNr " Current line number row will have same background color in relative mode.
|
179 | 179 | " Things like vim-gitgutter will match LineNr highlight
|
180 |
| - "highlight clear CursorLineNr " Remove highlight color from current line number |
| 180 | + "highlight clear CursorLineNr " Remove highlight color from current line number |
181 | 181 |
|
182 | 182 | if has('cmdline_info')
|
183 | 183 | set ruler " Show the ruler
|
|
262 | 262 |
|
263 | 263 | " Easier moving in tabs and windows
|
264 | 264 | " The lines conflict with the default digraph mapping of <C-K>
|
265 |
| - " If you prefer that functionality, add let g:spf13_no_easyWindows = 1 |
266 |
| - " in your .vimrc.before.local file |
267 |
| - |
| 265 | + " If you prefer that functionality, add the following to your |
| 266 | + " .vimrc.before.local file: |
| 267 | + " let g:spf13_no_easyWindows = 1 |
268 | 268 | if !exists('g:spf13_no_easyWindows')
|
269 | 269 | map <C-J> <C-W>j<C-W>_
|
270 | 270 | map <C-K> <C-W>k<C-W>_
|
|
529 | 529 | "}
|
530 | 530 |
|
531 | 531 | " PythonMode {
|
532 |
| - " Disable if python support not present |
| 532 | + " Disable if python support not present |
533 | 533 | if !has('python')
|
534 | 534 | let g:pymode = 1
|
535 | 535 | endif
|
|
576 | 576 | endif
|
577 | 577 | let g:neocomplete#keyword_patterns['default'] = '\h\w*'
|
578 | 578 |
|
579 |
| - " Plugin key-mappings. |
580 |
| - |
581 |
| - " These two lines conflict with the default digraph mapping of <C-K> |
582 |
| - " If you prefer that functionality, add |
583 |
| - " let g:spf13_no_neosnippet_expand = 1 |
584 |
| - " in your .vimrc.before.local file |
585 |
| - |
586 |
| - if !exists('g:spf13_no_neosnippet_expand') |
587 |
| - imap <C-k> <Plug>(neosnippet_expand_or_jump) |
588 |
| - smap <C-k> <Plug>(neosnippet_expand_or_jump) |
589 |
| - endif |
| 579 | + " Plugin key-mappings { |
| 580 | + " These two lines conflict with the default digraph mapping of <C-K> |
| 581 | + " If you prefer that functionality, add the following to your |
| 582 | + " .vimrc.before.local file: |
| 583 | + " let g:spf13_no_neosnippet_expand = 1 |
| 584 | + if !exists('g:spf13_no_neosnippet_expand') |
| 585 | + imap <C-k> <Plug>(neosnippet_expand_or_jump) |
| 586 | + smap <C-k> <Plug>(neosnippet_expand_or_jump) |
| 587 | + endif |
590 | 588 |
|
591 |
| - inoremap <expr><C-g> neocomplete#undo_completion() |
592 |
| - inoremap <expr><C-l> neocomplete#complete_common_string() |
593 |
| - inoremap <expr><CR> neocomplete#complete_common_string() |
| 589 | + inoremap <expr><C-g> neocomplete#undo_completion() |
| 590 | + inoremap <expr><C-l> neocomplete#complete_common_string() |
| 591 | + inoremap <expr><CR> neocomplete#complete_common_string() |
594 | 592 |
|
595 |
| - " <TAB>: completion. |
596 |
| - inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>" |
597 |
| - inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<TAB>" |
| 593 | + " <TAB>: completion. |
| 594 | + inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>" |
| 595 | + inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<TAB>" |
598 | 596 |
|
599 |
| - " <CR>: close popup |
600 |
| - " <s-CR>: close popup and save indent. |
601 |
| - inoremap <expr><s-CR> pumvisible() ? neocomplete#close_popup()"\<CR>" : "\<CR>" |
602 |
| - inoremap <expr><CR> pumvisible() ? neocomplete#close_popup() : "\<CR>" |
| 597 | + " <CR>: close popup |
| 598 | + " <s-CR>: close popup and save indent. |
| 599 | + inoremap <expr><s-CR> pumvisible() ? neocomplete#close_popup()"\<CR>" : "\<CR>" |
| 600 | + inoremap <expr><CR> pumvisible() ? neocomplete#close_popup() : "\<CR>" |
603 | 601 |
|
604 |
| - " <C-h>, <BS>: close popup and delete backword char. |
605 |
| - inoremap <expr><BS> neocomplete#smart_close_popup()."\<C-h>" |
606 |
| - inoremap <expr><C-y> neocomplete#close_popup() |
| 602 | + " <C-h>, <BS>: close popup and delete backword char. |
| 603 | + inoremap <expr><BS> neocomplete#smart_close_popup()."\<C-h>" |
| 604 | + inoremap <expr><C-y> neocomplete#close_popup() |
| 605 | + " } |
607 | 606 |
|
608 | 607 | " Enable omni completion.
|
609 | 608 | autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS
|
|
679 | 678 | endif
|
680 | 679 | let g:neocomplcache_keyword_patterns._ = '\h\w*'
|
681 | 680 |
|
682 |
| - " Plugin key-mappings. |
683 |
| - |
684 |
| - " These two lines conflict with the default digraph mapping of <C-K> |
685 |
| - " If you prefer that functionality, add |
686 |
| - " let g:spf13_no_neosnippet_expand = 1 |
687 |
| - " in your .vimrc.before.local file |
688 |
| - |
689 |
| - if !exists('g:spf13_no_neosnippet_expand') |
690 |
| - imap <C-k> <Plug>(neosnippet_expand_or_jump) |
691 |
| - smap <C-k> <Plug>(neosnippet_expand_or_jump) |
692 |
| - endif |
| 681 | + " Plugin key-mappings { |
| 682 | + " These two lines conflict with the default digraph mapping of <C-K> |
| 683 | + " If you prefer that functionality, add the following to your |
| 684 | + " .vimrc.before.local file: |
| 685 | + " let g:spf13_no_neosnippet_expand = 1 |
| 686 | + if !exists('g:spf13_no_neosnippet_expand') |
| 687 | + imap <C-k> <Plug>(neosnippet_expand_or_jump) |
| 688 | + smap <C-k> <Plug>(neosnippet_expand_or_jump) |
| 689 | + endif |
693 | 690 |
|
694 |
| - inoremap <expr><C-g> neocomplcache#undo_completion() |
695 |
| - inoremap <expr><C-l> neocomplcache#complete_common_string() |
696 |
| - inoremap <expr><CR> neocomplcache#complete_common_string() |
| 691 | + inoremap <expr><C-g> neocomplcache#undo_completion() |
| 692 | + inoremap <expr><C-l> neocomplcache#complete_common_string() |
| 693 | + inoremap <expr><CR> neocomplcache#complete_common_string() |
697 | 694 |
|
698 |
| - " <TAB>: completion. |
699 |
| - inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>" |
700 |
| - inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<TAB>" |
| 695 | + " <TAB>: completion. |
| 696 | + inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>" |
| 697 | + inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<TAB>" |
701 | 698 |
|
702 |
| - " <CR>: close popup |
703 |
| - " <s-CR>: close popup and save indent. |
704 |
| - inoremap <expr><s-CR> pumvisible() ? neocomplcache#close_popup()"\<CR>" : "\<CR>" |
705 |
| - inoremap <expr><CR> pumvisible() ? neocomplcache#close_popup() : "\<CR>" |
| 699 | + " <CR>: close popup |
| 700 | + " <s-CR>: close popup and save indent. |
| 701 | + inoremap <expr><s-CR> pumvisible() ? neocomplcache#close_popup()"\<CR>" : "\<CR>" |
| 702 | + inoremap <expr><CR> pumvisible() ? neocomplcache#close_popup() : "\<CR>" |
706 | 703 |
|
707 |
| - " <C-h>, <BS>: close popup and delete backword char. |
708 |
| - inoremap <expr><BS> neocomplcache#smart_close_popup()."\<C-h>" |
709 |
| - inoremap <expr><C-y> neocomplcache#close_popup() |
| 704 | + " <C-h>, <BS>: close popup and delete backword char. |
| 705 | + inoremap <expr><BS> neocomplcache#smart_close_popup()."\<C-h>" |
| 706 | + inoremap <expr><C-y> neocomplcache#close_popup() |
| 707 | + " } |
710 | 708 |
|
711 | 709 | " Enable omni completion.
|
712 | 710 | autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS
|
|
774 | 772 | " airline {
|
775 | 773 | let g:airline_theme='powerlineish' " airline users use the powerline theme
|
776 | 774 | if !exists('g:airline_powerline_fonts')
|
777 |
| - let g:airline_left_sep='›' " Slightly fancier separator, instead of '>' |
778 |
| - let g:airline_right_sep='‹' " Slightly fancier separator, instead of '<' |
| 775 | + let g:airline_left_sep='›' " Slightly fancier separator, instead of '>' |
| 776 | + let g:airline_right_sep='‹' " Slightly fancier separator, instead of '<' |
779 | 777 | endif
|
780 | 778 | " }
|
781 | 779 |
|
|
0 commit comments