Update 2022-12-23 08:00 OpenBSD/amd64
This commit is contained in:
parent
e03c513330
commit
af16fb60e8
17
.bin/webdev
17
.bin/webdev
|
@ -13,20 +13,13 @@ then
|
||||||
window=1
|
window=1
|
||||||
tmux rename-window -t $session:$window 'edit'
|
tmux rename-window -t $session:$window 'edit'
|
||||||
tmux send-keys -t $session:$window 'cd ~/website/site' Enter
|
tmux send-keys -t $session:$window 'cd ~/website/site' Enter
|
||||||
if [ ! -z "$arg" ]
|
tmux send-keys -t $session:$window "nnn" Enter
|
||||||
then
|
|
||||||
tmux send-keys -t $session:$window "vim $arg" Enter
|
|
||||||
else
|
|
||||||
tmux send-keys -t $session:$window "nnn" Enter
|
|
||||||
fi
|
|
||||||
|
|
||||||
# window 2
|
tmux split-window -t $session:$window -v
|
||||||
window=2
|
tmux resize-pane -t $session:$window.1 -y 6
|
||||||
tmux new-window -t $session:$window -n 'build'
|
tmux send-keys -t $session:$window.1 'cd ~/website && make notify' Enter
|
||||||
tmux send-keys -t $session:$window 'cd ~/website && make notify' Enter
|
tmux select-pane -U
|
||||||
|
|
||||||
# switch back to window 1
|
|
||||||
tmux select-window -t $session:1
|
|
||||||
luakit -n -u http://localhost >/dev/null 2>&1
|
luakit -n -u http://localhost >/dev/null 2>&1
|
||||||
|
|
||||||
# attach to session
|
# attach to session
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
[user "git@git.codevoid.de:"]
|
||||||
|
name = Stefan Hagen
|
||||||
|
email = sh+git@codevoid.de
|
||||||
|
[user "git@github.wdf.sap.corp:"]
|
||||||
|
name = Stefan Hagen
|
||||||
|
email = stefan.hagen@sap.com
|
||||||
|
[user "git@github.infra.hana.ondemand.com:"]
|
||||||
|
name = Stefan Hagen
|
||||||
|
email = stefan.hagen@sap.com
|
||||||
|
[url "git@github.wdf.sap.corp:"]
|
||||||
|
insteadOf = https://github.wdf.sap.corp/
|
||||||
|
[url "git@github.infra.hana.ondemand.com:"]
|
||||||
|
insteadOf = https://github.infra.hana.ondemand.com/
|
||||||
|
[user "git@git.github.com:"]
|
||||||
|
name = c0dev0id
|
||||||
|
email = sh+github@codevoid.de
|
||||||
|
[user]
|
||||||
|
name = c0dev0id
|
||||||
|
email = sh+git@codevoid.de
|
||||||
|
[hub]
|
||||||
|
host = github.wdf.sap.corp
|
||||||
|
protocol = git
|
||||||
|
[http "https://github.wdf.sap.corp"]
|
||||||
|
sslVerify = false
|
||||||
|
[pull]
|
||||||
|
rebase = true
|
||||||
|
[push]
|
||||||
|
autoSetupRemote = true
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
[diff]
|
||||||
|
tool = vimdiff2
|
||||||
|
[merge]
|
||||||
|
tool = vimdiff2
|
||||||
|
[safe]
|
||||||
|
directory = /usr/src
|
||||||
|
directory = /usr/ports
|
||||||
|
directory = /usr/ports/mystuff
|
16
.tmux.conf
16
.tmux.conf
|
@ -26,18 +26,16 @@ unbind-key C-Left
|
||||||
unbind-key C-Right
|
unbind-key C-Right
|
||||||
|
|
||||||
# prefix + arrow creates pane in direction
|
# prefix + arrow creates pane in direction
|
||||||
bind Left split-window -h -b
|
bind | split-window -h
|
||||||
bind Right split-window -h
|
bind - split-window -v
|
||||||
bind Up split-window -v -b
|
|
||||||
bind Down split-window -v
|
|
||||||
unbind '"'
|
unbind '"'
|
||||||
unbind %
|
unbind %
|
||||||
|
|
||||||
# select panes using Ctrl-Arrow without prefix
|
# select panes using Ctrl-Arrow
|
||||||
bind -n M-Left select-pane -L
|
bind Left select-pane -L
|
||||||
bind -n M-Right select-pane -R
|
bind Right select-pane -R
|
||||||
bind -n M-Up select-pane -U
|
bind Up select-pane -U
|
||||||
bind -n M-Down select-pane -D
|
bind Down select-pane -D
|
||||||
|
|
||||||
# resize panes
|
# resize panes
|
||||||
bind -n C-Left resize-pane -L 1
|
bind -n C-Left resize-pane -L 1
|
||||||
|
|
Loading…
Reference in New Issue