diff --git a/bashrc b/bashrc index 93b88e0..2443a3c 100644 --- a/bashrc +++ b/bashrc @@ -73,8 +73,8 @@ alias pacmacn='pacman' alias grep='grep --color' -alias b+='xbacklight -inc 10%' -alias b-='xbacklight -dec 10%' +alias b+='xbacklight -inc 10% -steps 1 -time 0' +alias b-='xbacklight -dec 10% -steps 1 -time 0' alias svim='sudo vim' alias bim='vim' diff --git a/vimrc b/vimrc index 78aec09..d1461ad 100644 --- a/vimrc +++ b/vimrc @@ -97,6 +97,7 @@ set undolevels=500 set title "titre du terminal set autoindent +set smartindent autocmd CursorMoved * exe printf('match IncSearch /\V\<%s\>/', escape(expand(''), '/\')) "match ErrorMsg '\%>80v.\+'