dot

packages and services management
Log | Files | Refs | README

commit e1c766f54e2d336d8d803888a6e91fe893d365da
parent 3329896381d16e9fd25e7191421a26359721b4df
Author: josuah <mail@josuah.net>
Date:   Fri, 27 Jan 2017 17:54:30 +0100

Switching to vis

Diffstat:
M.config/dvtm/config.h | 2+-
M.profile | 7+++----
2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/.config/dvtm/config.h b/.config/dvtm/config.h @@ -68,7 +68,7 @@ static const ColorRule colorrules[] = { /* tags ----------------------------------------------------------------------*/ -const char tags[][8] = { "1", "2", "3 mail", "4 chat", "5 music" }; +const char tags[][8] = { "1", "2", "3", "4 mail", "5 irc", "6 music" }; /* curses attributes for the currently selected tags */ #define TAG_SEL (COLOR(DEFAULT) | A_REVERSE) diff --git a/.profile b/.profile @@ -9,7 +9,6 @@ export PATH="$(dirname "$(readlink "$HOME/.profile")")/bin:$PATH" export ENV="$HOME/.profile" -export TERM='ansi' export TZ='Europe/Paris' # mail @@ -18,11 +17,11 @@ export EMAIL='mail@josuah.net' export MAIL="$HOME/mail/INBOX" # default commands -export EDITOR='vim' VISUAL='vim' FCEDIT='vim' +export EDITOR='vis' VISUAL="$EDITOR" FCEDIT="$EDITOR" export PAGER='less' MANPAGER='less' # dvtm -export DVTM_TERM='ansi' +export DVTM_TERM='screen' export DVTM_PAGER='less -R' # xdg base directory @@ -79,7 +78,7 @@ alias lines='find . -name "*.[ch]" | xargs wc -l' page() { - "$@" | less -ER + "$@" | more }