Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
f5641594
Commit
f5641594
authored
Dec 14, 2015
by
Marc Cornellà
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'GNUletik-master'
Close #3627
parents
273063ad
95aa9bd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
key-bindings.zsh
lib/key-bindings.zsh
+8
-2
No files found.
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