less keymap

This commit is contained in:
thek4n 2023-12-06 10:57:30 +03:00
parent e870324c04
commit 0f61afbcfc
4 changed files with 6 additions and 3 deletions

View File

@ -5,7 +5,7 @@ export EDITOR="nvim"
export VISUAL="nvim" export VISUAL="nvim"
export PAGER="less" export PAGER="less"
export LESS="-nMiSR -+X -+F" export LESS="-nCMiSR -# 1 -+X -+F"
export CDPATH=:~:~/code export CDPATH=:~:~/code

View File

@ -1,7 +1,7 @@
[core] [core]
excludesfile = ~/.config/git/ignore excludesfile = ~/.config/git/ignore
editor = "$EDITOR" editor = "$EDITOR"
pager = "$PAGER -F" pager = "$PAGER -+C -F"
fileMode = false fileMode = false
hooksPath = ~/.config/git/hooks hooksPath = ~/.config/git/hooks

3
home/user/.lesskey Normal file
View File

@ -0,0 +1,3 @@
#command
h left-scroll
l right-scroll

View File

@ -11,7 +11,7 @@ export SUB
declare -r -A TARGETS=( declare -r -A TARGETS=(
["bash"]=".config/bash .bashrc .profile" ["bash"]=".config/bash .bashrc .profile .lesskey"
["zsh"]="%bash .config/zsh .zshrc .zprofile .zlogout .inputrc" ["zsh"]="%bash .config/zsh .zshrc .zprofile .zlogout .inputrc"
["tmux"]=".tmux.conf" ["tmux"]=".tmux.conf"
["alacritty"]=".config/alacritty" ["alacritty"]=".config/alacritty"