mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
chezmoi: reorganise repo
This commit is contained in:
parent
b391e03c87
commit
67a78879db
278 changed files with 102 additions and 182 deletions
27
home/dot_config/lesskey
Normal file
27
home/dot_config/lesskey
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# $DOTFILES/common/lesskey
|
||||
# Date: 2024-12-22
|
||||
# Author: js0ny
|
||||
# Less the pager.
|
||||
|
||||
# Location:
|
||||
# *nix: $XDG_CONFIG_HOME/lesskey (Or specified by the environment variable $LESSKEYIN)
|
||||
# Windows: %LESSKEYIN% (environment variable, default: %UserProfile%/_lesskey)
|
||||
# $Env:LESSKEYIN = $Env:AppData\less\lesskey
|
||||
# Linking:
|
||||
# ln -sf $DOTFILES/common/lesskey ~/.config/lesskey
|
||||
# New-Item -ItemType SymbolicLink -Target $DOTFILES\common\lesskey -Path $Env:LESSKEYIN
|
||||
# ===========================================================
|
||||
# work for less -V > 582, for mac, use brew install less to override the system less
|
||||
# In Windows (current version), the default pager is `more`, should be specifed to `less` by `$Env:Pager = less`
|
||||
|
||||
# Format: key action
|
||||
|
||||
# Arrow Remap (hnei -> hjkl)
|
||||
n forw-line
|
||||
e back-line
|
||||
N forw-line-force
|
||||
E back-line-force
|
||||
|
||||
# search with k : ne[k]st
|
||||
k repeat-search
|
||||
K reverse-search
|
||||
Loading…
Add table
Add a link
Reference in a new issue