summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-03-02 03:09:49 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-03-02 03:09:49 +0000
commit9af72b1f31ee233b46aa59a5ba6da4f673a8efa1 (patch)
treeff30711e8596b2e6cfe1c176884f48abd4a0a948 /zshrc
parent919409ac45333a832dc566a92dbfd7bf21be84ba (diff)
automatic import of zshopeneuler20.03
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc19
1 files changed, 19 insertions, 0 deletions
diff --git a/zshrc b/zshrc
new file mode 100644
index 0000000..beeed68
--- /dev/null
+++ b/zshrc
@@ -0,0 +1,19 @@
+#
+# `.zshrc' is sourced in interactive shells. It should contain
+# commands to set up aliases, functions, options, key bindings, etc.
+#
+
+# Some nice key bindings
+#bindkey '^X^Z' universal-argument ' ' magic-space
+#bindkey '^X^A' vi-find-prev-char-skip
+#bindkey '^Xa' _expand_alias
+#bindkey '^Z' accept-and-hold
+#bindkey -s '\M-/' \\\\
+#bindkey -s '\M-=' \|
+
+# bindkey -v # vi key bindings
+
+bindkey -e # emacs key bindings
+bindkey ' ' magic-space # also do history expansion on space
+bindkey '^I' complete-word # complete on tab, leave expansion to _expand
+