From 8126523aa39fed12d932bbaeed9723fec1b8f000 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 11 Jul 2025 18:33:31 +0800 Subject: Update --- X11/openbox/rc.xml | 2 +- alias | 6 ++++-- 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 @@ - powermenu + pkill -9 openbox diff --git a/alias b/alias index 7e87c88..19e7595 100644 --- a/alias +++ b/alias @@ -370,7 +370,7 @@ alias sv='sudo vim' alias vr='vim -R' alias vm='vim Makefile' # Edit last file -alias vl="vim -c 'norm '" +alias vl="vim -c 'norm '" # Use Telescope to select recent files vll() { vim -c 'Telescope oldfiles'; } # Apply defaut session @@ -470,7 +470,7 @@ github.raw() { # }}} # GIS {{{ alias oo='ogr2ogr' -alias oi='ogrinfo -al -so' +oi(){ ogrinfo -al -so $1 | grep -vE '^( |FID Column|Extent|PROJCRS|Data axis|WKT|Layer SRS|Geometry Column)'; } alias oseq='ogr2ogr -f GEOJSONSeq /vsistdout/' TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305' TAIWAN_BBOX_V='20.72799,118.1036,26.60305,122.9312' @@ -615,6 +615,8 @@ acme.issue() { } alias recall='cd /srv/recall' alias river='rclone mount r2:/river ~/Downloads/river' +alias cdl='cd ~/log' +alias cdbin='cd ~/.local/bin' # }}} # 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" set -ag terminal-overrides ",xterm-256color:RGB" set -sg escape-time 0 set -gw xterm-keys on +set-window-option -g mode-keys vi # prefix unbind C-b -- cgit v1.2.3-70-g09d2