summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2017-10-08 13:36:30 +0200
committerjohannst <stoelp@eit.uni-kl.de>2017-10-08 13:36:30 +0200
commitbb709b4b07aca3a1e1d2dda8be72808fcf6e62f3 (patch)
treefbb2d2da281414d4c1235696aa617a6c0dc7bf77
parent58102debc85110c06b556e889daa40977417a005 (diff)
downloaddotfiles-bb709b4b07aca3a1e1d2dda8be72808fcf6e62f3.tar.gz
dotfiles-bb709b4b07aca3a1e1d2dda8be72808fcf6e62f3.zip
bashrc: Added functions to change keyboard loayout
-rw-r--r--bashrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index bd678cc..f51526d 100644
--- a/bashrc
+++ b/bashrc
@@ -15,9 +15,20 @@ set -o ignoreeof on
# remove permissions for others when creating file/folder
umask 0027
+function kbus {
+ setxkbmap us
+}
+
+function kbde {
+ setxkbmap de
+}
+
#}}}
#{{{ bash mode
+# list current readline mappings
+# bind -p
+
function vimode {
set -o vi
bind -m vi-insert '"jj":vi-movement-mode'