aboutsummaryrefslogtreecommitdiff
path: root/.oh-my-zsh/plugins/man
diff options
context:
space:
mode:
authorMarvin Borner2020-03-16 23:33:42 +0100
committerMarvin Borner2020-03-16 23:33:42 +0100
commit0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 (patch)
tree719da1c7fe5dabb872fe9ff1582c39b55ccd488e /.oh-my-zsh/plugins/man
parente5d38956336ab1be954bdbd12808c5f98f8bd925 (diff)
Well I'm using Arch again
Diffstat (limited to '.oh-my-zsh/plugins/man')
-rw-r--r--.oh-my-zsh/plugins/man/README.md13
-rw-r--r--.oh-my-zsh/plugins/man/man.plugin.zsh27
2 files changed, 0 insertions, 40 deletions
diff --git a/.oh-my-zsh/plugins/man/README.md b/.oh-my-zsh/plugins/man/README.md
deleted file mode 100644
index 4601252..0000000
--- a/.oh-my-zsh/plugins/man/README.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# Man plugin
-
-This plugin adds a shortcut to insert man before the previous command.
-
-To use it, add `man` to the plugins array in your zshrc file:
-
-```zsh
-plugins=(... man)
-```
-# Keyboard Shortcuts
-| Shortcut | Description |
-|-----------------------------------|------------------------------------------------------------------------|
-| <kbd>Esc</kbd> + man | add man before the previous command to see the manual for this command |
diff --git a/.oh-my-zsh/plugins/man/man.plugin.zsh b/.oh-my-zsh/plugins/man/man.plugin.zsh
deleted file mode 100644
index 94aa491..0000000
--- a/.oh-my-zsh/plugins/man/man.plugin.zsh
+++ /dev/null
@@ -1,27 +0,0 @@
-# ------------------------------------------------------------------------------
-# Author
-# ------
-#
-# * Jerry Ling<jerryling315@gmail.com>
-#
-# ------------------------------------------------------------------------------
-# Usage
-# -----
-#
-# man will be inserted before the command
-#
-# ------------------------------------------------------------------------------
-
-man-command-line() {
- [[ -z $BUFFER ]] && zle up-history
- [[ $BUFFER != man\ * ]] && LBUFFER="man $LBUFFER"
-}
-zle -N man-command-line
-# Defined shortcut keys: [Esc]man
-bindkey "\e"man man-command-line
-
-
-# ------------------------------------------------------------------------------
-# Also, you might want to use man-preview included in 'osx' plugin
-# just substitute "man" in the function with "man-preview" after you included OS X in
-# the .zshrc