Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
f5641594
Commit
f5641594
authored
Dec 14, 2015
by
Marc Cornellà
Browse files
Merge branch 'GNUletik-master'
Close #3627
parents
273063ad
95aa9bd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/key-bindings.zsh
View file @
f5641594
...
...
@@ -27,11 +27,17 @@ if [[ "${terminfo[knp]}" != "" ]]; then
bindkey
"
${
terminfo
[knp]
}
"
down-line-or-history
# [PageDown] - Down a line of history
fi
# start typing + [Up-Arrow] - fuzzy find history forward
if
[[
"
${
terminfo
[kcuu1]
}
"
!=
""
]]
;
then
bindkey
"
${
terminfo
[kcuu1]
}
"
up-line-or-search
# start typing + [Up-Arrow] - fuzzy find history forward
autoload
-U
up-line-or-beginning-search
zle
-N
up-line-or-beginning-search
bindkey
"
${
terminfo
[kcuu1]
}
"
up-line-or-beginning-search
fi
# start typing + [Down-Arrow] - fuzzy find history backward
if
[[
"
${
terminfo
[kcud1]
}
"
!=
""
]]
;
then
bindkey
"
${
terminfo
[kcud1]
}
"
down-line-or-search
# start typing + [Down-Arrow] - fuzzy find history backward
autoload
-U
down-line-or-beginning-search
zle
-N
down-line-or-beginning-search
bindkey
"
${
terminfo
[kcud1]
}
"
down-line-or-beginning-search
fi
if
[[
"
${
terminfo
[khome]
}
"
!=
""
]]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment