update vim and zsh default config
vim : do not convert tab into spaces .. zsh : vi alias + editor, screen alias
This commit is contained in:
parent
2293289836
commit
96e5966121
3
vimrc
3
vimrc
@ -7,10 +7,9 @@ let g:airline_powerline_fonts = 1
|
|||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
" show existing tab with 4 spaces width
|
" show existing tab with 4 spaces width
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
|
set softtabstop=0 noexpandtab
|
||||||
" when indenting with '>', use 4 spaces width
|
" when indenting with '>', use 4 spaces width
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
" On pressing tab, insert 4 spaces
|
|
||||||
set expandtab
|
|
||||||
" Enable highlighted search
|
" Enable highlighted search
|
||||||
set hlsearch
|
set hlsearch
|
||||||
" Disable VIM matching parenthesis highlighting
|
" Disable VIM matching parenthesis highlighting
|
||||||
|
7
zshrc
7
zshrc
@ -106,3 +106,10 @@ fi
|
|||||||
# no beep for console
|
# no beep for console
|
||||||
#setterm -blength 0
|
#setterm -blength 0
|
||||||
#TODO if term console
|
#TODO if term console
|
||||||
|
|
||||||
|
# force vim, usefull on FreeBSD that do not use update-alternatives stuff
|
||||||
|
alias vi="vim"
|
||||||
|
export EDITOR="vim"
|
||||||
|
|
||||||
|
# force screen unicode to render powerfont correctly
|
||||||
|
alias screen="screen -U"
|
||||||
|
Loading…
Reference in New Issue
Block a user