From 11890827f16dbcc2856a4305ac6d068df679cff2 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 7 Mar 2016 21:41:39 +0100 Subject: Implement cite command in _pentadactyl_ * `vimrc` changes are required to prevent _airline_ from generating unnecessary warnings concerning the spaces used to signal a blockquote --- vim/.vimrc | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'vim') diff --git a/vim/.vimrc b/vim/.vimrc index bd7417c..aa7473e 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -50,6 +50,7 @@ autocmd FocusGained *.wiki :redraw! autocmd FileType scheme setlocal shiftwidth=2 tabstop=2 expandtab autocmd FileType vimwiki setlocal noswapfile nonumber foldcolumn=1 autoread +autocmd FileType vimwiki let g:airline#extensions#whitespace#checks=['indent', 'trailing', 'long'] vnoremap cc "+y nnoremap cc "+p @@ -76,18 +77,19 @@ nnoremap k nnoremap j set laststatus=2 -let g:airline#extensions#tabline#enabled = 1 -let g:airline#extensions#tabline#show_buffers = 0 -let g:airline#extensions#tabline#show_tab_type = 0 -let g:airline#extensions#tabline#formatter = 'unique_tail_improved' -let g:airline#extensions#tabline#buffer_idx_mode = 0 -let g:airline#extensions#tabline#left_sep = '' -let g:airline#extensions#tabline#left_alt_sep = '' -let g:airline#extensions#tabline#right_sep = '' -let g:airline#extensions#tabline#right_alt_sep = '' -let g:airline#extensions#tabline#show_close_button = 0 -let g:airline#extensions#tabline#show_splits = 0 -let g:airline#extensions#tabline#show_tab_nr = 0 +let g:airline#extensions#tabline#enabled = 1 +let g:airline#extensions#tabline#show_buffers = 0 +let g:airline#extensions#tabline#show_tab_type = 0 +let g:airline#extensions#tabline#formatter = 'unique_tail_improved' +let g:airline#extensions#tabline#buffer_idx_mode = 0 +let g:airline#extensions#tabline#left_sep = '' +let g:airline#extensions#tabline#left_alt_sep = '' +let g:airline#extensions#tabline#right_sep = '' +let g:airline#extensions#tabline#right_alt_sep = '' +let g:airline#extensions#tabline#show_close_button = 0 +let g:airline#extensions#tabline#show_splits = 0 +let g:airline#extensions#tabline#show_tab_nr = 0 +let g:airline#extensions#whitespace#mixed_indent_algo = 2 let g:vimwiki_list = [{ \ 'path': '~/note/', -- cgit v1.2.3