diff --git a/functions/bluetooth b/functions/bluetooth new file mode 100755 index 0000000..449be4f --- /dev/null +++ b/functions/bluetooth @@ -0,0 +1,4 @@ +#!/bin/sh + +bssid="$(bluetoothctl devices | dmenu -p "Devices: " -l 20 | cut -d' ' -f2)" +bluetoothctl connect "$bssid" diff --git a/sub/zsh/options b/sub/zsh/options index b02bde8..5c0783e 100644 --- a/sub/zsh/options +++ b/sub/zsh/options @@ -24,6 +24,8 @@ bindkey '^[[6~' end-of-buffer-or-history # page down bindkey '^[[H' beginning-of-line # home bindkey '^[[F' end-of-line # end bindkey '^[[Z' undo # shift + tab undo last action +bindkey '^K' up-line-or-history +bindkey '^J' down-line-or-history bindkey '^U' kill-whole-line bindkey -M vicmd '^U' kill-whole-line bindkey -M viins '^U' kill-whole-line