Switch from nvimpager to just nvim as pager

This commit is contained in:
Marko Korhonen 2021-08-17 17:43:30 +03:00
parent e5d07324a5
commit 9d3972a54a
3 changed files with 9 additions and 11 deletions

View file

@ -6,15 +6,8 @@ alias gpush='git push'
alias mutt='neomutt'
# Syntax highlighting cat if output is a terminal
cat() {
# Check if output is a terminal, else use regular cat
if [ -t 1 ]; then
nvimpager $@
else
/usr/bin/cat $@
fi
}
# Syntax highlighting cat
alias cat='bat'
rip() {
abcde