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
Oh My Zsh
Commits
64e1252b
Commit
64e1252b
authored
Nov 20, 2015
by
Marc Cornellà
Browse files
Merge pull request #4623 from apjanke/dircycle-remove-redundant-bindings
dircycle: remove redundant key bindings
parents
5d8fd93c
c8e280f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/dircycle/dircycle.plugin.zsh
View file @
64e1252b
...
@@ -27,11 +27,11 @@ insert-cycledright () {
...
@@ -27,11 +27,11 @@ insert-cycledright () {
zle
-N
insert-cycledright
zle
-N
insert-cycledright
# add key bindings for iTerm2
# These sequences work for xterm, Apple Terminal.app, and probably others.
if
[[
"
$TERM_PROGRAM
"
==
"iTerm.app"
]]
;
then
# Not for rxvt-unicode, but it doesn't seem differentiate Ctrl-Shift-Arrow
bindkey
"^[[1;6D"
insert-cycledleft
# from plain Shift-Arrow, at least by default.
bindkey
"^[[1;6C"
insert-cycledright
# iTerm2 does not have these key combinations defined by default; you will need
else
# to add them under "Keys" in your profile if you want to use this. You can do
bindkey
"
\e
[1;6D"
insert-cycledleft
# this conveniently by loading the "xterm with Numeric Keypad" preset.
bindkey
"
\e
[1;6C"
insert-cycledright
bindkey
"
\e
[1;6D"
insert-cycledleft
fi
bindkey
"
\e
[1;6C"
insert-cycledright
\ No newline at end of file
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