dotfiles

My dotfiles, nothing really interesting to see ...
git clone https://git.onna.be/dotfiles.git
Log | Files | Refs | README

commit 7261670dc4eefd1412fbdc238d6f1307e5278561
parent 269037e2e3fcee7c6cff23ec3df7aa9cd4daacc1
Author: Paco Esteban <paco@onna.be>
Date:   Thu, 20 Dec 2018 19:27:21 +0100

vim c and pager chnages

Diffstat:
tidy/.astylerc | 2+-
vim/.vim/after/ftplugin/c.vim | 16++++++++++++----
vim/.vim/after/ftplugin/python.vim | 2+-
zsh/.zshenv | 2+-
4 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/tidy/.astylerc b/tidy/.astylerc @@ -1,5 +1,5 @@ --style=kr ---indent=spaces=4 +--indent=tab --indent-preproc-cond --indent-switches --indent-cases diff --git a/vim/.vim/after/ftplugin/c.vim b/vim/.vim/after/ftplugin/c.vim @@ -1,7 +1,15 @@ +setlocal cindent +setlocal cinoptions=:0,t0,+4,(4,u4,U4 +setlocal indentkeys=0{,0},0),:,0#,!^F,o,O,e +setlocal noexpandtab +setlocal shiftwidth=8 +setlocal tabstop=8 +setlocal textwidth=80 + " (astyle) -if executable('astyle') - setlocal equalprg=astyle -endif +" if executable('astyle') +" setlocal equalprg=astyle +" endif setlocal colorcolumn=80 @@ -20,4 +28,4 @@ endif " manual to section 3 setlocal keywordprg=man\ -s\ 3 -let b:undo_ftplugin .= '|setl equalprg< colorcolumn< complete< include< path< keywordprg<' +let b:undo_ftplugin .= '|setl et< ts< sw< list< ep< cc< cpt< inc< path< kp< cin< cino< inde< indk<' diff --git a/vim/.vim/after/ftplugin/python.vim b/vim/.vim/after/ftplugin/python.vim @@ -12,4 +12,4 @@ setlocal textwidth=79 setlocal shiftround setlocal colorcolumn=80 -let b:undo_ftplugin .= '|setlocal equalprg< textwidth< shiftround< colorcolumn<' +let b:undo_ftplugin = '|setlocal equalprg< textwidth< shiftround< colorcolumn<' diff --git a/zsh/.zshenv b/zsh/.zshenv @@ -4,7 +4,7 @@ export RSYNC_RSH=ssh export EDITOR=vim export VISUAL=vim export PAGER=less -export LESS="-R" +export LESS="-R -j .5 -z-1" export HISTSIZE=50000 export HISTFILE=~/.history_zsh export SAVEHIST=50000