about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/.swpbin0 -> 12288 bytes
-rw-r--r--scripts/setup_keybindings.sh11
2 files changed, 11 insertions, 0 deletions
diff --git a/scripts/.swp b/scripts/.swp
new file mode 100644
index 000000000000..5f747da37c33
--- /dev/null
+++ b/scripts/.swp
Binary files differdiff --git a/scripts/setup_keybindings.sh b/scripts/setup_keybindings.sh
new file mode 100644
index 000000000000..872f3eea429b
--- /dev/null
+++ b/scripts/setup_keybindings.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+
+# This file is run after history_functions.sh have been sourced.
+# It converts the defined functions into zsh widgets that are
+# thereafter bound to keys for expedience.
+
+
+zle -N wh_two_back_widget wh_two_back &&
+bindkey '^@' wh_two_back_widget
+