mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
chezmoi: reorganise repo
This commit is contained in:
parent
b391e03c87
commit
67a78879db
278 changed files with 102 additions and 182 deletions
15
home/dot_config/screen/+colemak.screenrc
Normal file
15
home/dot_config/screen/+colemak.screenrc
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# vim: ft=screen
|
||||
|
||||
bind h focus left
|
||||
bind n focus down
|
||||
bind e focus up
|
||||
bind i focus right
|
||||
|
||||
bind H resize -h -5
|
||||
bind N resize -v +5
|
||||
bind E resize -v -5
|
||||
bind I resize -h +5
|
||||
|
||||
# Window navigation (prev/next)
|
||||
bind ^h prev
|
||||
bind ^i next
|
||||
16
home/dot_config/screen/+qwerty.screenrc
Normal file
16
home/dot_config/screen/+qwerty.screenrc
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# vim: ft=screen
|
||||
|
||||
bind h focus left
|
||||
bind j focus down
|
||||
bind k focus up
|
||||
bind l focus right
|
||||
|
||||
bind H resize -h -5
|
||||
bind J resize -v +5
|
||||
bind K resize -v -5
|
||||
bind L resize -h +5
|
||||
|
||||
# Window navigation (prev/next)
|
||||
bind ^h prev
|
||||
bind ^l next
|
||||
|
||||
56
home/dot_config/screen/screenrc
Normal file
56
home/dot_config/screen/screenrc
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
# export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
|
||||
# export SCREENDIR="${XDG_RUNTIME_DIR}/screen"
|
||||
# $XDG_CONFIG_HOME/screen/screenrc
|
||||
|
||||
# Set prefix key to Ctrl-a
|
||||
escape ^Aa
|
||||
# Allow sending Ctrl+a to applications by pressing Ctrl+a twice
|
||||
bind a command -c screen
|
||||
|
||||
# Enable mouse scrolling and click
|
||||
termcapinfo xterm* ti@:te@
|
||||
|
||||
# 256 colors support
|
||||
term screen-256color
|
||||
attrcolor b ".I"
|
||||
defbce "on"
|
||||
|
||||
# Set window titles
|
||||
autodetach on
|
||||
shelltitle "$ |bash"
|
||||
startup_message off
|
||||
altscreen on
|
||||
defscrollback 4096 # History limit
|
||||
|
||||
# Status line (similar to tmux status bar)
|
||||
hardstatus alwayslastline
|
||||
hardstatus string '%{= kG}[%{G}%H%{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c%{g}]'
|
||||
|
||||
# Start window numbering at 1
|
||||
bind c screen 1
|
||||
bind 0 select 10
|
||||
bind ^c screen 1
|
||||
screen 1
|
||||
|
||||
# Visual bell instead of audible bell
|
||||
vbell on
|
||||
vbell_msg " Bell "
|
||||
|
||||
# Window splitting with | and -
|
||||
# Note: Screen doesn't support true splitting like tmux
|
||||
# These commands just create regions, not true panes
|
||||
bind | split
|
||||
bind - split -v
|
||||
|
||||
# Default to vi keybindings
|
||||
defutf8 on
|
||||
defescape ^Aa
|
||||
markkeys h=^B:l=^F:$=^E:^U=^Z:^D=^V
|
||||
|
||||
bind x kill
|
||||
|
||||
source ~/.config/screen/+qwerty.screenrc
|
||||
|
||||
|
||||
# Reload config (not directly supported in screen, but added for reference)
|
||||
# To reload config in screen, you typically do Ctrl+a : source ~/.screenrc
|
||||
Loading…
Add table
Add a link
Reference in a new issue