dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 251ce5ec56612ab506009fa901745b6f0eeb9764
parent 3f4c1c0e200f40d2b9c981a16eacddaea3394349
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Thu, 21 Dec 2017 14:34:20 -0500

Add back IndentLines but disable for select file types

Diffstat:
Mlinks/.vim/ftplugin/mail.vim | 1+
Alinks/.vim/ftplugin/startify.vim | 3+++
Mlinks/.vim/ftplugin/tex.vim | 1+
Mlinks/.vim/plugins.vim | 5+++++
4 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/links/.vim/ftplugin/mail.vim b/links/.vim/ftplugin/mail.vim @@ -6,4 +6,5 @@ augroup mail_typography setlocal list setlocal formatoptions=alw2qt " automatically reflow paragraphs setlocal completefunc=Complete_Emails + IndentLinesDisable augroup END diff --git a/links/.vim/ftplugin/startify.vim b/links/.vim/ftplugin/startify.vim @@ -0,0 +1,3 @@ +augroup startify_options + IndentLinesDisable +augroup END diff --git a/links/.vim/ftplugin/tex.vim b/links/.vim/ftplugin/tex.vim @@ -21,4 +21,5 @@ augroup latex_typography setlocal fdo+=search setlocal list setlocal formatoptions=alw2qt " automatically reflow paragraphs + IndentLinesDisable augroup END diff --git a/links/.vim/plugins.vim b/links/.vim/plugins.vim @@ -19,6 +19,7 @@ Plug 'guns/xterm-color-table.vim' " show color table with :XtermColorTable Plug 'embear/vim-foldsearch' " hide/show lines matching a pattern Plug 'junegunn/goyo.vim' " distraction-free editing in prose mode Plug 'junegunn/limelight.vim' " highlight current paragraph in goyo +Plug 'Yggdroot/indentLine' " show indentation level with vertical lines """""" File system """"""" Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } @@ -195,4 +196,8 @@ endfunction " run vim-emoji on entire document command! -range EmojiReplace <line1>,<line2>s/:\([^:]\+\):/\=emoji#for(submatch(1), submatch(0))/g +" disable default thesaurus bindings let g:online_thesaurus_map_keys = 0 + +" select indentation character (:IndentLinesToggle) (¦┆│⎸▏) +let g:indentLine_char = '┆'