diff options
-rw-r--r-- | X11/openbox/rc.xml | 2 | ||||
-rw-r--r-- | alias | 6 | ||||
-rw-r--r-- | tmux/tmux.conf | 1 |
3 files changed, 6 insertions, 3 deletions
diff --git a/X11/openbox/rc.xml b/X11/openbox/rc.xml index ffc6c67..46f23be 100644 --- a/X11/openbox/rc.xml +++ b/X11/openbox/rc.xml | |||
@@ -659,7 +659,7 @@ | |||
659 | </keybind> | 659 | </keybind> |
660 | <keybind key="W-x"> | 660 | <keybind key="W-x"> |
661 | <action name="Execute"> | 661 | <action name="Execute"> |
662 | <command>powermenu</command> | 662 | <command>pkill -9 openbox</command> |
663 | </action> | 663 | </action> |
664 | </keybind> | 664 | </keybind> |
665 | <keybind key="W-z"> | 665 | <keybind key="W-z"> |
@@ -370,7 +370,7 @@ alias sv='sudo vim' | |||
370 | alias vr='vim -R' | 370 | alias vr='vim -R' |
371 | alias vm='vim Makefile' | 371 | alias vm='vim Makefile' |
372 | # Edit last file | 372 | # Edit last file |
373 | alias vl="vim -c 'norm '" | 373 | alias vl="vim -c 'norm '" |
374 | # Use Telescope to select recent files | 374 | # Use Telescope to select recent files |
375 | vll() { vim -c 'Telescope oldfiles'; } | 375 | vll() { vim -c 'Telescope oldfiles'; } |
376 | # Apply defaut session | 376 | # Apply defaut session |
@@ -470,7 +470,7 @@ github.raw() { | |||
470 | # }}} | 470 | # }}} |
471 | # GIS {{{ | 471 | # GIS {{{ |
472 | alias oo='ogr2ogr' | 472 | alias oo='ogr2ogr' |
473 | alias oi='ogrinfo -al -so' | 473 | oi(){ ogrinfo -al -so $1 | grep -vE '^( |FID Column|Extent|PROJCRS|Data axis|WKT|Layer SRS|Geometry Column)'; } |
474 | alias oseq='ogr2ogr -f GEOJSONSeq /vsistdout/' | 474 | alias oseq='ogr2ogr -f GEOJSONSeq /vsistdout/' |
475 | TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305' | 475 | TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305' |
476 | TAIWAN_BBOX_V='20.72799,118.1036,26.60305,122.9312' | 476 | TAIWAN_BBOX_V='20.72799,118.1036,26.60305,122.9312' |
@@ -615,6 +615,8 @@ acme.issue() { | |||
615 | } | 615 | } |
616 | alias recall='cd /srv/recall' | 616 | alias recall='cd /srv/recall' |
617 | alias river='rclone mount r2:/river ~/Downloads/river' | 617 | alias river='rclone mount r2:/river ~/Downloads/river' |
618 | alias cdl='cd ~/log' | ||
619 | alias cdbin='cd ~/.local/bin' | ||
618 | # }}} | 620 | # }}} |
619 | 621 | ||
620 | # vim:fdm=marker fdl=0 | 622 | # vim:fdm=marker fdl=0 |
diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 1ddc877..307f761 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf | |||
@@ -5,6 +5,7 @@ set -g default-terminal "tmux-256color" | |||
5 | set -ag terminal-overrides ",xterm-256color:RGB" | 5 | set -ag terminal-overrides ",xterm-256color:RGB" |
6 | set -sg escape-time 0 | 6 | set -sg escape-time 0 |
7 | set -gw xterm-keys on | 7 | set -gw xterm-keys on |
8 | set-window-option -g mode-keys vi | ||
8 | 9 | ||
9 | # prefix | 10 | # prefix |
10 | unbind C-b | 11 | unbind C-b |