.bashrc: set PAGER & MANPAGER
This commit is contained in:
@@ -10,6 +10,13 @@ history_size=2000
|
|||||||
export HISTSIZE=${history_size}
|
export HISTSIZE=${history_size}
|
||||||
export HISTFILESIZE=${history_size}
|
export HISTFILESIZE=${history_size}
|
||||||
|
|
||||||
|
# configure pagers
|
||||||
|
export PAGER='less --use-color -R'
|
||||||
|
|
||||||
|
if $(which nvim >/dev/null); then
|
||||||
|
export MANPAGER='nvim +Man!'
|
||||||
|
fi
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
# [[ $- != *i* ]] && return
|
# [[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ vim.o.timeoutlen = 1500
|
|||||||
vim.o.splitbelow = true
|
vim.o.splitbelow = true
|
||||||
vim.o.splitright = true
|
vim.o.splitright = true
|
||||||
vim.o.conceallevel = 0
|
vim.o.conceallevel = 0
|
||||||
|
vim.o.fillchars = "vert:│,horiz:─"
|
||||||
|
|
||||||
-- history settings
|
-- history settings
|
||||||
vim.opt.list = true
|
vim.opt.list = true
|
||||||
|
|||||||
Reference in New Issue
Block a user