This commit is contained in:
js0ny 2024-10-20 19:53:52 +01:00
commit ffcb1082b4
5 changed files with 209 additions and 0 deletions

34
.tmux.conf Normal file
View file

@ -0,0 +1,34 @@
# Prefix
# -----------------
set-option -g prefix C-x
unbind C-b
bind C-x send-prefix
# Index
# -----------------
set -g base-index 1
set -g pane-base-index 1
# History
# -----------------
set -g history-limit 4096
# Reload Config
# -----------------
bind r source-file ~/.tmux.conf \; display "Reloaded Config"
# Vi Mode
# -----------------
set -g status-keys vi
set-window-option -g mode-keys vi
# Windows Management
# -----------------
bind | split-window -h
unbind '"'
bind - split-window -v
unbind %
bind h select-pane -L

View file

@ -0,0 +1,26 @@
{
"description": "CapsLock to ESC (alone) or LCommand (withKeys)",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_command"
}
],
"to_if_alone": [
{
"key_code": "escape"
}
],
"type": "basic"
}
]
}

View file

@ -0,0 +1,121 @@
{
"description": "lctrl + p/n/b/f/a/e to up/down/left/right/home/end",
"manipulators": [
{
"from": {
"key_code": "p",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "n",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "b",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "f",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "a",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": "command"
}
],
"type": "basic"
},
{
"from": {
"key_code": "e",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": "command"
}
],
"type": "basic"
}
]
}

View file

@ -0,0 +1,24 @@
{
"description": "Map fn+tab to cmd+tab",
"manipulators": [
{
"from": {
"key_code": "tab",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "tab",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
}

View file

@ -135,6 +135,10 @@ if (-not ($__lastStartup -eq $_currentDate)) {
$_currentDate | Out-File -FilePath $SystemlogFilePath -Append
}
Remove-Variable SystemlogFilePath
Remove-Variable __lastStartup
Remove-Variable _currentDate
## Chocolatey ##
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"