Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
8ebf2a67
Commit
8ebf2a67
authored
May 12, 2018
by
Giuseppe Landolfi
Committed by
Marc Cornellà
May 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fine-tune dirhistory plugin mappings for Mac (#6580)
See
https://github.com/robbyrussell/oh-my-zsh/pull/6533#issuecomment-360878060
parent
18effd77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
dirhistory.plugin.zsh
plugins/dirhistory/dirhistory.plugin.zsh
+6
-2
No files found.
plugins/dirhistory/dirhistory.plugin.zsh
View file @
8ebf2a67
...
...
@@ -120,7 +120,9 @@ zle -N dirhistory_zle_dirhistory_back
bindkey
"
\e
[3D"
dirhistory_zle_dirhistory_back
bindkey
"
\e
[1;3D"
dirhistory_zle_dirhistory_back
# Mac teminal (alt+left/right)
bindkey
"^[b"
dirhistory_zle_dirhistory_back
if
[[
"
$TERM_PROGRAM
"
==
"Apple_Terminal"
]]
;
then
bindkey
"^[b"
dirhistory_zle_dirhistory_back
fi
# Putty:
bindkey
"
\e\e
[D"
dirhistory_zle_dirhistory_back
# GNU screen:
...
...
@@ -129,7 +131,9 @@ bindkey "\eO3D" dirhistory_zle_dirhistory_back
zle
-N
dirhistory_zle_dirhistory_future
bindkey
"
\e
[3C"
dirhistory_zle_dirhistory_future
bindkey
"
\e
[1;3C"
dirhistory_zle_dirhistory_future
bindkey
"^[f"
dirhistory_zle_dirhistory_future
if
[[
"
$TERM_PROGRAM
"
==
"Apple_Terminal"
]]
;
then
bindkey
"^[f"
dirhistory_zle_dirhistory_future
fi
bindkey
"
\e\e
[C"
dirhistory_zle_dirhistory_future
bindkey
"
\e
O3C"
dirhistory_zle_dirhistory_future
...
...
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