mirror of
https://github.com/SoPat712/dotfiles.git
synced 2026-02-10 08:48:39 -05:00
cleanup
This commit is contained in:
@@ -1,741 +0,0 @@
|
|||||||
*fugitive.txt* A Git wrapper so awesome, it should be illegal
|
|
||||||
|
|
||||||
Author: Tim Pope <http://tpo.pe/>
|
|
||||||
License: Same terms as Vim itself (see |license|)
|
|
||||||
|
|
||||||
This plugin is only available if 'compatible' is not set.
|
|
||||||
|
|
||||||
INTRODUCTION *fugitive*
|
|
||||||
|
|
||||||
Whenever you edit a file from a Git repository, a set of commands is defined
|
|
||||||
that serve as a gateway to Git.
|
|
||||||
|
|
||||||
COMMANDS *fugitive-commands*
|
|
||||||
|
|
||||||
These commands are local to the buffers in which they work (generally, buffers
|
|
||||||
that are part of Git repositories).
|
|
||||||
|
|
||||||
*fugitive-:G*
|
|
||||||
:G [args] Same as :Git, but two characters shorter.
|
|
||||||
|
|
||||||
*:Git*
|
|
||||||
:Git {args} Run an arbitrary git command and display any output.
|
|
||||||
On UNIX this uses a pty and on other platforms it uses
|
|
||||||
a pipe, which will cause some behavior differences
|
|
||||||
such as the absence of progress bars. Any file the
|
|
||||||
command edits (for example, a commit message) will be
|
|
||||||
loaded into a split window. Closing that window will
|
|
||||||
resume running the command. A few Git subcommands
|
|
||||||
have different behavior; these are documented below.
|
|
||||||
|
|
||||||
*:Git!*
|
|
||||||
:Git! {args} Run an arbitrary git command in the background and
|
|
||||||
stream the output to the preview window. Requires a
|
|
||||||
Vim with |setbufline()|. Press CTRL-D during an
|
|
||||||
interactive :Git invocation to switch to this mode
|
|
||||||
retroactively.
|
|
||||||
|
|
||||||
*:Git_--paginate* *:Git_-p*
|
|
||||||
:Git --paginate {args} Run an arbitrary git command, capture output to a temp
|
|
||||||
:Git -p {args} file, and |:split| that temp file. Pass ++curwin as
|
|
||||||
the first argument to |:edit| the temp file instead.
|
|
||||||
A temp file is always used for commands like diff and
|
|
||||||
log that typically uses a pager, and for any command
|
|
||||||
that has the pager.<cmd> Git configuration option set.
|
|
||||||
|
|
||||||
:{range}Git! --paginate {args}
|
|
||||||
:{range}Git! -p {args} Run an arbitrary git command, and insert the output
|
|
||||||
after {range} in the current buffer.
|
|
||||||
|
|
||||||
*fugitive-summary*
|
|
||||||
:Git With no arguments, bring up a summary window vaguely
|
|
||||||
akin to git-status. If a summary window is already
|
|
||||||
open for the current repository, it is focused
|
|
||||||
instead. Press g? or see |fugitive-maps| for usage.
|
|
||||||
|
|
||||||
*:Git_blame*
|
|
||||||
:Git blame [flags] Run git-blame [flags] on the current file and open the
|
|
||||||
results in a scroll-bound vertical split. The
|
|
||||||
following maps, which work on the cursor line commit
|
|
||||||
where sensible, are provided:
|
|
||||||
|
|
||||||
g? show this help
|
|
||||||
A resize to end of author column
|
|
||||||
C resize to end of commit column
|
|
||||||
D resize to end of date/time column
|
|
||||||
gq close blame, then |:Gedit| to return to work
|
|
||||||
tree version
|
|
||||||
<CR> close blame, and jump to patch that added line
|
|
||||||
(or directly to blob for boundary commit)
|
|
||||||
o jump to patch or blob in horizontal split
|
|
||||||
O jump to patch or blob in new tab
|
|
||||||
p jump to patch or blob in preview window
|
|
||||||
- reblame at commit
|
|
||||||
|
|
||||||
The maps |fugitive_P| and |fugitive_~| are also
|
|
||||||
supported to reblame on a parent commit, but this is
|
|
||||||
inherently fragile, as the line being blamed will no
|
|
||||||
longer exist. The preferred alternative is to use
|
|
||||||
<CR> to open up the commit, select the corresponding
|
|
||||||
`-` line that you care about, and press <CR> twice
|
|
||||||
more to reblame at that line. Viewing the commit also
|
|
||||||
gives you additional context as to why the line
|
|
||||||
changed.
|
|
||||||
|
|
||||||
*g:fugitive_dynamic_colors*
|
|
||||||
In the GUI or a 256 color terminal, commit hashes will
|
|
||||||
be highlighted in different colors. To disable this:
|
|
||||||
>
|
|
||||||
let g:fugitive_dynamic_colors = 0
|
|
||||||
<
|
|
||||||
:[range]Git blame [...] If a range is given, just that part of the file will
|
|
||||||
:Git blame [...] {file} be blamed, and a horizontal split without
|
|
||||||
scrollbinding is used. You can also give an arbitrary
|
|
||||||
filename.
|
|
||||||
|
|
||||||
*:Git_difftool*
|
|
||||||
:Git[!] difftool [args] Invoke `git diff [args]` and load the changes into the
|
|
||||||
quickfix list. Each changed hunk gets a separate
|
|
||||||
quickfix entry unless you pass an option like
|
|
||||||
--name-only or --name-status. Jumps to the first
|
|
||||||
change unless [!] is given.
|
|
||||||
|
|
||||||
:Git difftool -y [args] Invoke `git diff [args]`, open each changed file in a
|
|
||||||
new tab, and invoke |:Gdiffsplit!| against the
|
|
||||||
appropriate commit.
|
|
||||||
|
|
||||||
*:Git_mergetool*
|
|
||||||
:Git mergetool [args] Like |:Git_difftool|, but target merge conflicts.
|
|
||||||
|
|
||||||
Wrappers for Vim built-ins ~
|
|
||||||
|
|
||||||
These all directly map onto a built-in Vim command, and generally have names
|
|
||||||
that prepend "G" to the command they are wrapping. For example, :Ggrep is G
|
|
||||||
plus |:grep|.
|
|
||||||
|
|
||||||
*:Ggrep* *:Git_grep*
|
|
||||||
:Ggrep[!] [args] An approximation of |:grep|[!] with git-grep as
|
|
||||||
:Git[!] grep -O [args] 'grepprg'.
|
|
||||||
|
|
||||||
:Ggrep[!] --quiet [args]
|
|
||||||
:Ggrep[!] -q [args] Like |:Ggrep|, but instead of displaying output, open
|
|
||||||
the quickfix list.
|
|
||||||
|
|
||||||
*:Glgrep*
|
|
||||||
:Glgrep[!] [args] :Ggrep but for |:lgrep|.
|
|
||||||
:0Git[!] grep -O [args]
|
|
||||||
|
|
||||||
*:Gclog*
|
|
||||||
:Gclog[!] [args] Use git-log [args] to load the commit history into the
|
|
||||||
|quickfix| list. Jumps to the first commit unless [!]
|
|
||||||
is given. This command wraps |:cfile|.
|
|
||||||
|
|
||||||
The quickfix list can be awkward for many use cases
|
|
||||||
and exhibits extremely poor performance with larger
|
|
||||||
data sets. Consider using |:Git| log --oneline
|
|
||||||
instead.
|
|
||||||
|
|
||||||
:{range}Gclog[!] [args] Use git-log -L to load previous revisions of the given
|
|
||||||
range of the current file into the |quickfix| list.
|
|
||||||
The cursor is positioned on the first line of the
|
|
||||||
first diff hunk for each commit. Use :0Gclog to
|
|
||||||
target the entire file.
|
|
||||||
|
|
||||||
*:Gllog*
|
|
||||||
:Gllog [args] Like |:Gclog|, but use the location list instead of the
|
|
||||||
|quickfix| list.
|
|
||||||
|
|
||||||
*:Gcd*
|
|
||||||
:Gcd [directory] |:cd| relative to the repository.
|
|
||||||
|
|
||||||
*:Glcd*
|
|
||||||
:Glcd [directory] |:lcd| relative to the repository.
|
|
||||||
|
|
||||||
*:Gedit* *fugitive-:Ge*
|
|
||||||
:Gedit [object] |:edit| a |fugitive-object|.
|
|
||||||
|
|
||||||
*:Gsplit*
|
|
||||||
:Gsplit [object] |:split| a |fugitive-object|.
|
|
||||||
|
|
||||||
*:Gvsplit*
|
|
||||||
:Gvsplit [object] |:vsplit| a |fugitive-object|.
|
|
||||||
|
|
||||||
*:Gtabedit*
|
|
||||||
:Gtabedit [object] |:tabedit| a |fugitive-object|.
|
|
||||||
|
|
||||||
*:Gpedit*
|
|
||||||
:Gpedit [object] |:pedit| a |fugitive-object|.
|
|
||||||
|
|
||||||
*:Gdrop*
|
|
||||||
:Gdrop [object] |:drop| a |fugitive-object|.
|
|
||||||
|
|
||||||
*:Gread* *fugitive-:Gr*
|
|
||||||
:Gread [object] Empty the buffer and |:read| a |fugitive-object|.
|
|
||||||
When the argument is omitted, this is similar to
|
|
||||||
git-checkout on a work tree file or git-add on a stage
|
|
||||||
file, but without writing anything to disk.
|
|
||||||
|
|
||||||
:{range}Gread [object] |:read| in a |fugitive-object| after {range}.
|
|
||||||
|
|
||||||
*:Gwrite* *fugitive-:Gw*
|
|
||||||
:Gwrite Write to the current file's path and stage the results.
|
|
||||||
When run in a work tree file, it is effectively git
|
|
||||||
add. Elsewhere, it is effectively git-checkout. A
|
|
||||||
great deal of effort is expended to behave sensibly
|
|
||||||
when the work tree or index version of the file is
|
|
||||||
open in another buffer.
|
|
||||||
|
|
||||||
:Gwrite {path} You can give |:Gwrite| an explicit path of where in
|
|
||||||
the work tree to write. You can also give a path like
|
|
||||||
:0:foo.txt or :0:% to write to just that stage in
|
|
||||||
the index.
|
|
||||||
|
|
||||||
*:Gwq*
|
|
||||||
:Gwq [path] Like |:Gwrite| followed by |:quit| if the write
|
|
||||||
succeeded.
|
|
||||||
|
|
||||||
:Gwq! [path] Like |:Gwrite|! followed by |:quit|! if the write
|
|
||||||
succeeded.
|
|
||||||
|
|
||||||
*:Gdiffsplit*
|
|
||||||
:Gdiffsplit [object] Perform a |vimdiff| against the given file, or if a
|
|
||||||
commit is given, the current file in that commit.
|
|
||||||
With no argument, the version in the index or work
|
|
||||||
tree is used, and the work tree version is always
|
|
||||||
placed to the right or bottom, depending on available
|
|
||||||
width. Use Vim's |do| and |dp| to stage and unstage
|
|
||||||
changes.
|
|
||||||
|
|
||||||
*:Gdiffsplit!*
|
|
||||||
:Gdiffsplit! Diff against any and all direct ancestors, retaining
|
|
||||||
focus on the current window. During a merge conflict,
|
|
||||||
this is a three-way diff against the "ours" and
|
|
||||||
"theirs" ancestors. Additional d2o and d3o maps are
|
|
||||||
provided to obtain the hunk from the "ours" or
|
|
||||||
"theirs" ancestor, respectively.
|
|
||||||
|
|
||||||
:Gdiffsplit! {object} Like |:Gdiffsplit|, but retain focus on the current
|
|
||||||
window.
|
|
||||||
|
|
||||||
*:Gvdiffsplit*
|
|
||||||
:Gvdiffsplit [object] Like |:Gdiffsplit|, but always split vertically.
|
|
||||||
|
|
||||||
*:Ghdiffsplit*
|
|
||||||
:Gdiffsplit ++novertical [object]
|
|
||||||
:Ghdiffsplit [object] Like |:Gdiffsplit|, but with "vertical" removed from
|
|
||||||
'diffopt'. The split will still be vertical if
|
|
||||||
combined with |:vertical|.
|
|
||||||
|
|
||||||
Other commands ~
|
|
||||||
|
|
||||||
These do not directly correspond to any built-in Vim command, and have a
|
|
||||||
capital letter after the "G" to convey this. For example, the file move
|
|
||||||
operation has nothing to do with the |:move| built-in, so it is named :GMove,
|
|
||||||
not :Gmove.
|
|
||||||
|
|
||||||
*:GMove*
|
|
||||||
:GMove {destination} Wrapper around git-mv that renames the buffer
|
|
||||||
afterward. Add a ! to pass -f.
|
|
||||||
|
|
||||||
*:GRename*
|
|
||||||
:GRename {destination} Like |:GMove| but operates relative to the parent
|
|
||||||
directory of the current file.
|
|
||||||
|
|
||||||
*:GDelete*
|
|
||||||
:GDelete Wrapper around git-rm that deletes the buffer
|
|
||||||
afterward. When invoked in an index file, --cached is
|
|
||||||
passed. Add a ! to pass -f and forcefully discard the
|
|
||||||
buffer.
|
|
||||||
|
|
||||||
*:GRemove* *:GUnlink*
|
|
||||||
:GRemove Like |:GDelete|, but keep the (now empty) buffer around.
|
|
||||||
:GUnlink
|
|
||||||
|
|
||||||
*:GBrowse*
|
|
||||||
:GBrowse Open the current file, blob, tree, commit, or tag
|
|
||||||
in your browser at the upstream hosting provider.
|
|
||||||
Upstream providers can be added by installing an
|
|
||||||
appropriate Vim plugin. For example, GitHub can be
|
|
||||||
supported by installing rhubarb.vim, available at
|
|
||||||
<https://github.com/tpope/vim-rhubarb>.
|
|
||||||
|
|
||||||
:GBrowse {object} Like :GBrowse, but for a given |fugitive-object|.
|
|
||||||
|
|
||||||
:{range}GBrowse [args] Appends an anchor to the URL that emphasizes the
|
|
||||||
selected lines. This also forces the URL to include a
|
|
||||||
commit rather than a branch name so it remains valid
|
|
||||||
if the file changes. You can give a range of "0" to
|
|
||||||
force this behavior without including an anchor.
|
|
||||||
|
|
||||||
:GBrowse [...]@{remote} Force using the given remote rather than the remote
|
|
||||||
for the current branch. The remote is used to
|
|
||||||
determine which upstream repository to link to.
|
|
||||||
|
|
||||||
:GBrowse {url} Open an arbitrary URL in your browser.
|
|
||||||
|
|
||||||
:[range]GBrowse! [args] Like :GBrowse, but put the URL on the clipboard rather
|
|
||||||
than opening it.
|
|
||||||
|
|
||||||
MAPS *fugitive-maps*
|
|
||||||
|
|
||||||
These maps are available in both the |fugitive-summary| buffer and Fugitive
|
|
||||||
object buffers, although not all maps make sense in all buffers. Mappings
|
|
||||||
that operate on the file or hunk under the cursor are generally available in
|
|
||||||
visual mode to operate on multiple files or partial hunks.
|
|
||||||
|
|
||||||
*fugitive-staging-maps*
|
|
||||||
Staging/unstaging maps ~
|
|
||||||
|
|
||||||
*fugitive_s*
|
|
||||||
s Stage (add) the file or hunk under the cursor.
|
|
||||||
|
|
||||||
*fugitive_u*
|
|
||||||
u Unstage (reset) the file or hunk under the cursor.
|
|
||||||
|
|
||||||
*fugitive_-*
|
|
||||||
- Stage or unstage the file or hunk under the cursor.
|
|
||||||
|
|
||||||
*fugitive_U*
|
|
||||||
U Unstage everything.
|
|
||||||
|
|
||||||
*fugitive_X*
|
|
||||||
X Discard the change under the cursor. This uses
|
|
||||||
`checkout` or `clean` under the hood. A command is
|
|
||||||
echoed that shows how to undo the change. Consult
|
|
||||||
`:messages` to see it again. During a merge conflict,
|
|
||||||
use 2X to call `checkout --ours` or 3X to call
|
|
||||||
`checkout --theirs` .
|
|
||||||
|
|
||||||
*fugitive_=*
|
|
||||||
= Toggle an inline diff of the file under the cursor.
|
|
||||||
|
|
||||||
*fugitive_>*
|
|
||||||
> Insert an inline diff of the file under the cursor.
|
|
||||||
|
|
||||||
*fugitive_<*
|
|
||||||
< Remove the inline diff of the file under the cursor.
|
|
||||||
|
|
||||||
*fugitive_gI*
|
|
||||||
gI Open .git/info/exclude in a split and add the file
|
|
||||||
under the cursor. Use a count to open .gitignore.
|
|
||||||
|
|
||||||
*fugitive_I*
|
|
||||||
I Invoke |:Git| add --patch or reset --patch on the file
|
|
||||||
P under the cursor. On untracked files, this instead
|
|
||||||
calls |:Git| add --intent-to-add.
|
|
||||||
|
|
||||||
*fugitive_d*
|
|
||||||
Diff maps ~
|
|
||||||
*fugitive_dp*
|
|
||||||
dp Invoke |:Git| diff on the file under the cursor.
|
|
||||||
Deprecated in favor of inline diffs.
|
|
||||||
|
|
||||||
*fugitive_dd*
|
|
||||||
dd Perform a |:Gdiffsplit| on the file under the cursor.
|
|
||||||
|
|
||||||
*fugitive_dv*
|
|
||||||
dv Perform a |:Gvdiffsplit| on the file under the cursor.
|
|
||||||
|
|
||||||
*fugitive_ds* *fugitive_dh*
|
|
||||||
ds Perform a |:Ghdiffsplit| on the file under the cursor.
|
|
||||||
dh
|
|
||||||
|
|
||||||
*fugitive_dq*
|
|
||||||
dq Close all but one diff buffer, and |:diffoff|! the
|
|
||||||
last one.
|
|
||||||
|
|
||||||
*fugitive_d?*
|
|
||||||
d? Show this help.
|
|
||||||
|
|
||||||
*fugitive-navigation-maps*
|
|
||||||
Navigation maps ~
|
|
||||||
|
|
||||||
*fugitive_<CR>*
|
|
||||||
<CR> Open the file or |fugitive-object| under the cursor.
|
|
||||||
In a blob, this and similar maps jump to the patch
|
|
||||||
from the diff where this was added, or where it was
|
|
||||||
removed if a count was given. If the line is still in
|
|
||||||
the work tree version, passing a count takes you to
|
|
||||||
it.
|
|
||||||
|
|
||||||
*fugitive_o*
|
|
||||||
o Open the file or |fugitive-object| under the cursor in
|
|
||||||
a new split.
|
|
||||||
|
|
||||||
*fugitive_gO*
|
|
||||||
gO Open the file or |fugitive-object| under the cursor in
|
|
||||||
a new vertical split.
|
|
||||||
|
|
||||||
*fugitive_O*
|
|
||||||
O Open the file or |fugitive-object| under the cursor in
|
|
||||||
a new tab.
|
|
||||||
|
|
||||||
*fugitive_p*
|
|
||||||
p Open the file or |fugitive-object| under the cursor in
|
|
||||||
a preview window. In the status buffer, 1p is
|
|
||||||
required to bypass the legacy usage instructions.
|
|
||||||
|
|
||||||
*fugitive_~*
|
|
||||||
~ Open the current file in the [count]th first ancestor.
|
|
||||||
|
|
||||||
*fugitive_P*
|
|
||||||
P Open the current file in the [count]th parent.
|
|
||||||
|
|
||||||
*fugitive_C*
|
|
||||||
C Open the commit containing the current file.
|
|
||||||
|
|
||||||
*fugitive_CTRL-P* *fugitive_(*
|
|
||||||
( Jump to the previous file, hunk, or revision.
|
|
||||||
|
|
||||||
*fugitive_CTRL-N* *fugitive_)*
|
|
||||||
) Jump to the next file, hunk, or revision.
|
|
||||||
|
|
||||||
*fugitive_[c*
|
|
||||||
[c Jump to previous hunk, expanding inline diffs
|
|
||||||
automatically. (This shadows the Vim built-in |[c|
|
|
||||||
that provides a similar operation in |diff| mode.)
|
|
||||||
|
|
||||||
*fugitive_]c*
|
|
||||||
]c Jump to next hunk, expanding inline diffs
|
|
||||||
automatically. (This shadows the Vim built-in |]c|
|
|
||||||
that provides a similar operation in |diff| mode.)
|
|
||||||
|
|
||||||
*fugitive_[/* *fugitive_[m*
|
|
||||||
[/ Jump to previous file, collapsing inline diffs
|
|
||||||
[m automatically. (Mnemonic: "/" appears in filenames,
|
|
||||||
"m" appears in "filenames".)
|
|
||||||
|
|
||||||
*fugitive_]/* *fugitive_]m*
|
|
||||||
]/ Jump to next file, collapsing inline diffs
|
|
||||||
]m automatically. (Mnemonic: "/" appears in filenames,
|
|
||||||
"m" appears in "filenames".)
|
|
||||||
|
|
||||||
*fugitive_i*
|
|
||||||
i Jump to the next file or hunk, expanding inline diffs
|
|
||||||
automatically.
|
|
||||||
|
|
||||||
*fugitive_[[*
|
|
||||||
[[ Jump [count] sections backward.
|
|
||||||
|
|
||||||
*fugitive_]]*
|
|
||||||
]] Jump [count] sections forward.
|
|
||||||
|
|
||||||
*fugitive_[]*
|
|
||||||
[] Jump [count] section ends backward.
|
|
||||||
|
|
||||||
*fugitive_][*
|
|
||||||
][ Jump [count] section ends forward.
|
|
||||||
|
|
||||||
*fugitive_star*
|
|
||||||
* On the first column of a + or - diff line, search for
|
|
||||||
the corresponding - or + line. Otherwise, defer to
|
|
||||||
built-in |star|.
|
|
||||||
|
|
||||||
*fugitive_#*
|
|
||||||
# Same as "*", but search backward.
|
|
||||||
|
|
||||||
*fugitive_gu*
|
|
||||||
gu Jump to file [count] in the "Untracked" or "Unstaged"
|
|
||||||
section.
|
|
||||||
|
|
||||||
*fugitive_gU*
|
|
||||||
gU Jump to file [count] in the "Unstaged" section.
|
|
||||||
|
|
||||||
*fugitive_gs*
|
|
||||||
gs Jump to file [count] in the "Staged" section.
|
|
||||||
|
|
||||||
*fugitive_gp*
|
|
||||||
gp Jump to file [count] in the "Unpushed" section.
|
|
||||||
|
|
||||||
*fugitive_gP*
|
|
||||||
gP Jump to file [count] in the "Unpulled" section.
|
|
||||||
|
|
||||||
*fugitive_gr*
|
|
||||||
gr Jump to file [count] in the "Rebasing" section.
|
|
||||||
|
|
||||||
*fugitive_gi*
|
|
||||||
gi Open .git/info/exclude in a split. Use a count to
|
|
||||||
open .gitignore.
|
|
||||||
|
|
||||||
*fugitive_c*
|
|
||||||
Commit maps ~
|
|
||||||
|
|
||||||
cc Create a commit.
|
|
||||||
|
|
||||||
ca Amend the last commit and edit the message.
|
|
||||||
|
|
||||||
ce Amend the last commit without editing the message.
|
|
||||||
|
|
||||||
cw Reword the last commit.
|
|
||||||
|
|
||||||
cvc Create a commit with -v.
|
|
||||||
|
|
||||||
cva Amend the last commit with -v
|
|
||||||
|
|
||||||
cf Create a `fixup!` commit for the commit under the
|
|
||||||
cursor.
|
|
||||||
|
|
||||||
cF Create a `fixup!` commit for the commit under the
|
|
||||||
cursor and immediately rebase it.
|
|
||||||
|
|
||||||
cs Create a `squash!` commit for the commit under the
|
|
||||||
cursor.
|
|
||||||
|
|
||||||
cS Create a `squash!` commit for the commit under the
|
|
||||||
cursor and immediately rebase it.
|
|
||||||
|
|
||||||
cA Create a `squash!` commit for the commit under the
|
|
||||||
cursor and edit the message.
|
|
||||||
|
|
||||||
c<Space> Populate command line with ":Git commit ".
|
|
||||||
|
|
||||||
*fugitive_cr*
|
|
||||||
crc Revert the commit under the cursor.
|
|
||||||
|
|
||||||
crn Revert the commit under the cursor in the index and
|
|
||||||
work tree, but do not actually commit the changes.
|
|
||||||
|
|
||||||
cr<Space> Populate command line with ":Git revert ".
|
|
||||||
|
|
||||||
*fugitive_cm*
|
|
||||||
cm<Space> Populate command line with ":Git merge ".
|
|
||||||
|
|
||||||
c? Show this help.
|
|
||||||
|
|
||||||
*fugitive_cb*
|
|
||||||
*fugitive_co*
|
|
||||||
Checkout/branch maps ~
|
|
||||||
|
|
||||||
coo Check out the commit under the cursor.
|
|
||||||
|
|
||||||
cb<Space> Populate command line with ":Git branch ".
|
|
||||||
|
|
||||||
co<Space> Populate command line with ":Git checkout ".
|
|
||||||
|
|
||||||
cb? Show this help.
|
|
||||||
co?
|
|
||||||
|
|
||||||
*fugitive_cz*
|
|
||||||
Stash maps ~
|
|
||||||
|
|
||||||
czz Push stash. Pass a [count] of 1 to add
|
|
||||||
`--include-untracked` or 2 to add `--all`.
|
|
||||||
|
|
||||||
czw Push stash of the work-tree. Like `czz` with
|
|
||||||
`--keep-index`.
|
|
||||||
|
|
||||||
czs Push stash of the stage. Does not accept a count.
|
|
||||||
|
|
||||||
czA Apply topmost stash, or stash@{count}.
|
|
||||||
|
|
||||||
cza Apply topmost stash, or stash@{count}, preserving the
|
|
||||||
index.
|
|
||||||
|
|
||||||
czP Pop topmost stash, or stash@{count}.
|
|
||||||
|
|
||||||
czp Pop topmost stash, or stash@{count}, preserving the
|
|
||||||
index.
|
|
||||||
|
|
||||||
cz<Space> Populate command line with ":Git stash ".
|
|
||||||
|
|
||||||
cz? Show this help.
|
|
||||||
|
|
||||||
*fugitive_r*
|
|
||||||
Rebase maps ~
|
|
||||||
|
|
||||||
ri Perform an interactive rebase. Uses ancestor of
|
|
||||||
u commit under cursor as upstream if available.
|
|
||||||
|
|
||||||
rf Perform an autosquash rebase without editing the todo
|
|
||||||
list. Uses ancestor of commit under cursor as
|
|
||||||
upstream if available.
|
|
||||||
|
|
||||||
ru Perform an interactive rebase against @{upstream}.
|
|
||||||
|
|
||||||
rp Perform an interactive rebase against @{push}.
|
|
||||||
|
|
||||||
rr Continue the current rebase.
|
|
||||||
|
|
||||||
rs Skip the current commit and continue the current
|
|
||||||
rebase.
|
|
||||||
|
|
||||||
ra Abort the current rebase.
|
|
||||||
|
|
||||||
re Edit the current rebase todo list.
|
|
||||||
|
|
||||||
rw Perform an interactive rebase with the commit under
|
|
||||||
the cursor set to `reword`.
|
|
||||||
|
|
||||||
rm Perform an interactive rebase with the commit under
|
|
||||||
the cursor set to `edit`.
|
|
||||||
|
|
||||||
rd Perform an interactive rebase with the commit under
|
|
||||||
the cursor set to `drop`.
|
|
||||||
|
|
||||||
r<Space> Populate command line with ":Git rebase ".
|
|
||||||
|
|
||||||
r? Show this help.
|
|
||||||
|
|
||||||
*fugitive-misc-maps*
|
|
||||||
Miscellaneous maps ~
|
|
||||||
|
|
||||||
*fugitive_gq* *fugitive_q*
|
|
||||||
gq Close the status buffer.
|
|
||||||
|
|
||||||
*fugitive_.*
|
|
||||||
. Start a |:| command line with the file under the
|
|
||||||
cursor prepopulated.
|
|
||||||
|
|
||||||
*fugitive_g?*
|
|
||||||
g? Show help for |fugitive-maps|.
|
|
||||||
|
|
||||||
*fugitive-global-maps*
|
|
||||||
Global maps ~
|
|
||||||
|
|
||||||
*fugitive_c_CTRL-R_CTRL-G*
|
|
||||||
<C-R><C-G> On the command line, recall the path to the current
|
|
||||||
|fugitive-object| (that is, a representation of the
|
|
||||||
object recognized by |:Gedit|).
|
|
||||||
|
|
||||||
*fugitive_y_CTRL-G*
|
|
||||||
["x]y<C-G> Yank the path to the current |fugitive-object|.
|
|
||||||
|
|
||||||
*g:fugitive_no_maps*
|
|
||||||
Global maps can be disabled with the g:fugitive_no_maps option.
|
|
||||||
>
|
|
||||||
let g:fugitive_no_maps = 1
|
|
||||||
<
|
|
||||||
SPECIFYING OBJECTS *fugitive-object* *fugitive-revision*
|
|
||||||
|
|
||||||
Fugitive objects are either work tree files or Git revisions as defined in the
|
|
||||||
"SPECIFYING REVISIONS" section in the git-rev-parse man page, with expansions
|
|
||||||
inspired by |cmdline-special| layered on top. For commands that accept an
|
|
||||||
optional object, the default is the file in the index for work tree files and
|
|
||||||
the work tree file for everything else. Example objects follow.
|
|
||||||
|
|
||||||
Object Meaning ~
|
|
||||||
@ The commit referenced by @ aka HEAD
|
|
||||||
master The commit referenced by master
|
|
||||||
master^ The parent of the commit referenced by master
|
|
||||||
master...other The merge base of master and other
|
|
||||||
master: The tree referenced by master
|
|
||||||
./master The file named master in the working directory
|
|
||||||
:(top)master The file named master in the work tree
|
|
||||||
Makefile The file named Makefile in the work tree
|
|
||||||
@^:Makefile The file named Makefile in the parent of HEAD
|
|
||||||
:Makefile The file named Makefile in the index (writable)
|
|
||||||
@~2:% The current file in the grandparent of HEAD
|
|
||||||
:% The current file in the index
|
|
||||||
:1:% The current file's common ancestor during a conflict
|
|
||||||
:2:# The alternate file in the target branch during a conflict
|
|
||||||
:3:#5 The file from buffer #5 in the merged branch during a conflict
|
|
||||||
! The commit owning the current file
|
|
||||||
!:Makefile The file named Makefile in the commit owning the current file
|
|
||||||
!3^2 The second parent of the commit owning buffer #3
|
|
||||||
.git/config The repo config file
|
|
||||||
: The |fugitive-summary| buffer
|
|
||||||
- A temp file containing the last |:Git| invocation's output
|
|
||||||
<cfile> The file or commit under the cursor
|
|
||||||
|
|
||||||
STATUSLINE *fugitive-statusline*
|
|
||||||
|
|
||||||
*FugitiveStatusline()* *fugitive#statusline()*
|
|
||||||
Add %{FugitiveStatusline()} to your statusline to get an indicator including
|
|
||||||
the current branch and the currently edited file's commit. If you don't have
|
|
||||||
a statusline, this one matches the default when 'ruler' is set:
|
|
||||||
>
|
|
||||||
set statusline=%<%f\ %h%m%r%{FugitiveStatusline()}%=%-14.(%l,%c%V%)\ %P
|
|
||||||
<
|
|
||||||
AUTOCOMMANDS *fugitive-autocommands*
|
|
||||||
|
|
||||||
A handful of |User| |autocommands| are provided to allow extending and
|
|
||||||
overriding Fugitive behaviors. Example usage:
|
|
||||||
>
|
|
||||||
autocmd User FugitiveBlob,FugitiveStageBlob call s:BlobOverrides()
|
|
||||||
<
|
|
||||||
*User_FugitiveTag*
|
|
||||||
FugitiveTag After loading a tag object.
|
|
||||||
|
|
||||||
*User_FugitiveCommit*
|
|
||||||
FugitiveCommit After loading a commit object.
|
|
||||||
|
|
||||||
*User_FugitiveTree*
|
|
||||||
FugitiveTree After loading a tree (directory) object.
|
|
||||||
|
|
||||||
*User_FugitiveBlob*
|
|
||||||
FugitiveBlob After loading a committed blob (file) object.
|
|
||||||
|
|
||||||
*User_FugitiveObject*
|
|
||||||
FugitiveObject After loading any of the 4 above buffer types.
|
|
||||||
|
|
||||||
*User_FugitiveStageBlob*
|
|
||||||
FugitiveStageBlob After loading a staged blob (file) object. These
|
|
||||||
buffers are 'modifiable' and oftentimes don't want the
|
|
||||||
same behavior as the other buffer types.
|
|
||||||
|
|
||||||
*User_FugitiveIndex*
|
|
||||||
FugitiveIndex After loading the |fugitive-summary| buffer.
|
|
||||||
|
|
||||||
*User_FugitivePager*
|
|
||||||
FugitivePager After loading a temp file created by a command like
|
|
||||||
:Git --paginate or :Git blame.
|
|
||||||
|
|
||||||
*User_FugitiveEditor*
|
|
||||||
FugitiveEditor After a :Git command (e.g., :Git commit) edits a file
|
|
||||||
(e.g., the commit message).
|
|
||||||
|
|
||||||
*User_FugitiveChanged*
|
|
||||||
FugitiveChanged After any event which can potentially change the
|
|
||||||
repository, for example, any invocation of |:Git|.
|
|
||||||
Originally intended for expiring caches, but can have
|
|
||||||
other uses.
|
|
||||||
|
|
||||||
API *fugitive-api*
|
|
||||||
|
|
||||||
Officially supported functions are documented inline in plugin/fugitive.vim.
|
|
||||||
|
|
||||||
DEPRECATIONS *fugitive-deprecated*
|
|
||||||
|
|
||||||
The following commands are deprecated in favor of replacements that adhere to
|
|
||||||
a new naming scheme. Remember that |:Git| can be shortened to |:G|, so
|
|
||||||
replacements using it are just one space character longer than the legacy
|
|
||||||
version.
|
|
||||||
|
|
||||||
*:Gremove* Superseded by |:GRemove|.
|
|
||||||
*:Gdelete* Superseded by |:GDelete|.
|
|
||||||
*:Gmove* Superseded by |:GMove|.
|
|
||||||
*:Grename* Superseded by |:GRename|.
|
|
||||||
*:Gbrowse* Superseded by |:GBrowse|.
|
|
||||||
*:Gdiff* Superseded by |:Gdiffsplit|
|
|
||||||
*:Gsdiff* Superseded by |:Ghdiffsplit|
|
|
||||||
*:Gvdiff* Superseded by |:Gvdiffsplit| or |:vert| |:Gdiffsplit|.
|
|
||||||
*:Gblame* Superseded by |:Git_blame|.
|
|
||||||
*:Gcommit* Superseded by |:Git| commit.
|
|
||||||
*:Gmerge* Superseded by |:Git| merge and |:Git_mergetool|.
|
|
||||||
*:Gpull* Superseded by |:Git| pull.
|
|
||||||
*:Grebase* Superseded by |:Git| rebase.
|
|
||||||
*:Grevert* Superseded by |:Git| revert.
|
|
||||||
*:Gpush* Superseded by |:Git| push.
|
|
||||||
*:Gfetch* Superseded by |:Git| fetch.
|
|
||||||
*:Glog* Superseded by |:Gclog|.
|
|
||||||
*:Gstatus* Superseded by |:Git| (with no arguments).
|
|
||||||
*:Gsplit!* Superseded by |:Git_--paginate|.
|
|
||||||
*:Gvsplit!* Superseded by :vert Git --paginate.
|
|
||||||
*:Gtabsplit!* Superseded by :tab Git --paginate.
|
|
||||||
*:Gpedit!* Superseded by :Git! --paginate.
|
|
||||||
|
|
||||||
*User_Fugitive*
|
|
||||||
Fugitive used to support `:autocmd User Fugitive` to run an autocommand after
|
|
||||||
loading any buffer belonging to a Git repository, but this has been phased
|
|
||||||
out. Instead, one can leverage regular autocommand events like |BufNewFile|
|
|
||||||
and |BufReadPost|, and check !empty(FugitiveGitDir()) to confirm Fugitive has
|
|
||||||
found a repository. See also |fugitive-autocommands| for other, more
|
|
||||||
selective events.
|
|
||||||
|
|
||||||
ABOUT *fugitive-about*
|
|
||||||
|
|
||||||
Grab the latest version or report a bug on GitHub:
|
|
||||||
|
|
||||||
https://github.com/tpope/vim-fugitive
|
|
||||||
|
|
||||||
vim:tw=78:et:ft=help:norl:
|
|
||||||
@@ -1,1753 +0,0 @@
|
|||||||
*neobundle.txt* Next generation Vim package manager
|
|
||||||
|
|
||||||
Version: 4.0
|
|
||||||
Author: Shougo <Shougo.Matsu at gmail.com>
|
|
||||||
Copyright (C) 2010 http://github.com/gmarik
|
|
||||||
License: MIT license {{{
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of this software and associated documentation files (the
|
|
||||||
"Software"), to deal in the Software without restriction, including
|
|
||||||
without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
the following conditions:
|
|
||||||
The above copyright notice and this permission notice shall be included
|
|
||||||
in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
}}}
|
|
||||||
|
|
||||||
CONTENTS *neobundle-contents*
|
|
||||||
|
|
||||||
Introduction |neobundle-introduction|
|
|
||||||
Usage |neobundle-usage|
|
|
||||||
Install |neobundle-install|
|
|
||||||
Interface |neobundle-interface|
|
|
||||||
Functions |neobundle-functions|
|
|
||||||
Commands |neobundle-commands|
|
|
||||||
Variables |neobundle-variables|
|
|
||||||
Options |neobundle-options|
|
|
||||||
Configuration Examples |neobundle-examples|
|
|
||||||
Migrating from Pathogen |neobundle-migrate-from-pathogen|
|
|
||||||
Unite sources |neobundle-unite-sources|
|
|
||||||
FAQ |neobundle-faq|
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
INTRODUCTION *neobundle-introduction*
|
|
||||||
|
|
||||||
*neobundle* is the next generation Vim package manager. This plugin is based on
|
|
||||||
Vundle (https://github.com/gmarik/vundle), but I renamed and added tons of
|
|
||||||
features. Because, Vundle's author does not want to add huge features in
|
|
||||||
Vundle.
|
|
||||||
|
|
||||||
Note: Neobundle is not a stable plugin manager. If you want a stable plugin
|
|
||||||
manager, you should use Vundle plugin. It works well widely and it is more
|
|
||||||
tested. If you want to use extended features, you can use neobundle.
|
|
||||||
|
|
||||||
Vundle features: Stable, simple, good for beginners
|
|
||||||
Neobundle features: Early development (may break compatibility), very complex,
|
|
||||||
good for plugin power users (for example, 50+ plugins and over 1000 lines
|
|
||||||
.vimrc, ...)
|
|
||||||
|
|
||||||
Neobundle features:
|
|
||||||
* Uses |vimproc| if available
|
|
||||||
* Uses neovim async jobs feature if available
|
|
||||||
* |unite.vim| interface
|
|
||||||
* Revision lock
|
|
||||||
* Supports svn/Mercurial repositories besides Git
|
|
||||||
* Can use a different base path
|
|
||||||
* Vundle like syntax
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
USAGE *neobundle-usage*
|
|
||||||
|
|
||||||
Refer to the example:
|
|
||||||
|neobundle-examples|
|
|
||||||
|
|
||||||
Run this command to update your bundled plugins:
|
|
||||||
>
|
|
||||||
:NeoBundleUpdate
|
|
||||||
<
|
|
||||||
Note: To use the unite.vim interface, run this command (requires |unite.vim|):
|
|
||||||
>
|
|
||||||
:Unite neobundle/update
|
|
||||||
<
|
|
||||||
Settings for this plugin are compatible with Vundle.vim :-)
|
|
||||||
|
|
||||||
You can search popular plugins and add neobundle settings at Vimpusher
|
|
||||||
(registration required):
|
|
||||||
http://www.vimpusher.com/
|
|
||||||
Or at vim-scripts.org:
|
|
||||||
http://vim-scripts.org/
|
|
||||||
|
|
||||||
Neobundle now features a plugin search for vim.org scripts (requires
|
|
||||||
|unite.vim|)
|
|
||||||
>
|
|
||||||
:Unite neobundle/search
|
|
||||||
<
|
|
||||||
==============================================================================
|
|
||||||
INSTALL *neobundle-install*
|
|
||||||
|
|
||||||
Requirements:
|
|
||||||
* Vim 7.2.051 or above.
|
|
||||||
* "git" command in $PATH (if you want to install github or vim.org plugins)
|
|
||||||
|
|
||||||
First of all, git clone the repository.
|
|
||||||
|
|
||||||
Note: You need to have git installed.
|
|
||||||
>
|
|
||||||
$ mkdir ~/.vim/bundle
|
|
||||||
$ git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
|
|
||||||
<
|
|
||||||
And set up a path to the repository directory.
|
|
||||||
>
|
|
||||||
set runtimepath+={path to neobundle directory}
|
|
||||||
<
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
set runtimepath+=~/.vim/bundle/neobundle.vim
|
|
||||||
<
|
|
||||||
Now configure your bundles. (Refer to |neobundle-examples|)
|
|
||||||
|
|
||||||
Run the |:NeoBundleInstall| command to install your plugins.
|
|
||||||
>
|
|
||||||
$ vim +NeoBundleInstall +q
|
|
||||||
|
|
||||||
or
|
|
||||||
>
|
|
||||||
$ . ~/.vim/bundle/neobundle.vim/bin/neoinstall
|
|
||||||
<
|
|
||||||
Note: To use neoinstall in Windows, Vim command must be in $PATH. >
|
|
||||||
> .vim/bundle/neobundle.vim/bin/neoinstall
|
|
||||||
Note: To update and build vimproc in Windows, you can use
|
|
||||||
"neoinstall_novimproc" command. >
|
|
||||||
> .vim/bundle/neobundle.vim/bin/neoinstall_novimproc vimproc.vim
|
|
||||||
|
|
||||||
neoinstall can take arguments (install/update plugin names).
|
|
||||||
>
|
|
||||||
# Build vimproc before install plugins
|
|
||||||
$ . ~/.vim/bundle/neobundle.vim/bin/neoinstall vimproc.vim
|
|
||||||
<
|
|
||||||
==============================================================================
|
|
||||||
INTERFACE *neobundle-interface*
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
FUNCTIONS *neobundle-functions*
|
|
||||||
|
|
||||||
neobundle#begin([{base-path}]) *neobundle#begin()*
|
|
||||||
Initializes neobundle.vim and start neobundle bundles
|
|
||||||
configuration block.
|
|
||||||
{base-path} is where your downloaded plugins will be placed.
|
|
||||||
|
|
||||||
If {base-path} is omitted, neobundle looks for "~/.vim/bundle"
|
|
||||||
or "~/.config/nvim/bundle" directory.
|
|
||||||
Note: But recommend you to specify the {base-path}.
|
|
||||||
|
|
||||||
Note: You must not call the function inside a
|
|
||||||
"has('vim_starting')" block.
|
|
||||||
Note: You can use |neobundle#begin()| / |neobundle#end()| block
|
|
||||||
only once in your .vimrc.
|
|
||||||
|
|
||||||
Note: It executes ":filetype off" automatically.
|
|
||||||
Note: You must execute |:NeoBundle| commands in
|
|
||||||
|neobundle#begin()| or |neobundle#append()| block.
|
|
||||||
>
|
|
||||||
if &compatible
|
|
||||||
set nocompatible
|
|
||||||
endif
|
|
||||||
set runtimepath+={path to neobundle directory}
|
|
||||||
|
|
||||||
call neobundle#begin(expand('~/.vim/bundle'))
|
|
||||||
|
|
||||||
NeoBundle 'https://github.com/Shougo/neocomplcache.git'
|
|
||||||
...
|
|
||||||
|
|
||||||
call neobundle#end()
|
|
||||||
|
|
||||||
filetype plugin indent on
|
|
||||||
<
|
|
||||||
|
|
||||||
neobundle#append() *neobundle#append()*
|
|
||||||
Start neobundle bundles configuration block.
|
|
||||||
You can use multiple |neobundle#append()| / |neobundle#end()|
|
|
||||||
blocks in your .vimrc.
|
|
||||||
Note: It does not initialize neobundle. You must call
|
|
||||||
|neobundle#begin()| at first.
|
|
||||||
Note: It executes ":filetype off" automatically.
|
|
||||||
Note: You must execute |:NeoBundle| commands in
|
|
||||||
|neobundle#begin()| or |neobundle#append()| block.
|
|
||||||
|
|
||||||
neobundle#end() *neobundle#end()*
|
|
||||||
End neobundle bundles configuration block.
|
|
||||||
|
|
||||||
neobundle#add({repository}[, {options}]) *neobundle#add()*
|
|
||||||
The function version of |:NeoBundle|.
|
|
||||||
Note: You must call it in |neobundle#begin()| or
|
|
||||||
|neobundle#append()| block.
|
|
||||||
|
|
||||||
neobundle#add_meta({repository}[, {options}]) *neobundle#add_meta()*
|
|
||||||
Initialize a bundle from the metadata {name}.
|
|
||||||
Note: You must call it in |neobundle#begin()| or
|
|
||||||
|neobundle#append()| block. >
|
|
||||||
|
|
||||||
" It installs vimshell and vimproc
|
|
||||||
call neobundle#add_meta('vimshell')
|
|
||||||
|
|
||||||
neobundle#source({bundle-names}) *neobundle#source()*
|
|
||||||
Same as |:NeoBundleSource|.
|
|
||||||
{bundle-names} is a list of bundle names.
|
|
||||||
|
|
||||||
*neobundle#exists_not_installed_bundles()*
|
|
||||||
neobundle#exists_not_installed_bundles()
|
|
||||||
Checks if there are any bundles that are not installed.
|
|
||||||
|
|
||||||
*neobundle#get_not_installed_bundle_names()*
|
|
||||||
neobundle#get_not_installed_bundle_names()
|
|
||||||
Returns the names of bundles that are not installed.
|
|
||||||
|
|
||||||
*neobundle#is_installed()*
|
|
||||||
neobundle#is_installed({bundle-name})
|
|
||||||
Checks if bundle {bundle-name} is installed.
|
|
||||||
|
|
||||||
*neobundle#is_sourced()*
|
|
||||||
neobundle#is_sourced({bundle-name})
|
|
||||||
Checks if bundle {bundle-name} is loaded.
|
|
||||||
|
|
||||||
*neobundle#local()*
|
|
||||||
neobundle#local({directory}, [{options}, [{names}]])
|
|
||||||
Adds the subdirectories in {directory} to
|
|
||||||
'runtimepath', like |pathogen| does. See |neobundle-options|
|
|
||||||
for keys to set in {options}.
|
|
||||||
If {names} is given, {names} directories are only loaded.
|
|
||||||
{names} is |wildcards| list.
|
|
||||||
Note: |:NeoBundleLocal| is a shortcut for this function.
|
|
||||||
>
|
|
||||||
" Load plugin from "~/.vim/bundle".
|
|
||||||
call neobundle#local("~/.vim/bundle", {})
|
|
||||||
" Load plugin1 and plugin2 from "~/.vim/bundle".
|
|
||||||
call neobundle#local("~/.vim/bundle",
|
|
||||||
\ {}, ['plugin1', 'plugin2', 'vim-*', '*.vim'])
|
|
||||||
<
|
|
||||||
*neobundle#load_toml()*
|
|
||||||
neobundle#load_toml({filename}, [{options}])
|
|
||||||
Load TOML plugin configurations from {filename}. See
|
|
||||||
|neobundle-options| for keys to set in {options}.
|
|
||||||
Note: TOML parser is slow. You should use neobundle cache
|
|
||||||
feature.
|
|
||||||
|
|
||||||
TOML file format specification:
|
|
||||||
https://github.com/toml-lang/toml
|
|
||||||
Note: Original TOML parser is created by kamichidu.
|
|
||||||
https://github.com/kamichidu
|
|
||||||
>
|
|
||||||
" Load toml from "~/.vim/bundle.toml".
|
|
||||||
call neobundle#load_toml("~/.vim/bundle.toml", {})
|
|
||||||
<
|
|
||||||
TOML file sample is here:
|
|
||||||
>
|
|
||||||
# TOML sample
|
|
||||||
[[plugins]]
|
|
||||||
# repository name is required.
|
|
||||||
repo = 'kana/vim-niceblock'
|
|
||||||
on_map = '<Plug>'
|
|
||||||
|
|
||||||
[[plugins]]
|
|
||||||
repo = 'Shougo/neosnippet.vim'
|
|
||||||
depends = ['Shougo/neosnippet-snippets',
|
|
||||||
'Shougo/context_filetype.vim']
|
|
||||||
on_i = 1
|
|
||||||
on_ft = 'snippet'
|
|
||||||
|
|
||||||
[[plugins.depends]]
|
|
||||||
repo = 'honza/vim-snippet'
|
|
||||||
name = 'honza-snippet'
|
|
||||||
|
|
||||||
[[plugins]]
|
|
||||||
repo = 'Shougo/neobundle.vim'
|
|
||||||
fetch = 1
|
|
||||||
|
|
||||||
[[plugins]]
|
|
||||||
repo = 'Shougo/vimproc.vim'
|
|
||||||
|
|
||||||
[plugins.build]
|
|
||||||
windows = 'tools\\update-dll-mingw'
|
|
||||||
cygwin = 'make -f make_cygwin.mak'
|
|
||||||
mac = 'make -f make_mac.mak'
|
|
||||||
unix = 'make -f make_unix.mak'
|
|
||||||
<
|
|
||||||
neobundle#get({bundle-name}) *neobundle#get()*
|
|
||||||
Get the neobundle options dictionary for {bundle-name}.
|
|
||||||
Useful for setting hooks.
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
NeoBundle 'tyru/open-browser.vim', '', 'same', {
|
|
||||||
\ 'on_map' : '<Plug>',
|
|
||||||
\ }
|
|
||||||
nmap gs <Plug>(open-browser-wwwsearch)
|
|
||||||
|
|
||||||
let bundle = neobundle#get('open-browser.vim')
|
|
||||||
function! bundle.hooks.on_source(bundle)
|
|
||||||
nnoremap <Plug>(open-browser-wwwsearch)
|
|
||||||
\ :<C-u>call <SID>www_search()<CR>
|
|
||||||
function! s:www_search()
|
|
||||||
let search_word = input('Please input search word: ', '',
|
|
||||||
\ 'customlist,wwwsearch#cmd_Wwwsearch_complete')
|
|
||||||
if search_word != ''
|
|
||||||
execute 'OpenBrowserSearch' escape(search_word, '"')
|
|
||||||
endif
|
|
||||||
endfunction
|
|
||||||
endfunction
|
|
||||||
<
|
|
||||||
neobundle#get_hooks({bundle-name}) *neobundle#get_hooks()*
|
|
||||||
Get the neobundle "hooks" dictionary for {bundle-name}.
|
|
||||||
Useful for setting hooks.
|
|
||||||
|
|
||||||
neobundle#call_hook({hook-name}) *neobundle#call_hook()*
|
|
||||||
Calls the hook {hook-name}.
|
|
||||||
Note: If {hook-name} is "on_source", neobundle will call
|
|
||||||
"on_source" hooks in sourced bundles.
|
|
||||||
|
|
||||||
neobundle#bundle({repository}, [{options}]) *neobundle#bundle()*
|
|
||||||
Initialize a bundle.
|
|
||||||
If {repository} is list, you can initialize options in
|
|
||||||
multiple bundles.
|
|
||||||
Note: You can use this function instead of |:NeoBundle|
|
|
||||||
command.
|
|
||||||
|
|
||||||
neobundle#config({bundle-name}, {options}) *neobundle#config()*
|
|
||||||
neobundle#config({options})
|
|
||||||
Change bundle options for {bundle-name}.
|
|
||||||
It you omit {bundle-name}, it uses |neobundle#tapped|
|
|
||||||
variable.
|
|
||||||
If {bundle-name} is list, you can change options in multiple
|
|
||||||
bundles.
|
|
||||||
If {bundle-name} is not configured, it will print error
|
|
||||||
messages.
|
|
||||||
If {bundle-name} is already loaded, it will ignore.
|
|
||||||
|
|
||||||
Note: To lazy-load a plugin, you can set the "lazy" flag after
|
|
||||||
calling |:NeoBundle| or |:NeoBundleLocal|.
|
|
||||||
Note: You must call it within
|
|
||||||
|neobundle#begin()|/|neobundle#end()| block.
|
|
||||||
>
|
|
||||||
NeoBundle 'Shougo/neocomplcache'
|
|
||||||
call neobundle#config('neocomplcache', {
|
|
||||||
\ 'lazy' : 1,
|
|
||||||
\ 'on_i' : 1,
|
|
||||||
\ })
|
|
||||||
<
|
|
||||||
neobundle#tap({bundle-name}) *neobundle#tap()*
|
|
||||||
Initialize |neobundle#tapped| and |neobundle#hooks| variable
|
|
||||||
as {bundle-name} bundle.
|
|
||||||
It returns non-zero if {bundle-name} is exists and not
|
|
||||||
disabled.
|
|
||||||
>
|
|
||||||
if neobundle#tap('foo')
|
|
||||||
" If foo plugin is installed and enabled
|
|
||||||
|
|
||||||
" neobundle#hooks is syntax sugar
|
|
||||||
function! neobundle#hooks.on_source(bundle)
|
|
||||||
" Settings, Init, ...
|
|
||||||
" Timing of adding rtp
|
|
||||||
" Like vimrc time
|
|
||||||
let g:foo#bar = 1
|
|
||||||
let g:foo#path = a:bundle.path
|
|
||||||
call foo#baz()
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! neobundle#hooks.on_post_source(bundle)
|
|
||||||
" Settings, Init, ...
|
|
||||||
" Timing of after source plugin files
|
|
||||||
" Like VimEnter time
|
|
||||||
let g:foo#bar = 3
|
|
||||||
call foo#bazbaz()
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
" Define plugin mappings, commands, ...
|
|
||||||
map f <Plug>(foo)
|
|
||||||
command! FOO call foo#foo()
|
|
||||||
|
|
||||||
call neobundle#untap()
|
|
||||||
endif
|
|
||||||
<
|
|
||||||
neobundle#untap() *neobundle#untap()*
|
|
||||||
Clear current |neobundle#tapped| and |neobundle#hooks| variable.
|
|
||||||
|
|
||||||
neobundle#has_cache() *neobundle#has_cache()*
|
|
||||||
Checks if a cache file is available.
|
|
||||||
Note: It is deprecated. You should use
|
|
||||||
|neobundle#load_cache()| instead of it.
|
|
||||||
|
|
||||||
neobundle#load_cache([{vimrcs}]) *neobundle#load_cache()*
|
|
||||||
Load plugin configuration from the cache file,
|
|
||||||
which is located in `neobundle#get_rtp_dir() . '/cache'`.
|
|
||||||
{vimrcs} is a list of compared .vimrc and/or other configuration
|
|
||||||
files. The default is |$MYVIMRC|.
|
|
||||||
|
|
||||||
It returns 1, if the cache file is old or invalid or not
|
|
||||||
found.
|
|
||||||
|
|
||||||
The default cache location can be overridden through
|
|
||||||
|g:neobundle#cache_file|.
|
|
||||||
>
|
|
||||||
if neobundle#load_cache()
|
|
||||||
" My Bundles here:
|
|
||||||
" ...
|
|
||||||
NeoBundleSaveCache
|
|
||||||
endif
|
|
||||||
<
|
|
||||||
If you use multiple configuration files,
|
|
||||||
>
|
|
||||||
if neobundle#load_cache($MYVIMRC, 'plugin.vim', 'plugin.toml')
|
|
||||||
" My Bundles here or other files spcified as arguments
|
|
||||||
" ...
|
|
||||||
NeoBundleSaveCache
|
|
||||||
endif
|
|
||||||
<
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
COMMANDS *neobundle-commands*
|
|
||||||
|
|
||||||
*:NeoBundle*
|
|
||||||
:NeoBundle {repository} [[,{revision}] [,{options}]]
|
|
||||||
:NeoBundle {repository} ,{revision}, {default} [,{options}]]
|
|
||||||
Initialize a bundle.
|
|
||||||
{repository} is the repository URI. {revision} is the desired
|
|
||||||
revision or branch name. If omitted, the current latest
|
|
||||||
revision will be used. {default} is a "default options
|
|
||||||
name" (See |g:neobundle#default_options|).
|
|
||||||
Note: Don't set neobundle setting in .gvimrc!
|
|
||||||
Note: If you omit the protocol (ex: https) for a git
|
|
||||||
repo, |g:neobundle#types#git#default_protocol| is used.
|
|
||||||
Note: |neobundle-options-lazy| is set automatically.
|
|
||||||
|
|
||||||
Note: If you manage bundle by neobundle, it may be error
|
|
||||||
occurred when update bundles.
|
|
||||||
|
|
||||||
See |neobundle-options| for what to set in {options}.
|
|
||||||
|
|
||||||
:NeoBundleInstall [{name}...] *:NeoBundleInstall*
|
|
||||||
Installs plugins specified by {name}. {name} is
|
|
||||||
fuzzy-searched. If {name} is omitted, all configured plugins
|
|
||||||
are installed.
|
|
||||||
Note: {name}s are plugin names like "neobundle.vim", not
|
|
||||||
"Shougo/neobundle.vim".
|
|
||||||
Note: neobundle cannot use neovim async jobs feature in the
|
|
||||||
command. If you want to use the feature, you should use unite
|
|
||||||
interface instead.
|
|
||||||
|
|
||||||
:NeoBundleInstall! [{name}...] *:NeoBundleInstall!*
|
|
||||||
Same as |:NeoBundleUpdate|.
|
|
||||||
|
|
||||||
:NeoBundleUpdate [{name}...] *:NeoBundleUpdate*
|
|
||||||
Installs and updates plugins specified by {name}. {name} is
|
|
||||||
fuzzy-searched. If {name} is omitted, all configured plugins
|
|
||||||
are installed and updated, except if they are outdated or have
|
|
||||||
the "frozen" option set.
|
|
||||||
Note: {name}s are plugin names like "neobundle.vim", not
|
|
||||||
"Shougo/neobundle.vim".
|
|
||||||
Note: neobundle cannot use neovim async jobs feature in the
|
|
||||||
command. If you want to use the feature, you should use unite
|
|
||||||
interface instead.
|
|
||||||
|
|
||||||
:NeoBundleUpdate! [{name}...] *:NeoBundleUpdate!*
|
|
||||||
Same as |:NeoBundleUpdate|, except that it disregards the
|
|
||||||
"frozen" option.
|
|
||||||
|
|
||||||
:NeoBundleReinstall [{name}...] *:NeoBundleReinstall*
|
|
||||||
Reinstalls the bundles specified by {name}.
|
|
||||||
If the bundles are "none" type or local plugins, they are
|
|
||||||
ignored.
|
|
||||||
Note: It removes the bundles and installs them. It is the
|
|
||||||
dangerous command.
|
|
||||||
|
|
||||||
:NeoBundleList *:NeoBundleList*
|
|
||||||
Prints a list of configured bundles.
|
|
||||||
|
|
||||||
:NeoBundleLog *:NeoBundleLog*
|
|
||||||
Prints all previous install logs.
|
|
||||||
|
|
||||||
:NeoBundleUpdatesLog *:NeoBundleUpdatesLog*
|
|
||||||
Prints previous update logs.
|
|
||||||
|
|
||||||
:NeoBundleLocal {base-directory-path} *:NeoBundleLocal*
|
|
||||||
Registers a bundle from the directories in
|
|
||||||
{base-directory-path} like pathogen does.
|
|
||||||
|
|
||||||
Note: If you want to use neobundle like pathogen.vim, you
|
|
||||||
should set a different base path from the standard neobundle
|
|
||||||
bundles path.
|
|
||||||
>
|
|
||||||
NeoBundleLocal ~/.vim/bundle
|
|
||||||
<
|
|
||||||
*:NeoBundleLazy*
|
|
||||||
:NeoBundleLazy {repository} [[,{revision}] [,{options}]]
|
|
||||||
:NeoBundleLazy {repository} ,{revision}, {default} [,{options}]]
|
|
||||||
Registers a bundle, but doesn't add it to 'runtimepath'.
|
|
||||||
Note: If you want to know slow loading plugins, you should use
|
|
||||||
the external tool or |--startuptime|.
|
|
||||||
https://github.com/hyiltiz/vim-plugins-profile
|
|
||||||
>
|
|
||||||
NeoBundleLazy 'The-NERD-tree', {'augroup' : 'NERDTree'}
|
|
||||||
NeoBundleSource The-NERD-tree
|
|
||||||
<
|
|
||||||
You can use it to load plugins for specific filetypes.
|
|
||||||
>
|
|
||||||
NeoBundleLazy 'Rip-Rip/clang_complete'
|
|
||||||
autocmd FileType c,cpp NeoBundleSource clang_complete
|
|
||||||
<
|
|
||||||
:NeoBundleSource [{name}...] *:NeoBundleSource*
|
|
||||||
|:source| the bundles specified by {name}.
|
|
||||||
If {name} is omitted, |:source| all lazy bundles.
|
|
||||||
Note: This command is used to load the bundles configured with
|
|
||||||
|:NeoBundleLazy|.
|
|
||||||
|
|
||||||
:NeoBundleFetch {repository} [, {options}] *:NeoBundleFetch*
|
|
||||||
Registers a bundle, but doesn't add it to 'runtimepath'.
|
|
||||||
Unlike |:NeoBundleLazy|, you cannot load the bundle with
|
|
||||||
|:NeoBundleSource|. This command is useful for managing
|
|
||||||
non-Vim plugins using neobundle.
|
|
||||||
>
|
|
||||||
NeoBundleFetch 'davidhalter/jedi'
|
|
||||||
<
|
|
||||||
:NeoBundleDocs *:NeoBundleDocs*
|
|
||||||
Execute |:helptags| for all bundles manually.
|
|
||||||
|
|
||||||
*:NeoBundleDirectInstall*
|
|
||||||
:NeoBundleDirectInstall {repository} [, {options}]
|
|
||||||
Registers a bundle, and installs it directly.
|
|
||||||
Note: The settings are saved in "extra_bundles.vim" in
|
|
||||||
|neobundle#begin()| directory.
|
|
||||||
Note: To remove direct installed bundles, you must delete
|
|
||||||
plugin settings manually in "extra_bundles.vim" in
|
|
||||||
|neobundle#begin()| directory.
|
|
||||||
>
|
|
||||||
NeoBundleDirectInstall 'Shougo/neocomplcache'
|
|
||||||
<
|
|
||||||
*:NeoBundleExtraEdit*
|
|
||||||
:NeoBundleExtraEdit
|
|
||||||
Edit extra bundles configuration easily.
|
|
||||||
|
|
||||||
:NeoBundleDisable {name}... *:NeoBundleDisable*
|
|
||||||
Disables bundles specified by {name}. If a bundle is
|
|
||||||
disabled, its path will be removed from 'runtimepath'.
|
|
||||||
Note: This command must be executed before neobundle loads
|
|
||||||
the plugins(after |neobundle#end()|).
|
|
||||||
|
|
||||||
:NeoBundleCheck *:NeoBundleCheck*
|
|
||||||
Check plugins installation. If plugins are not installed, it
|
|
||||||
will execute |:NeoBundleInstall| automatically. This command
|
|
||||||
also check documentation directories and will execute
|
|
||||||
|:NeoBundleDocs| automatically.
|
|
||||||
|
|
||||||
:NeoBundleCheckUpdate [{name}...] *:NeoBundleCheckUpdate*
|
|
||||||
Check plugins update specified by {name}. If updates are
|
|
||||||
available, it will execute |:NeoBundleUpdate| automatically.
|
|
||||||
Note: It is supported in git type only.
|
|
||||||
|
|
||||||
*:NeoBundleCount*
|
|
||||||
:NeoBundleCount
|
|
||||||
Show bundles count. You can know how many bundles you have.
|
|
||||||
|
|
||||||
*:NeoBundleGC*
|
|
||||||
:NeoBundleGC [{bundle-names}]
|
|
||||||
Execute Garbage Collect commands in bundles.
|
|
||||||
If {bundle-name} is omit, all bundles will be GCed.
|
|
||||||
|
|
||||||
*:NeoBundleSaveCache*
|
|
||||||
:NeoBundleSaveCache
|
|
||||||
Save plugin configuration in the cache file.
|
|
||||||
Note: It cannot save functions for example "hooks" member.
|
|
||||||
Note: It is available when loading .vimrc.
|
|
||||||
|
|
||||||
*:NeoBundleLoadCache*
|
|
||||||
:NeoBundleLoadCache
|
|
||||||
Load plugin configuration from the cache file,
|
|
||||||
which is located in `neobundle#get_rtp_dir() . '/cache'`.
|
|
||||||
|
|
||||||
Note: It is deprecated. You should use
|
|
||||||
|neobundle#load_cache()| instead of it.
|
|
||||||
|
|
||||||
*:NeoBundleClearCache*
|
|
||||||
:NeoBundleClearCache
|
|
||||||
Clear the configuration cache file.
|
|
||||||
|
|
||||||
*:NeoBundleRollback*
|
|
||||||
:NeoBundleRollback {bundle-name}
|
|
||||||
Rollback {bundle-name} plugin version to previous updated
|
|
||||||
version.
|
|
||||||
Note: If you rollbacked the plugin, you cannot update it by
|
|
||||||
|:NeoBundleUpdate| command. If you want to update it, you
|
|
||||||
must reinstall the plugin by |:NeoBundleReinstall| command.
|
|
||||||
|
|
||||||
*:NeoBundleRemotePlugins*
|
|
||||||
:NeoBundleRemotePlugins
|
|
||||||
Load not loaded neovim |:remote-plugin| and execute
|
|
||||||
|:UpdateRemotePlugins| command.
|
|
||||||
It is better than |:UpdateRemotePlugins| for neobundle
|
|
||||||
autoloading feature.
|
|
||||||
Note: It is valid in neovim.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
VARIABLES *neobundle-variables*
|
|
||||||
|
|
||||||
g:neobundle#cache_file *g:neobundle#cache_file*
|
|
||||||
The cache file to use.
|
|
||||||
|
|
||||||
The default is provided through
|
|
||||||
neobundle#commands#get_default_cache_file():
|
|
||||||
>
|
|
||||||
neobundle#get_rtp_dir() . '/cache'
|
|
||||||
<
|
|
||||||
neobundle#tapped *neobundle#tapped*
|
|
||||||
Current bundle variable set by |neobundle#tap()|.
|
|
||||||
|
|
||||||
neobundle#hooks *neobundle#hooks*
|
|
||||||
Current bundle hooks variable set by |neobundle#tap()|.
|
|
||||||
|
|
||||||
g:neobundle#default_site *g:neobundle#default_site*
|
|
||||||
The default repository site if "site" option is omitted.
|
|
||||||
|
|
||||||
Defaults to "github".
|
|
||||||
|
|
||||||
g:neobundle#log_filename *g:neobundle#log_filename*
|
|
||||||
The log filename. Set it to "" to disable logging.
|
|
||||||
|
|
||||||
Defaults to "".
|
|
||||||
|
|
||||||
*g:neobundle#enable_name_conversion*
|
|
||||||
g:neobundle#enable_name_conversion
|
|
||||||
If you set to 1 and omit bundle name,
|
|
||||||
|neobundle-options-normalized_name| is used as bundle name.
|
|
||||||
It is useful for absorbing difference of repository name.
|
|
||||||
|
|
||||||
g:neobundle#rm_command *g:neobundle#rm_command*
|
|
||||||
The command used to remove files to uninstall.
|
|
||||||
|
|
||||||
Defaults to "rmdir /S /Q" on Windows or "rm -rf" in
|
|
||||||
others.
|
|
||||||
|
|
||||||
*g:neobundle#install_max_processes*
|
|
||||||
g:neobundle#install_max_processes
|
|
||||||
The max number of processes used for neobundle/install source
|
|
||||||
asynchronous update.
|
|
||||||
|
|
||||||
Defaults to "8".
|
|
||||||
|
|
||||||
*g:neobundle#install_process_timeout*
|
|
||||||
g:neobundle#install_process_timeout
|
|
||||||
The time of timeout seconds when updating/installing bundles.
|
|
||||||
|
|
||||||
Defaults to "120".
|
|
||||||
|
|
||||||
g:neobundle#default_options *g:neobundle#default_options*
|
|
||||||
A dictionary of preconfigured sets of options to use when
|
|
||||||
options are omitted for individual commands or functions.
|
|
||||||
Keys are arbitrary names for the option sets, and values are
|
|
||||||
dictionaries themselves that store option keys and values.
|
|
||||||
Use the special key "_" to store a "default default options".
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
let g:neobundle#default_options =
|
|
||||||
\ { 'rev' : {'rev' : 'ver.8'} }
|
|
||||||
NeoBundle 'Shougo/neocomplcache', '', 'rev'
|
|
||||||
<
|
|
||||||
Defaults to "{}".
|
|
||||||
|
|
||||||
*g:neobundle#types#raw#calc_hash_command*
|
|
||||||
g:neobundle#types#raw#calc_hash_command
|
|
||||||
The hash command to use in raw repositories.
|
|
||||||
|
|
||||||
Defaults to "sha1sum" or "md5sum".
|
|
||||||
|
|
||||||
*g:neobundle#types#git#command_path*
|
|
||||||
g:neobundle#types#git#command_path
|
|
||||||
The "git" command path used for git type.
|
|
||||||
|
|
||||||
Defaults to "git".
|
|
||||||
|
|
||||||
*g:neobundle#types#git#default_protocol*
|
|
||||||
g:neobundle#types#git#default_protocol
|
|
||||||
The default protocol used for git (github).
|
|
||||||
Note: It is accepted in "https" or "ssh".
|
|
||||||
|
|
||||||
Defaults to "https".
|
|
||||||
|
|
||||||
*g:neobundle#types#git#enable_submodule*
|
|
||||||
g:neobundle#types#git#enable_submodule
|
|
||||||
If it is non-zero, neobundle enables git submodule support.
|
|
||||||
But it may be slow in Windows environment.
|
|
||||||
|
|
||||||
Defaults to 1.
|
|
||||||
|
|
||||||
*g:neobundle#types#git#clone_depth*
|
|
||||||
g:neobundle#types#git#clone_depth
|
|
||||||
The default history depth for "git clone".
|
|
||||||
If it is 1, neobundle use shallow clone feature.
|
|
||||||
See |neobundle-options-type__depth|.
|
|
||||||
|
|
||||||
Defaults to 0.
|
|
||||||
|
|
||||||
*g:neobundle#types#git#pull_command*
|
|
||||||
g:neobundle#types#git#pull_command
|
|
||||||
The git command used to pull updates.
|
|
||||||
The previous default has been "pull --rebase".
|
|
||||||
|
|
||||||
Defaults to "pull --ff --ff-only".
|
|
||||||
|
|
||||||
*g:neobundle#types#hg#command_path*
|
|
||||||
g:neobundle#types#hg#command_path
|
|
||||||
The "hg" command path used for hg type.
|
|
||||||
|
|
||||||
Defaults to "hg".
|
|
||||||
|
|
||||||
*g:neobundle#types#hg#default_protocol*
|
|
||||||
g:neobundle#types#hg#default_protocol
|
|
||||||
The default protocol used for hg (bitbucket).
|
|
||||||
Note: It is accepted in "https" or "ssh".
|
|
||||||
|
|
||||||
Defaults to "https".
|
|
||||||
|
|
||||||
*g:neobundle#types#svn#command_path*
|
|
||||||
g:neobundle#types#svn#command_path
|
|
||||||
The "svn" command path used for svn type.
|
|
||||||
|
|
||||||
Defaults to "svn".
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
OPTIONS *neobundle-options*
|
|
||||||
The {options} in neobundle commands accept the following keys:
|
|
||||||
|
|
||||||
*neobundle-options-name*
|
|
||||||
name (String)
|
|
||||||
Specify the name of the bundle. This is used for neobundle
|
|
||||||
management and other commands (like |:NeoBundleUpdate|). If
|
|
||||||
omitted, the tail of the repository name will be used.
|
|
||||||
Note: Must be unique across all bundles. If a bundle name
|
|
||||||
conflicts with another bundle, neobundle will overwrite the
|
|
||||||
previous settings with the new one. If a repo tail is bound to
|
|
||||||
conflict, you can set the "name" option manually to prevent
|
|
||||||
overwriting an existing bundle setting.
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
NeoBundle 'https://github.com/Shougo/unite.vim.git',
|
|
||||||
\ {'name' : 'unite'}
|
|
||||||
NeoBundle 'https://github.com/foo/foo.git',
|
|
||||||
\ {'name' : 'foo-foo'}
|
|
||||||
NeoBundle 'https://github.com/bar/foo.git',
|
|
||||||
\ {'name' : 'bar-foo'}
|
|
||||||
NeoBundle 'https://git.code.sf.net/p/atp-vim/code',
|
|
||||||
\ {'name': 'atp-vim'}
|
|
||||||
<
|
|
||||||
*neobundle-options-normalized_name*
|
|
||||||
normalized_name (String)
|
|
||||||
Specify the normalized name of the bundle. This is used for
|
|
||||||
neobundle management to detect dependencies. If omitted,
|
|
||||||
neobundle will normalize the tail of the repository name.
|
|
||||||
Note: Must be unique across all bundles.
|
|
||||||
Normalized name example:
|
|
||||||
name : normalized name
|
|
||||||
>
|
|
||||||
unite.vim unite
|
|
||||||
vim-quickrun quickrun
|
|
||||||
<
|
|
||||||
description (String)
|
|
||||||
Plugin description.
|
|
||||||
|
|
||||||
rev (String)
|
|
||||||
Specify a revision number or branch/tag name.
|
|
||||||
If it is "release" in "git" type, neobundle will use latest
|
|
||||||
released tag.
|
|
||||||
Note: If the type is "raw", rev is hash number.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
NeoBundle 'Shougo/vimshell', { 'rev' : '3787e5' }
|
|
||||||
<
|
|
||||||
*neobundle-options-default*
|
|
||||||
default (String)
|
|
||||||
Specify a default option name. (See |g:neobundle#default_options|).
|
|
||||||
|
|
||||||
*neobundle-options-directory*
|
|
||||||
directory (String)
|
|
||||||
Specify relative directory path from the base directory (set
|
|
||||||
by |neobundle#begin()| or "base" option). If omitted, the "name"
|
|
||||||
option will be used.
|
|
||||||
Note: If you set rev "foo" when the name key is "neobundle",
|
|
||||||
the directory key is "neobundle_foo".
|
|
||||||
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
NeoBundle 'https://github.com/Shougo/unite.vim.git',
|
|
||||||
\ {'directory' : 'unite'}
|
|
||||||
<
|
|
||||||
*neobundle-options-base*
|
|
||||||
base (String)
|
|
||||||
Directory base path to use. If omitted, the path specified
|
|
||||||
with |neobundle#begin()| will be used. It is useful for
|
|
||||||
loading scripts from a different path.
|
|
||||||
|
|
||||||
*neobundle-options-type*
|
|
||||||
type (String)
|
|
||||||
Specify the repository type. If omitted, a guess is made
|
|
||||||
based on {repository}.
|
|
||||||
|
|
||||||
Available types:
|
|
||||||
"none" : None repository
|
|
||||||
"raw" : Raw plugin file ("script_type" attribute is
|
|
||||||
needed)
|
|
||||||
"git" : Git
|
|
||||||
"hg" : Mercurial
|
|
||||||
"svn" : Subversion
|
|
||||||
"vba" : Vimball
|
|
||||||
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
NeoBundle 'https://host/path/repo.git', {'type': 'hg'}
|
|
||||||
NeoBundle 'thinca/vim-localrc', {'type' : 'svn'}
|
|
||||||
<
|
|
||||||
*neobundle-options-script_type*
|
|
||||||
script_type (String)
|
|
||||||
Specify the script type. It is useful for non-official
|
|
||||||
categorized plugins.
|
|
||||||
For example: "indent", "plugin", "ftplugin", ...
|
|
||||||
Note: You must not specify it for categorized plugins.
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
NeoBundle 'https://raw.github.com/m2ym/rsense/master/etc/rsense.vim',
|
|
||||||
\ {'script_type' : 'plugin'}
|
|
||||||
NeoBundle 'https://github.com/bronzehedwick/impactjs-colorscheme',
|
|
||||||
\ {'script_type' : 'colorscheme'}
|
|
||||||
<
|
|
||||||
*neobundle-options-site*
|
|
||||||
site (String)
|
|
||||||
Specify the repository site. If you omit both the repository
|
|
||||||
URL and the "site" option, |g:neobundle#default_site| will be
|
|
||||||
used.
|
|
||||||
Note: You can specify site by "{site-name}:{path}".
|
|
||||||
For example: "github:Shougo/vimshell"
|
|
||||||
|
|
||||||
Available sites:
|
|
||||||
"github" or "gh" : github.com (git)
|
|
||||||
"bitbucket" or "bb" : bitbucket.org (hg)
|
|
||||||
"gist" : gist.github.com (git)
|
|
||||||
|
|
||||||
*neobundle-options-rtp*
|
|
||||||
rtp (String)
|
|
||||||
Specify runtime path.
|
|
||||||
Use this option when the repository has the Vim plugin
|
|
||||||
in a subdirectory.
|
|
||||||
For example: https://github.com/rstacruz/sparkup
|
|
||||||
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
NeoBundle 'rstacruz/sparkup', {'rtp': 'vim'}
|
|
||||||
NeoBundle 'https://code.google.com/p/vimwiki/', {
|
|
||||||
\ 'rtp': "~/.vim/bundle/vimwiki/src",
|
|
||||||
\ }
|
|
||||||
<
|
|
||||||
*neobundle-options-depends*
|
|
||||||
depends (List or String)
|
|
||||||
Specify a list of plugins a plugin depends on.
|
|
||||||
List items are '{plugin-name}' or ['{plugin-name}', {args}].
|
|
||||||
Those specified in the list are installed automatically. If
|
|
||||||
the {plugin-name} needs options, specify them with {args}.
|
|
||||||
Note: Type String is syntax sugar for List of {plugin-name}.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
NeoBundle 'Shougo/vimfiler', {'depends' : 'Shougo/unite.vim' }
|
|
||||||
NeoBundle 'Shougo/neocomplcache', {'depends' :
|
|
||||||
\ [ 'Shougo/neosnippet.git',
|
|
||||||
\ ['rstacruz/sparkup', {'rtp': 'vim'}],
|
|
||||||
\ ]}
|
|
||||||
<
|
|
||||||
*neobundle-options-build*
|
|
||||||
build (Dictionary or String)
|
|
||||||
Specify the build script.
|
|
||||||
You may use this option if the plugin has to be built before
|
|
||||||
use. If the build script requires external commands, see
|
|
||||||
|neobundle-options-build_commands|.
|
|
||||||
This command is executed by |system()| or |vimproc#system()|
|
|
||||||
in plugin runtimepath.
|
|
||||||
Note: Type String is syntax sugar for Dictionary of
|
|
||||||
{"others": "cmd"}.
|
|
||||||
|
|
||||||
This dictionary accepts the following keys:
|
|
||||||
|
|
||||||
windows (String)
|
|
||||||
Specify Windows environment build script.
|
|
||||||
|
|
||||||
mac (String)
|
|
||||||
Specify Mac OS X environment build script.
|
|
||||||
|
|
||||||
cygwin (String)
|
|
||||||
Specify Cygwin environment build script.
|
|
||||||
|
|
||||||
linux (String)
|
|
||||||
Specify Linux environment build script.
|
|
||||||
Note: It is detected if "gmake" command is not
|
|
||||||
executable.
|
|
||||||
|
|
||||||
unix (String)
|
|
||||||
Specify Unix environment build script.
|
|
||||||
|
|
||||||
others (String)
|
|
||||||
Specify others environment build script.
|
|
||||||
If you don't specify other keys, it means "all".
|
|
||||||
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
NeoBundle 'Shougo/vimproc.vim', {
|
|
||||||
\ 'build' : {
|
|
||||||
\ 'windows' : 'tools\\update-dll-mingw',
|
|
||||||
\ 'cygwin' : 'make -f make_cygwin.mak',
|
|
||||||
\ 'mac' : 'make -f make_mac.mak',
|
|
||||||
\ 'linux' : 'make',
|
|
||||||
\ 'unix' : 'gmake',
|
|
||||||
\ },
|
|
||||||
\ }
|
|
||||||
<
|
|
||||||
Note: The command is executed in plugin top directory.
|
|
||||||
If you need cd command, you must use "sh -c". >
|
|
||||||
NeoBundle 'wincent/command-t', {
|
|
||||||
\ 'build': {
|
|
||||||
\ 'others' :
|
|
||||||
\ 'sh -c "cd ruby/command-t && ruby extconf.rb && make"'
|
|
||||||
\ }
|
|
||||||
\ }
|
|
||||||
<
|
|
||||||
*neobundle-options-augroup*
|
|
||||||
augroup (String)
|
|
||||||
Specify an augroup name that the plugin uses for |VimEnter| or
|
|
||||||
|GUIEnter| autocmd events.
|
|
||||||
Neobundle will call their |VimEnter| or |GUIEnter| autocmds
|
|
||||||
automatically when |:NeoBundleSource| is executed.
|
|
||||||
Note: You'll want to set this option because some plugins
|
|
||||||
rely on autocmds defined for |VimEnter| or |GUIEnter|, but by
|
|
||||||
using |:NeoBundleSource| after loading .vimrc, those autocmds
|
|
||||||
may get skipped. Some examples are, "fugitive", "NERDTree",
|
|
||||||
and "session.vim".
|
|
||||||
|
|
||||||
Examples:
|
|
||||||
>
|
|
||||||
" NERDTree uses augroup NERDTreeHijackNetrw.
|
|
||||||
NeoBundle 'scrooloose/nerdtree', { 'augroup' : 'NERDTreeHijackNetrw'}
|
|
||||||
" fugitive uses augroup fugitive.
|
|
||||||
NeoBundle 'tpope/vim-fugitive', { 'augroup' : 'fugitive'}
|
|
||||||
<
|
|
||||||
This option is also valid in |:NeoBundleLazy|.
|
|
||||||
|
|
||||||
*neobundle-options-external_commands*
|
|
||||||
external_commands (Dictionary or List or String)
|
|
||||||
Specify a list of external commands that the plugin depends
|
|
||||||
on. List items are '{command-name}' or ['{command-name}',
|
|
||||||
...] or { {dictionary} }.
|
|
||||||
The commands are checked when loading the plugin.
|
|
||||||
Note: Type String is syntax sugar for list of {command-name}s.
|
|
||||||
|
|
||||||
The {dictionary} has following keys:
|
|
||||||
|
|
||||||
windows (String)
|
|
||||||
Specify Windows environment external commands.
|
|
||||||
|
|
||||||
mac (String)
|
|
||||||
Specify Mac OS X environment external commands.
|
|
||||||
|
|
||||||
cygwin (String)
|
|
||||||
Specify Cygwin environment external commands.
|
|
||||||
|
|
||||||
unix (String)
|
|
||||||
Specify Unix environment external commands.
|
|
||||||
|
|
||||||
others (String)
|
|
||||||
Specify others environment external commands.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
NeoBundle 'ujihisa/neco-ghc', { 'external_commands' : 'ghc-mod' }
|
|
||||||
<
|
|
||||||
*neobundle-options-build_commands*
|
|
||||||
build_commands (Dictionary or List or String)
|
|
||||||
Specify a list of external commands that are required for
|
|
||||||
building the plugin. If any of these commands are not
|
|
||||||
installed, the bundle will not be built. The list is the same
|
|
||||||
format as |neobundle-options-external_commands|.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
NeoBundle 'Valloric/YouCompleteMe', { 'build_commands' : 'cmake' }
|
|
||||||
<
|
|
||||||
|
|
||||||
*neobundle-options-frozen*
|
|
||||||
frozen (Number)
|
|
||||||
If set to 1, neobundle doesn't update it automatically when
|
|
||||||
|:NeoBundleUpdate| or ":Unite neobundle/update" is called with
|
|
||||||
no arguments. It is useful for outdated plugins that can no
|
|
||||||
longer be updated.
|
|
||||||
>
|
|
||||||
NeoBundle 'Shougo/neobundle', { 'frozen' : 1 }
|
|
||||||
<
|
|
||||||
*neobundle-options-lazy*
|
|
||||||
lazy (Number)
|
|
||||||
If set to 1, neobundle doesn't add the path to user
|
|
||||||
runtimepath.
|
|
||||||
|
|
||||||
*neobundle-options-fetch*
|
|
||||||
fetch (Number)
|
|
||||||
If set to 1, neobundle doesn't add the path to user
|
|
||||||
runtimepath, and doesn't load the bundle.
|
|
||||||
|
|
||||||
*neobundle-options-force*
|
|
||||||
force (Number)
|
|
||||||
If set to 1, neobundle will load plugin files in the plugin
|
|
||||||
repository forcedly.
|
|
||||||
Note: It is useful for using Bundle within bundle.
|
|
||||||
https://github.com/Shougo/neobundle.vim/issues/199
|
|
||||||
|
|
||||||
*neobundle-options-gui*
|
|
||||||
gui (Number)
|
|
||||||
If set 1, neobundle will only load the plugin in GUI Vim.
|
|
||||||
|
|
||||||
Example: >
|
|
||||||
NeoBundle 'tyru/restart.vim', '', 'same', {
|
|
||||||
\ 'gui' : 1,
|
|
||||||
\ 'on_cmd' : 'Restart'
|
|
||||||
\ }
|
|
||||||
<
|
|
||||||
*neobundle-options-terminal*
|
|
||||||
terminal (Number)
|
|
||||||
If set to 1, neobundle will only load the plugin in Terminal
|
|
||||||
Vim.
|
|
||||||
|
|
||||||
*neobundle-options-vim_version*
|
|
||||||
vim_version (String)
|
|
||||||
Minimal vim version of the plugin supported.
|
|
||||||
It accepts some version formats such as "7" and "7.3" and
|
|
||||||
"7.3.885".
|
|
||||||
|
|
||||||
*neobundle-options-disabled*
|
|
||||||
disabled (Number) or (String)
|
|
||||||
If set to 1, neobundle will disable the plugin.
|
|
||||||
If it is string, neobundle will eval the string.
|
|
||||||
Note: Disabled plugins are not ignored when install/update
|
|
||||||
plugins.
|
|
||||||
|
|
||||||
Example: >
|
|
||||||
" neocomplete requires Vim 7.3.885 or above.
|
|
||||||
NeoBundle 'Shougo/neocomplete', {
|
|
||||||
\ 'depends' : 'Shougo/context_filetype.vim',
|
|
||||||
\ 'disabled' : !has('lua'),
|
|
||||||
\ 'vim_version' : '7.3.885'
|
|
||||||
\ }
|
|
||||||
<
|
|
||||||
*neobundle-options-focus*
|
|
||||||
focus (Number)
|
|
||||||
If it is > 0, neobundle will source the plugin when focus
|
|
||||||
is lost. It also is source priority.
|
|
||||||
http://d.hatena.ne.jp/osyo-manga/20140212/1392216949
|
|
||||||
Example: >
|
|
||||||
" Source all plugins when focus is lost.
|
|
||||||
let g:neobundle#default_options._ = { 'verbose' : 1, 'focus' : 1 }
|
|
||||||
<
|
|
||||||
*neobundle-options-verbose*
|
|
||||||
verbose (Number)
|
|
||||||
If set to 1, neobundle will print message when it is sourced.
|
|
||||||
|
|
||||||
*neobundle-options-install_process_timeout*
|
|
||||||
install_process_timeout (Number)
|
|
||||||
The time of timeout seconds when updating/installing bundles.
|
|
||||||
If omit it, |g:neobundle#install_process_timeout| will be used.
|
|
||||||
Note: This feature is available if you installed |vimproc|.
|
|
||||||
|
|
||||||
*neobundle-options-autoload*
|
|
||||||
autoload (Dictionary)
|
|
||||||
Specify autoload conditions.
|
|
||||||
If you set it, neobundle will execute |:NeoBundleSource|
|
|
||||||
automatically when the conditions are met.
|
|
||||||
Note: This dictionary is deprecated.
|
|
||||||
|
|
||||||
*neobundle-options-on_ft*
|
|
||||||
on_ft (List) or (String)
|
|
||||||
Filetype list. If the filetype is "all", it means all
|
|
||||||
filetypes.
|
|
||||||
Note: Using this will usually cause Neobundle to
|
|
||||||
either reset the ftplugin state, or explicitly call
|
|
||||||
the FileType autocommand another time (after adding
|
|
||||||
the lazy-loaded bundle), which results in the
|
|
||||||
autocommand to be processed twice for all other
|
|
||||||
plugins. Therefore, using "all" does not make sense
|
|
||||||
usually.
|
|
||||||
|
|
||||||
*neobundle-options-filetypes*
|
|
||||||
It is deprecated key.
|
|
||||||
|
|
||||||
*neobundle-options-on_cmd*
|
|
||||||
on_cmd (List) or (String)
|
|
||||||
Command list. The item can be following dictionary.
|
|
||||||
name (String) or (List)
|
|
||||||
Command name or the list of command names.
|
|
||||||
|
|
||||||
Example: >
|
|
||||||
NeoBundle 'Shougo/vimfiler.vim', {
|
|
||||||
\ 'depends' : 'Shougo/unite.vim',
|
|
||||||
\ 'on_cmd' : ['VimFiler', 'VimFilerEdit',
|
|
||||||
\ 'VimFilerWrite','VimFilerRead',
|
|
||||||
\ 'VimFilerSource'],
|
|
||||||
\ 'on_map' : '<Plug>',
|
|
||||||
\ 'on_path' : '.*',
|
|
||||||
\ }
|
|
||||||
<
|
|
||||||
*neobundle-options-commands*
|
|
||||||
It is deprecated key.
|
|
||||||
|
|
||||||
*neobundle-options-on_func*
|
|
||||||
on_func (List) or (String)
|
|
||||||
Functions list.
|
|
||||||
|
|
||||||
*neobundle-options-functions*
|
|
||||||
It is deprecated key.
|
|
||||||
|
|
||||||
*neobundle-options-on_map*
|
|
||||||
on_map (List) or (String)
|
|
||||||
Mappings list. The items are {mapping} or
|
|
||||||
[{mode}, {mapping1}, [{mapping2}, ...]]. If {mode} is
|
|
||||||
omitted, "nxo" is used.
|
|
||||||
Note: You can use plugin prefix mappings.
|
|
||||||
For example, you can use "<Plug>(ref-" instead of
|
|
||||||
"<Plug>(ref-back)" and so on.
|
|
||||||
|
|
||||||
Note: You can use "<Plug>" keyword as {mapping}. If
|
|
||||||
{mapping} is "<Plug>", "<Plug>(normalized_name" is
|
|
||||||
used.
|
|
||||||
For example: >
|
|
||||||
" It is same as "'mappings' : '<Plug>(anzu'
|
|
||||||
NeoBundle 'osyo-manga/vim-anzu', {
|
|
||||||
\'on_map': '<Plug>'}
|
|
||||||
<
|
|
||||||
Note: You cannot use lazy <Plug> mappings twice.
|
|
||||||
For example: >
|
|
||||||
NeoBundle 'osyo-manga/vim-anzu', {
|
|
||||||
\ 'on_map': '<Plug>(anzu-'}
|
|
||||||
" Not working!!
|
|
||||||
nmap n <Plug>(anzu-jump-n)<Plug>(anzu-echo-search-status)zv
|
|
||||||
nmap N <Plug>(anzu-jump-N)<Plug>(anzu-echo-search-status)zv
|
|
||||||
<
|
|
||||||
*neobundle-options-mappings*
|
|
||||||
It is deprecated key.
|
|
||||||
|
|
||||||
*neobundle-options-on_i*
|
|
||||||
on_i (Number)
|
|
||||||
If set to non-zero, neobundle will |:NeoBundleSource|
|
|
||||||
on |InsertEnter| autocmd.
|
|
||||||
|
|
||||||
*neobundle-options-insert*
|
|
||||||
It is deprecated key.
|
|
||||||
|
|
||||||
*neobundle-options-on_path*
|
|
||||||
on_path (String) or (List)
|
|
||||||
If set to ".*", neobundle will |:NeoBundleSource|
|
|
||||||
on editing all files.
|
|
||||||
Otherwise, neobundle will |:NeoBundleSource| if the
|
|
||||||
buffer name is matched the string pattern.
|
|
||||||
Note: It is useful for explorer behavior plugins.
|
|
||||||
Ex: vimfiler, metarw, vim-gnupg ...
|
|
||||||
Note: To autoload vimfiler, you must disable netrw in
|
|
||||||
.vimrc. >
|
|
||||||
" Disable netrw.vim
|
|
||||||
let g:loaded_netrwPlugin = 1
|
|
||||||
<
|
|
||||||
For example: >
|
|
||||||
NeoBundle 'kana/vim-meta', {
|
|
||||||
\ 'on_path' : '\h\w*:',
|
|
||||||
\ }
|
|
||||||
<
|
|
||||||
*neobundle-options-explorer*
|
|
||||||
*neobundle-options-filename_patterns*
|
|
||||||
It is deprecated key.
|
|
||||||
|
|
||||||
*neobundle-options-on_source*
|
|
||||||
on_source (List) or (String)
|
|
||||||
Load the bundle when the list bundles are loaded.
|
|
||||||
Note: If they are not autoload bundles, "on_source"
|
|
||||||
hooks are called when |VimEnter| auto command.
|
|
||||||
You can call them manually by |neobundle#call_hook()|.
|
|
||||||
Note: The plugins must be lazy loaded plugins.
|
|
||||||
|
|
||||||
For example: >
|
|
||||||
if neobundle#tap('plugin-B.vim')
|
|
||||||
call neobundle#config({
|
|
||||||
\ 'on_source' : [ 'plugin-A.vim' ]
|
|
||||||
\ })
|
|
||||||
call neobundle#untap()
|
|
||||||
endif
|
|
||||||
<
|
|
||||||
plugin-B is loaded before plugin-A is loaded.
|
|
||||||
|
|
||||||
*neobundle-options-pre_cmd*
|
|
||||||
pre_cmd (List) or (String)
|
|
||||||
Autoload command prefix in commands.
|
|
||||||
If the prefix is set, commands were loaded
|
|
||||||
automatically.
|
|
||||||
If omitted it, automatically generated prefix is used.
|
|
||||||
Example: If you use "unite.vim", "Unite" command
|
|
||||||
prefix is used.
|
|
||||||
Note: It requires Vim 7.4.414 or above.
|
|
||||||
|
|
||||||
*neobundle-options-command_prefix*
|
|
||||||
It is deprecated key.
|
|
||||||
|
|
||||||
Autoload examples:
|
|
||||||
>
|
|
||||||
NeoBundle 'Rip-Rip/clang_complete', {
|
|
||||||
\ 'on_ft' : ['c', 'cpp'],
|
|
||||||
\ }
|
|
||||||
NeoBundle 'basyura/TweetVim', { 'depends' :
|
|
||||||
\ ['basyura/twibill.vim', 'tyru/open-browser.vim'],
|
|
||||||
\ 'on_cmd' : 'TweetVimHomeTimeline' }
|
|
||||||
NeoBundle 'kana/vim-smartword', {
|
|
||||||
\ 'on_map' : [
|
|
||||||
\ '<Plug>(smartword-'']
|
|
||||||
\ }
|
|
||||||
NeoBundle 'Shougo/vimshell',{
|
|
||||||
\ 'depends' : 'Shougo/vimproc.vim',
|
|
||||||
\ 'on_cmd' : [{ 'name' : 'VimShell',
|
|
||||||
\ 'complete' : 'customlist,vimshell#complete'},
|
|
||||||
\ 'VimShellExecute', 'VimShellInteractive',
|
|
||||||
\ 'VimShellTerminal', 'VimShellPop'],
|
|
||||||
\ 'on_map' : '<Plug>'
|
|
||||||
\ })
|
|
||||||
NeoBundle 'Shougo/vimfiler', {
|
|
||||||
\ 'depends' : 'Shougo/unite.vim',
|
|
||||||
\ 'on_cmd' : [{ 'name' : 'VimFiler',
|
|
||||||
\ 'complete' : 'customlist,vimfiler#complete' },
|
|
||||||
\ 'VimFilerExplorer',
|
|
||||||
\ 'Edit', 'Read', 'Source', 'Write'],
|
|
||||||
\ 'on_map' : '<Plug>',
|
|
||||||
\ 'on_path' : '.*',
|
|
||||||
\ }
|
|
||||||
NeoBundle 'Shougo/junkfile.vim', {
|
|
||||||
\ 'on_cmd' : 'JunkfileOpen',
|
|
||||||
\ }
|
|
||||||
NeoBundle 'tyru/winmove.vim', {
|
|
||||||
\ 'on_map' : [
|
|
||||||
\ ['n', '<Plug>']],
|
|
||||||
\ 'gui' : 1,
|
|
||||||
\ 'augroup' : 'winmove',
|
|
||||||
\ }
|
|
||||||
NeoBundle 'sophacles/vim-processing', {
|
|
||||||
\'on_path': '\.pde$'
|
|
||||||
\}
|
|
||||||
NeoBundle 'LeafCage/cmdlineplus.vim', {
|
|
||||||
\ 'on_map': [['c', '<Plug>']]}
|
|
||||||
<
|
|
||||||
*neobundle-options-hooks*
|
|
||||||
hooks (Dictionary)
|
|
||||||
Specify hook functions or hook script path. The following
|
|
||||||
hooks are defined:
|
|
||||||
|
|
||||||
*neobundle-hooks-on_source*
|
|
||||||
on_source
|
|
||||||
Called or sourced before scripts are sourced. It is
|
|
||||||
useful for plugin initialization in lazy bundles.
|
|
||||||
Note: You must call the hook before |neobundle#end()|.
|
|
||||||
|
|
||||||
*neobundle-hooks-on_post_source*
|
|
||||||
on_post_source
|
|
||||||
Called or sourced after scripts are sourced.
|
|
||||||
Note: In Vim initializing, calling the hooks are
|
|
||||||
delayed until |VimEnter|.
|
|
||||||
Note: To re-call on_source hook when reloading .vimrc,
|
|
||||||
you must call the hook in end of .vimrc.
|
|
||||||
|
|
||||||
*neobundle-options-type__protocol*
|
|
||||||
type__protocol (String)
|
|
||||||
The protocol used for types.
|
|
||||||
"https" and "ssh" are available for git type.
|
|
||||||
"https" is available for hg type.
|
|
||||||
If omitted, |g:neobundle#types#git#default_protocol|
|
|
||||||
or |g:neobundle#types#hg#default_protocol| is used.
|
|
||||||
Note: This attribute is available in git and hg types only.
|
|
||||||
|
|
||||||
Examples:
|
|
||||||
>
|
|
||||||
NeoBundle 'ujihisa/neco-ghc', { 'type__protocol' : 'ssh' }
|
|
||||||
<
|
|
||||||
*neobundle-options-type__filename*
|
|
||||||
type__filename (String)
|
|
||||||
The downloaded filename.
|
|
||||||
If omitted, URI filename will be used.
|
|
||||||
It is useful for downloading vim.org scripts.
|
|
||||||
Note: This attribute is available in raw type only.
|
|
||||||
|
|
||||||
Examples: |:NeoBundle-examples|
|
|
||||||
>
|
|
||||||
NeoBundle 'git_repository_uri'
|
|
||||||
NeoBundle 'script_name'
|
|
||||||
NeoBundle 'https://github.com/tpope/vim-fugitive.git'
|
|
||||||
NeoBundle 'Shougo/neocomplcache', {'depends' :
|
|
||||||
\ [ 'Shougo/neosnippet.git',
|
|
||||||
\ ['rstacruz/sparkup', {'rtp': 'vim'}],
|
|
||||||
\ ]}
|
|
||||||
NeoBundle 'github:Shougo/vimshell'
|
|
||||||
|
|
||||||
" Pushable github repository.
|
|
||||||
NeoBundle 'git@github.com:Shougo/neocomplcache.git'
|
|
||||||
|
|
||||||
" For bitbucket hg repository.
|
|
||||||
NeoBundle 'bitbucket:ns9tks/vim-fuzzyfinder'
|
|
||||||
NeoBundle 'https://bitbucket.org/ns9tks/vim-fuzzyfinder'
|
|
||||||
|
|
||||||
" For bitbucket git repository (.git is needed).
|
|
||||||
NeoBundle 'bitbucket:kh3phr3n/vim-qt-syntax.git'
|
|
||||||
NeoBundle 'https://bitbucket.org/kh3phr3n/vim-qt-syntax.git'
|
|
||||||
|
|
||||||
" For raw repository.
|
|
||||||
NeoBundle 'https://raw.github.com/m2ym/rsense/master/etc/rsense.vim',
|
|
||||||
\ {'script_type' : 'plugin'}
|
|
||||||
|
|
||||||
" For gist repository.
|
|
||||||
NeoBundle 'gist:Shougo/656148', {
|
|
||||||
\ 'name': 'everything.vim',
|
|
||||||
\ 'script_type': 'plugin'}
|
|
||||||
NeoBundle 'gist:355360', {
|
|
||||||
\ 'name': 'ambicmd.vim',
|
|
||||||
\ 'script_type': 'plugin'}
|
|
||||||
<
|
|
||||||
Neobundle supports revision (or branch) lock.
|
|
||||||
Note: The revision (or branch) is checked out in
|
|
||||||
install/update.
|
|
||||||
Note: You can either specify the revision manually or set the
|
|
||||||
to revision "master" to restore a plugin.
|
|
||||||
>
|
|
||||||
NeoBundle 'Shougo/vimshell', '3787e5'
|
|
||||||
NeoBundle 'Shougo/vimshell', 'master'
|
|
||||||
<
|
|
||||||
If type is "none", neobundle does not update
|
|
||||||
automatically (like pathogen.vim). See also |NeoBundleLocal|.
|
|
||||||
>
|
|
||||||
NeoBundle 'muttator', {'type' : 'none', 'base' : '~/.vim/bundle'}
|
|
||||||
<
|
|
||||||
Note: To use hg commands for git repository, please use this.
|
|
||||||
>
|
|
||||||
NeoBundle 'https://github.com/Shougo/neobundle.vim.git', {'type': 'hg'}
|
|
||||||
<
|
|
||||||
*neobundle-options-type__depth*
|
|
||||||
type__depth (Number)
|
|
||||||
History depth for "git clone".
|
|
||||||
If omitted, |g:neobundle#types#git#clone_depth| is used.
|
|
||||||
If it is than 0, neobundle clones the repository by shallow
|
|
||||||
clone. Shallow clone feature saves your repository clone time.
|
|
||||||
But it have problems in some repository.
|
|
||||||
|
|
||||||
See below issues:
|
|
||||||
https://github.com/Shougo/neobundle.vim/issues/81
|
|
||||||
https://github.com/Homebrew/homebrew/issues/12024
|
|
||||||
|
|
||||||
Note: This attribute is available in git type only.
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
EXAMPLES *neobundle-examples*
|
|
||||||
>
|
|
||||||
" Note: Skip initialization for vim-tiny or vim-small.
|
|
||||||
if 0 | endif
|
|
||||||
|
|
||||||
if has('vim_starting')
|
|
||||||
if &compatible
|
|
||||||
set nocompatible " Be iMproved
|
|
||||||
endif
|
|
||||||
set runtimepath+={path to neobundle directory}
|
|
||||||
endif
|
|
||||||
|
|
||||||
call neobundle#begin(expand('~/.vim/bundle'))
|
|
||||||
|
|
||||||
" Let neobundle manage neobundle
|
|
||||||
NeoBundleFetch 'Shougo/neobundle.vim'
|
|
||||||
|
|
||||||
" My Bundles here:
|
|
||||||
" Refer to |:NeoBundle-examples|.
|
|
||||||
" Note: You don't set neobundle setting in .gvimrc!
|
|
||||||
|
|
||||||
" ...
|
|
||||||
|
|
||||||
call neobundle#end()
|
|
||||||
|
|
||||||
filetype plugin indent on " Required!
|
|
||||||
|
|
||||||
" Installation check.
|
|
||||||
NeoBundleCheck
|
|
||||||
|
|
||||||
"...
|
|
||||||
|
|
||||||
if !has('vim_starting')
|
|
||||||
" Call on_source hook when reloading .vimrc.
|
|
||||||
call neobundle#call_hook('on_source')
|
|
||||||
endif
|
|
||||||
<
|
|
||||||
==============================================================================
|
|
||||||
MIGRATING FROM PATHOGEN *neobundle-migrate-from-pathogen*
|
|
||||||
|
|
||||||
Here are a few tips if you want to migrate from a |pathogen| based
|
|
||||||
installation to neobundle.
|
|
||||||
|
|
||||||
You might want to use a different/non-default directory for neobundle: >
|
|
||||||
|
|
||||||
set rtp+=~/.vim/bundle/neobundle
|
|
||||||
call neobundle#begin(expand('~/.vim/neobundle'))
|
|
||||||
<
|
|
||||||
This allows you to keep `~/.vim/bundle` in place while migrating.
|
|
||||||
|
|
||||||
If you are using Git submodules currently, you can use a shell command like
|
|
||||||
the following to automatically generate your NeoBundle statements: >
|
|
||||||
|
|
||||||
while read p url; do \
|
|
||||||
bundle_name="${url#*://github.com/}"; \
|
|
||||||
dir="$(command git config -f .gitmodules --get ${p%.url}.path)"; \
|
|
||||||
echo "NeoBundle '$bundle_name', { 'directory': '${dir##*/}' }"; \
|
|
||||||
done < <(command git config -f .gitmodules \
|
|
||||||
--get-regexp 'submodule.vim/bundle/\S+.(url)' | sort)
|
|
||||||
<
|
|
||||||
This uses the "submodule.*" urls and path from your .gitmodules sections that
|
|
||||||
start with `submodule.vim/bundle/`.
|
|
||||||
It sets the directory option explicitly to the name you were using before
|
|
||||||
(see |neobundle-options-directory|), which is useful if you want to compare
|
|
||||||
your old bundles directory with the one managed by neocomplete later.
|
|
||||||
|
|
||||||
The output looks like this: >
|
|
||||||
NeoBundle 'tpope/vim-abolish.git', { 'directory': 'abolish' }
|
|
||||||
>
|
|
||||||
==============================================================================
|
|
||||||
UNITE SOURCES *neobundle-unite-sources*
|
|
||||||
|
|
||||||
Here let me explain about a source for |unite| provided in neobundle.
|
|
||||||
|
|
||||||
*neobundle-unite-source-neobundle*
|
|
||||||
neobundle
|
|
||||||
Nominates bundles as a candidate.
|
|
||||||
|
|
||||||
Note:
|
|
||||||
If argument is bang(!), print plugins status.
|
|
||||||
|
|
||||||
https://github.com/Shougo/vimproc.vim
|
|
||||||
|
|
||||||
*neobundle-unite-source-neobundle-install*
|
|
||||||
neobundle/install
|
|
||||||
Install configured plugins asynchronously.
|
|
||||||
It supports neovim async jobs feature.
|
|
||||||
|
|
||||||
Note: Installing the |vimproc| plugin or using neovim is
|
|
||||||
recommended.
|
|
||||||
|
|
||||||
If argument is bang(!), it will install and update all plugins.
|
|
||||||
|
|
||||||
Source arguments:
|
|
||||||
bundle names (fuzzy searched).
|
|
||||||
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
:Unite neobundle/install:!
|
|
||||||
:Unite neobundle/install:neocomplcache
|
|
||||||
:Unite neobundle/install:neocomplcache:unite.vim
|
|
||||||
<
|
|
||||||
If you use the source with "-auto-quit" option, the unite
|
|
||||||
buffer will close automatically.
|
|
||||||
>
|
|
||||||
:Unite neobundle/install -auto-quit
|
|
||||||
<
|
|
||||||
*neobundle-unite-source-neobundle-log*
|
|
||||||
neobundle/log
|
|
||||||
Print previous neobundle install logs.
|
|
||||||
And you can jump the diff URI in github.
|
|
||||||
|
|
||||||
*neobundle-unite-source-neobundle-update*
|
|
||||||
neobundle/update
|
|
||||||
Install and update configured plugins asynchronously, except
|
|
||||||
for outdated ones or those with the "frozen" option.
|
|
||||||
It supports neovim async jobs feature.
|
|
||||||
Note: This source is the same as "neobundle/install:!".
|
|
||||||
Note: Installing the |vimproc| plugin or using neovim is
|
|
||||||
recommended.
|
|
||||||
|
|
||||||
If argument is bang(!), it will not be with fuzzy search.
|
|
||||||
If argument is "all", it will update all plugins.
|
|
||||||
|
|
||||||
If you use the source with "-auto-quit" option, the unite
|
|
||||||
buffer will close automatically.
|
|
||||||
>
|
|
||||||
:Unite neobundle/update -log -wrap -auto-quit
|
|
||||||
<
|
|
||||||
*neobundle-unite-source-neobundle-search*
|
|
||||||
neobundle/search
|
|
||||||
Search plugin settings from sources.
|
|
||||||
Note: This source requires "curl" or "wget" command.
|
|
||||||
Note: If you get errors in this source, please refresh the
|
|
||||||
cache file by |<Plug>(unite_redraw)|.
|
|
||||||
|
|
||||||
Source arguments:
|
|
||||||
source names.
|
|
||||||
|
|
||||||
Following source names are available:
|
|
||||||
"vim_scripts_org":
|
|
||||||
Search plugins settings from "http://vim-scripts.org".
|
|
||||||
"github":
|
|
||||||
Search plugins settings from "https://github.org/".
|
|
||||||
"metadata":
|
|
||||||
Search plugins settings from converted metadata in
|
|
||||||
"https://bitbucket.org/vimcommunity/vim-pi/".
|
|
||||||
|
|
||||||
*neobundle-unite-source-neobundle-lazy*
|
|
||||||
neobundle/lazy
|
|
||||||
List lazy configured plugins (not sourced by
|
|
||||||
|:NeoBundleSource|).
|
|
||||||
|
|
||||||
*unite-kind-neobundle*
|
|
||||||
neobundle An interface for neobundle bundles. It is used in
|
|
||||||
neobundle source and neobundle/lazy sources.
|
|
||||||
update Update bundles (Default action)
|
|
||||||
delete Delete bundles
|
|
||||||
preview view the plugin documentation
|
|
||||||
reinstall Reinstall bundles
|
|
||||||
narrow Narrow bundle files
|
|
||||||
edit Browse bundle directory
|
|
||||||
start Browse github plugin page
|
|
||||||
|
|
||||||
Actions for each of the sources
|
|
||||||
|
|
||||||
neobundle/search *unite-action-neobundle-search*
|
|
||||||
yank Yank plugin settings (Default action).
|
|
||||||
install Direct install plugins from repository.
|
|
||||||
Note: The settings are saved in "extra_bundles.vim" in
|
|
||||||
|neobundle#begin()| directory.
|
|
||||||
start Browse github plugin page.
|
|
||||||
|
|
||||||
Note: If you use the install action, you cannot customize the bundle
|
|
||||||
settings.
|
|
||||||
|
|
||||||
neobundle/lazy *unite-action-neobundle-lazy*
|
|
||||||
source Source plugin files (Default action)
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
FAQ *neobundle-faq*
|
|
||||||
|
|
||||||
Q: What's the neobundle advantage for Vundle or other plugin management
|
|
||||||
system?
|
|
||||||
|
|
||||||
A: neobundle solves some problems in Vundle or other plugin management system.
|
|
||||||
But you must know they are huge and complex features.
|
|
||||||
|
|
||||||
1. Plugin prefixed command name (:Bundle vs :NeoBundle).
|
|
||||||
https://github.com/gmarik/Vundle.vim/issues/76
|
|
||||||
2. Support vimproc (asynchronous update/install).
|
|
||||||
https://github.com/gmarik/Vundle.vim/issues/259
|
|
||||||
3. Support unite.vim interface (update/install/search).
|
|
||||||
4. Support revision lock feature.
|
|
||||||
https://github.com/gmarik/Vundle.vim/issues/35
|
|
||||||
5. Support other VCS (Subversion/Git).
|
|
||||||
https://github.com/gmarik/Vundle.vim/pull/134
|
|
||||||
https://github.com/gmarik/Vundle.vim/pull/268
|
|
||||||
6. Support lazy initialization for optimizing startup time.
|
|
||||||
https://github.com/gmarik/Vundle.vim/issues/364
|
|
||||||
https://github.com/gmarik/Vundle.vim/pull/98
|
|
||||||
|
|
||||||
Q: I want to manage the rsense Vim plugin using neobundle.
|
|
||||||
|
|
||||||
A: Use |neocomplcache-rsense|. Installation and settings can be found in the
|
|
||||||
neocomplcache-rsense docs.
|
|
||||||
Note: neocomplcache-rsense depends |neocomplcache| plugin.
|
|
||||||
|
|
||||||
https://github.com/Shougo/neocomplcache-rsense
|
|
||||||
|
|
||||||
Q: Vim freezes when a NeoBundle command is run with a typo in the repo name.
|
|
||||||
|
|
||||||
A: It's a git feature. Git awaits user input when the repo name is
|
|
||||||
wrong. You can install |vimproc| to keep your Vim from freezing:
|
|
||||||
https://github.com/Shougo/vimproc.vim
|
|
||||||
|
|
||||||
Q: Duplicated error was printed when sourcing .vimrc.
|
|
||||||
|
|
||||||
A: Your .vimrc was wrong. You must reset neobundle setting by
|
|
||||||
|neobundle#begin()| in .vimrc.
|
|
||||||
Note: You must not call |neobundle#begin()| inside a "has('vim_starting')"
|
|
||||||
block.
|
|
||||||
>
|
|
||||||
if has('vim_starting')
|
|
||||||
" This is wrong neobundle#begin().
|
|
||||||
"call neobundle#begin(expand('~/.vim/bundle'))
|
|
||||||
endif
|
|
||||||
|
|
||||||
" This is OK.
|
|
||||||
call neobundle#begin(expand('~/.vim/bundle'))
|
|
||||||
<
|
|
||||||
|
|
||||||
Q: I want to compile vimproc automatically.
|
|
||||||
|
|
||||||
A:
|
|
||||||
>
|
|
||||||
NeoBundle 'Shougo/vimproc.vim', {
|
|
||||||
\ 'build' : {
|
|
||||||
\ 'windows' : 'tools\\update-dll-mingw',
|
|
||||||
\ 'cygwin' : 'make -f make_cygwin.mak',
|
|
||||||
\ 'mac' : 'make -f make_mac.mak',
|
|
||||||
\ 'unix' : 'make -f make_unix.mak',
|
|
||||||
\ },
|
|
||||||
\ }
|
|
||||||
<
|
|
||||||
|
|
||||||
Q: What's the "outdated" plugin?
|
|
||||||
|
|
||||||
A: Last update time is older than one week -> Automatic updates are disabled
|
|
||||||
until one day from the last update.
|
|
||||||
Last update time is older within one week -> Automatic updates are every time.
|
|
||||||
Note: If you use update with name or use "all" argument in neobundle/update
|
|
||||||
source or use "!" in |:NeoBundleUpdate| command, this feature will be
|
|
||||||
disabled; it forces updates them.
|
|
||||||
|
|
||||||
Q: I want to update messages in unite buffer.
|
|
||||||
|
|
||||||
A:
|
|
||||||
>
|
|
||||||
Unite -log -wrap neobundle/update
|
|
||||||
<
|
|
||||||
|
|
||||||
Q: neobundle.vim is not worked in Debian/Ubuntu Linux...
|
|
||||||
|
|
||||||
A: Did you use "debian.vim"? "debian.vim" changes 'runtimepath'.
|
|
||||||
So it conflicts with neobundle. You should not use "debian.vim".
|
|
||||||
|
|
||||||
Q: neobundle.vim fails update in submodule repository.
|
|
||||||
|
|
||||||
A: neobundle.vim supports submodule repository. But I think the repository was
|
|
||||||
changed recently from non-use submodule to use submodule. You must reinstall
|
|
||||||
the repository.
|
|
||||||
|
|
||||||
Q: I want to install github plugins with Subversion.
|
|
||||||
|
|
||||||
A:
|
|
||||||
>
|
|
||||||
NeoBundle 'thinca/vim-localrc', {'type' : 'svn'}
|
|
||||||
<
|
|
||||||
Q: I want to add absolute path in 'runtimepath' with |:NeoBundle| and
|
|
||||||
|:NeoBundleLazy|.
|
|
||||||
https://github.com/Shougo/neobundle.vim/issues/136
|
|
||||||
|
|
||||||
A: You can use "none" type. >
|
|
||||||
NeoBundle '/absolute/path/to/plugin', { 'type' : 'none' }
|
|
||||||
|
|
||||||
Q: Problem with lazy loading of matchit plugin.
|
|
||||||
https://github.com/Shougo/neobundle.vim/issues/153
|
|
||||||
|
|
||||||
A:
|
|
||||||
>
|
|
||||||
NeoBundle 'matchit.zip', {
|
|
||||||
\ 'on_map' : ['%', 'g%']
|
|
||||||
\ }
|
|
||||||
let bundle = neobundle#get('matchit.zip')
|
|
||||||
function! bundle.hooks.on_post_source(bundle)
|
|
||||||
silent! execute 'doautocmd Filetype' &filetype
|
|
||||||
endfunction
|
|
||||||
<
|
|
||||||
|
|
||||||
Q: Cannot load colorscheme when reloading .vimrc.
|
|
||||||
https://github.com/Shougo/neobundle.vim/issues/157
|
|
||||||
|
|
||||||
A: You must write :NeoBundle lines before filetype plugin indent on and syntax
|
|
||||||
enable.
|
|
||||||
>
|
|
||||||
filetype plugin indent on
|
|
||||||
|
|
||||||
NeoBundle 'tomasr/molokai'
|
|
||||||
...
|
|
||||||
|
|
||||||
syntax enable
|
|
||||||
colorscheme molokai
|
|
||||||
<
|
|
||||||
|
|
||||||
Q: Timeout on github makes Vim terribly slow if the repository is not found in
|
|
||||||
console Vim.
|
|
||||||
https://github.com/Shougo/neobundle.vim/issues/175
|
|
||||||
|
|
||||||
A: |vimproc| and |system()| uses input redirection. But git ignores it when
|
|
||||||
you used https protocol in console Vim. So it freezes. I think it is bad
|
|
||||||
feature in git. I cannot fix it. You should change
|
|
||||||
|g:neobundle#types#git#default_protocol| to "git".
|
|
||||||
|
|
||||||
Q: I want to use shallow clone in git.
|
|
||||||
|
|
||||||
A: See |neobundle-options-type__depth|.
|
|
||||||
|
|
||||||
Q: I want to use lockfile feature like "Gemfile.lock" in neobundle.
|
|
||||||
https://github.com/Shougo/neobundle.vim/issues/222
|
|
||||||
|
|
||||||
A: You can copy "NeoBundle.lock" to another machine from neobundle base path
|
|
||||||
directory. It is used when install plugins.
|
|
||||||
|
|
||||||
Q: neobundle#begin() breaks plugin function calls.
|
|
||||||
https://github.com/Shougo/neobundle.vim/issues/330
|
|
||||||
|
|
||||||
A: You must use the functions after |neobundle#end()|.
|
|
||||||
Because, the plugins are loaded when neobundle calls |neobundle#end()|.
|
|
||||||
|
|
||||||
Q: Fails submoduled repository clone like YouCompleteMe.
|
|
||||||
|
|
||||||
A: I think you use the submodule repository in proxy environment.
|
|
||||||
|
|
||||||
https://github.com/ekg/freebayes/issues/63
|
|
||||||
>
|
|
||||||
$ git config --global url.https://github.com/.insteadOf git://github.com/
|
|
||||||
<
|
|
||||||
Q: Colorscheme does not load below code. >
|
|
||||||
NeoBundle 'mrkn256.vim'
|
|
||||||
colorscheme mrkn256
|
|
||||||
...
|
|
||||||
neobundle#end()
|
|
||||||
|
|
||||||
A: 'runtimepath' is set on |neobundle#end()|. So it is not set when the
|
|
||||||
colorscheme executed. You can use |neobundle-options-force| for it or write
|
|
||||||
|:colorscheme| command after |neobundle#end()|.
|
|
||||||
|
|
||||||
Q: fugitive does not work using neobundle. Please help! >
|
|
||||||
NeoBundle 'tpope/vim-fugitive'
|
|
||||||
|
|
||||||
A: You must specify |neobundle-options-augroup| like this. >
|
|
||||||
" fugitive uses augroup fugitive.
|
|
||||||
NeoBundle 'tpope/vim-fugitive', { 'augroup' : 'fugitive'}
|
|
||||||
|
|
||||||
Q: I setup gVim-only colorscheme but neobundle doesn't load it.
|
|
||||||
|
|
||||||
A: neobundle can't load colorschemes automatically. So you can't use
|
|
||||||
|:NeoBundleLazy| for colorschemes.
|
|
||||||
|
|
||||||
Q: I want to use "git" or "http" protocol instead of "https".
|
|
||||||
|
|
||||||
A: No, you cannot.
|
|
||||||
|
|
||||||
Q: Why neobundle only accepts "https" or "ssh"?
|
|
||||||
|
|
||||||
A: https://glyph.twistedmatrix.com/2015/11/editor-malware.html
|
|
||||||
|
|
||||||
Q: I want to autoload vim-gnupg
|
|
||||||
|
|
||||||
A: vim-gnupg uses |BufReadCmd| and |FileReadCmd| autocmd. You must specify
|
|
||||||
the autocmd. >
|
|
||||||
autocmd BufReadCmd,FileReadCmd *.gpg,*.asc,*.pgp
|
|
||||||
\ NeoBundleSource vim-gnupg | doautocmd BufReadCmd
|
|
||||||
autocmd FileReadCmd *.gpg,*.asc,*.pgp
|
|
||||||
\ NeoBundleSource vim-gnupg | doautocmd FileReadCmd
|
|
||||||
|
|
||||||
Q: Where is :NeoBundleClean command?
|
|
||||||
https://github.com/Shougo/neobundle.vim/issues/501
|
|
||||||
|
|
||||||
A: It is removed because it is dangerous.
|
|
||||||
|
|
||||||
Q: Why the install script does not use "curl | bash" ?
|
|
||||||
https://github.com/Shougo/neobundle.vim/pull/515
|
|
||||||
|
|
||||||
A: https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-bash-server-side/
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:noet:fen:
|
|
||||||
@@ -1,901 +0,0 @@
|
|||||||
*neosnippet.txt*
|
|
||||||
The neo-snippet plugin contains snippet source
|
|
||||||
|
|
||||||
Version: 5.0
|
|
||||||
Author: Shougo <Shougo.Matsu at gmail.com>
|
|
||||||
License: MIT license
|
|
||||||
|
|
||||||
CONTENTS *neosnippet-contents*
|
|
||||||
|
|
||||||
Introduction |neosnippet-introduction|
|
|
||||||
Install |neosnippet-install|
|
|
||||||
Interface |neosnippet-interface|
|
|
||||||
Commands |neosnippet-commands|
|
|
||||||
Variables |neosnippet-variables|
|
|
||||||
Key mappings |neosnippet-key-mappings|
|
|
||||||
Functions |neosnippet-functions|
|
|
||||||
Examples |neosnippet-examples|
|
|
||||||
Snippet syntax |neosnippet-snippet-syntax|
|
|
||||||
FAQ |neosnippet-faq|
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
INTRODUCTION *neosnippet-introduction*
|
|
||||||
|
|
||||||
*neosnippet* offers functionality similar to snipMate.vim or snippetsEmu.vim.
|
|
||||||
This analyzes snippet files which you can use for the completion. Since you
|
|
||||||
can choose snippets with the deoplete interface, you might have less trouble
|
|
||||||
using them, because you do not have to remember each snippet name.
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
INSTALL *neosnippet-install*
|
|
||||||
|
|
||||||
1: Extract the file and put files in your Vim directory
|
|
||||||
(usually ~/.vim/ or Program Files/Vim/vimfiles on Windows).
|
|
||||||
|
|
||||||
Note: If you want to complete snippets, you must install deoplete
|
|
||||||
(https://github.com/Shougo/deoplete.nvim). It's not required, but highly
|
|
||||||
recommended.
|
|
||||||
|
|
||||||
Default snippets files are available in neosnippet-snippets.
|
|
||||||
https://github.com/Shougo/neosnippet-snippets
|
|
||||||
|
|
||||||
Note: Installing the default snippets is optional. If you choose not to
|
|
||||||
install them, you must set |g:neosnippet#disable_runtime_snippets| like so:
|
|
||||||
>
|
|
||||||
let g:neosnippet#disable_runtime_snippets = {'_' : 1}
|
|
||||||
|
|
||||||
Extra snippets files are also available. e.g.:
|
|
||||||
https://github.com/honza/vim-snippets
|
|
||||||
|
|
||||||
Note: To enable context-filetype feature, you must install
|
|
||||||
context_filetype.vim. This allows you to use snippets not only depend on the
|
|
||||||
current 'filetype' of the file, but also depends on the cursor location, such
|
|
||||||
as javascript inside html, or lua inside Vim scripts.
|
|
||||||
https://github.com/Shougo/context_filetype.vim
|
|
||||||
|
|
||||||
INTERFACE *neosnippet-interface*
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
COMMANDS *neosnippet-commands*
|
|
||||||
|
|
||||||
*:NeoSnippetMakeCache*
|
|
||||||
:NeoSnippetMakeCache [filetype]
|
|
||||||
Creates a cache for the snippets of the given [filetype]. It
|
|
||||||
automatically chooses the current buffer's file type unless
|
|
||||||
you specify another one by [filetype].
|
|
||||||
|
|
||||||
*:NeoSnippetEdit*
|
|
||||||
:NeoSnippetEdit [{options}] [filetype]
|
|
||||||
Opens the snippets for a given [filetype] to edit. It
|
|
||||||
automatically selects the current buffer's filetype unless you
|
|
||||||
specify another one by [filetype].
|
|
||||||
|
|
||||||
If the path to [filetype] snippets is a directory, it
|
|
||||||
automatically selects "[filetype].snip" in the [filetype]
|
|
||||||
subdirectory.
|
|
||||||
|
|
||||||
It edits a snippet file in |g:neosnippet#snippets_directory|
|
|
||||||
with precedence. The snippets are re-cached automatically
|
|
||||||
when you save the file after edit.
|
|
||||||
|
|
||||||
The following parameters can be used as {options} to modify
|
|
||||||
the behavior of the command. Note: You must escape spaces with
|
|
||||||
a backslash "\".
|
|
||||||
|
|
||||||
Note: You must set |g:neosnippet#snippets_directory| before
|
|
||||||
using it.
|
|
||||||
|
|
||||||
*neosnippet-edit-options-vertical*
|
|
||||||
-vertical
|
|
||||||
Split the window vertically.
|
|
||||||
|
|
||||||
*neosnippet-edit-options-horizontal*
|
|
||||||
-horizontal
|
|
||||||
Split the window horizontally.
|
|
||||||
|
|
||||||
Note: The behavior is undefined when both options are set.
|
|
||||||
|
|
||||||
*neosnippet-edit-options-direction*
|
|
||||||
-direction={direction}
|
|
||||||
Define the split position rule. The default value is
|
|
||||||
"belowleft".
|
|
||||||
|
|
||||||
*neosnippet-edit-options-split*
|
|
||||||
-split
|
|
||||||
Split the buffer.
|
|
||||||
|
|
||||||
*neosnippet-edit-options-runtime*
|
|
||||||
-runtime
|
|
||||||
Edit the runtime snippets (built-in defaults) instead of the
|
|
||||||
user snippets defined by 'g:neosnippet#snippets_directory'.
|
|
||||||
|
|
||||||
*:NeoSnippetSource*
|
|
||||||
:NeoSnippetSource [filename]
|
|
||||||
Load the snippets contained in [filename].
|
|
||||||
Note: The loaded snippets are enabled in current buffer only.
|
|
||||||
|
|
||||||
*:NeoSnippetClearMarkers*
|
|
||||||
:NeoSnippetClearMarkers
|
|
||||||
Clear current markers.
|
|
||||||
Note: If you delete markers, you cannot jump to next
|
|
||||||
placeholder.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
VARIABLES *neosnippet-variables*
|
|
||||||
|
|
||||||
g:neosnippet#snippets_directory *g:neosnippet#snippets_directory*
|
|
||||||
This variable appoints a path to user-defined snippet files.
|
|
||||||
You can set multiple values in comma-separated string or list.
|
|
||||||
Non existing directories are ignored.
|
|
||||||
|
|
||||||
Note: The directory name must not be "snippets" or
|
|
||||||
"neosnippets" under 'runtimepath'. For example,
|
|
||||||
"~/.vim/snippets" or "~/.config/nvim/neosnippets".
|
|
||||||
It is used as runtime snippet directory. It does not work as
|
|
||||||
user expected.
|
|
||||||
|
|
||||||
User defined snippet files are read after the built-in snippet
|
|
||||||
files. If redundant snippets occur they get overwritten and
|
|
||||||
only the last one remains.
|
|
||||||
|
|
||||||
Note: The neosnippet plug-in loads file type snippets from
|
|
||||||
several files if available. For example if you edit a "Vim"
|
|
||||||
file it loads the snippets from:
|
|
||||||
|
|
||||||
- "vim.snip"
|
|
||||||
- "vim.snippets"
|
|
||||||
- "vim_*.snip"
|
|
||||||
- "vim_*.snippets"
|
|
||||||
- "vim/**/*.snip"
|
|
||||||
- "vim/**/*.snippets"
|
|
||||||
|
|
||||||
The default value is ''.
|
|
||||||
|
|
||||||
*g:neosnippet#disable_select_mode_mappings*
|
|
||||||
g:neosnippet#disable_select_mode_mappings
|
|
||||||
This variable disables key-mappings in |Select-mode| where the
|
|
||||||
neosnippet performs the snippet completion. Usually it is
|
|
||||||
better to leave it as it is. But if you have troubles with the
|
|
||||||
buffer switcher LustyJuggler you can switch them off.
|
|
||||||
|
|
||||||
The default value is 1.
|
|
||||||
|
|
||||||
*g:neosnippet#disable_runtime_snippets*
|
|
||||||
g:neosnippet#disable_runtime_snippets
|
|
||||||
This is a dictionary variable which uses file types as key.
|
|
||||||
If you set the value of a file type entry to 1, this prevents
|
|
||||||
loading "neosnippets" directories from 'runtimepath'. This is
|
|
||||||
very useful to prevent snippet conflicts between self defined
|
|
||||||
snippet files and the built-in snippet files of neosnippet. If
|
|
||||||
you use an "_" as key for an entry this will treat the value
|
|
||||||
of the entry as default value for all file types.
|
|
||||||
|
|
||||||
Note: This dictionary must be set in your .vimrc.
|
|
||||||
|
|
||||||
For example:
|
|
||||||
>
|
|
||||||
let g:neosnippet#disable_runtime_snippets = {
|
|
||||||
\ 'c' : 1, 'cpp' : 1,
|
|
||||||
\ }
|
|
||||||
|
|
||||||
" which disables all runtime snippets
|
|
||||||
let g:neosnippet#disable_runtime_snippets = {
|
|
||||||
\ '_' : 1,
|
|
||||||
\ }
|
|
||||||
<
|
|
||||||
The default value is {}.
|
|
||||||
*g:neosnippet#enable_snipmate_compatibility*
|
|
||||||
g:neosnippet#enable_snipmate_compatibility
|
|
||||||
If this variable is not 0, neosnippet will enable the snipMate
|
|
||||||
compatibility features:
|
|
||||||
|
|
||||||
1. Define Filename() function.
|
|
||||||
2. Load |g:snippets_dir| and snipMate snippets files from
|
|
||||||
'runtimepath'.
|
|
||||||
3. Enable file snippets feature in snipMate.
|
|
||||||
4. snipMate optional abbr syntax.
|
|
||||||
|
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
*g:neosnippet#expand_word_boundary*
|
|
||||||
g:neosnippet#expand_word_boundary
|
|
||||||
If it is not 0, neosnippet will expand snippets by a word
|
|
||||||
boundary.
|
|
||||||
Note: It must be initialized before snippet loading.
|
|
||||||
|
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
*g:neosnippet#enable_conceal_markers*
|
|
||||||
g:neosnippet#enable_conceal_markers
|
|
||||||
If this variable is not 0, neosnippet will use the |conceal|
|
|
||||||
markers.
|
|
||||||
|
|
||||||
The default value is 1.
|
|
||||||
|
|
||||||
*g:neosnippet#enable_completed_snippet*
|
|
||||||
g:neosnippet#enable_completed_snippet
|
|
||||||
If this variable is not 0, neosnippet can expand the function
|
|
||||||
prototype.
|
|
||||||
Note: It supports |vim-lsp| or |nvim-lsp| snippets.
|
|
||||||
|
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
*g:neosnippet#enable_complete_done*
|
|
||||||
g:neosnippet#enable_complete_done
|
|
||||||
If this variable is not 0, neosnippet can expand on
|
|
||||||
|CompleteDone| or |PumCompleteDone|for |pum.vim|.
|
|
||||||
Note: If the feature is enabled, you cannot expand snippet
|
|
||||||
trigger manually when |pumvisible()| to prevent conflicts with
|
|
||||||
|CompleteDone| expand.
|
|
||||||
|
|
||||||
The default value is 0.
|
|
||||||
|
|
||||||
*g:neosnippet#enable_optional_arguments*
|
|
||||||
g:neosnippet#enable_optional_arguments
|
|
||||||
If this variable is not 0, neosnippet will conceal commas in
|
|
||||||
expanded arguments from completed snippets.
|
|
||||||
|
|
||||||
Useful for languages where arguments are optional by default.
|
|
||||||
|
|
||||||
Note: For use with |g:neosnippet#enable_completed_snippet| = 1
|
|
||||||
|
|
||||||
The default value is 1.
|
|
||||||
|
|
||||||
*g:neosnippet#enable_auto_clear_markers*
|
|
||||||
g:neosnippet#enable_auto_clear_markers
|
|
||||||
If this variable is not 0, neosnippet will clear the markers
|
|
||||||
in the buffer when |BufWritePost|, |CursorMoved| and
|
|
||||||
|CursorMovedI| autocmd.
|
|
||||||
|
|
||||||
Note: The feature does not work for multi lines snippets.
|
|
||||||
If you want to clear them, you should use
|
|
||||||
|:NeoSnippetClearMarkers| instead.
|
|
||||||
|
|
||||||
The default value is 1.
|
|
||||||
|
|
||||||
*g:neosnippet#scope_aliases*
|
|
||||||
g:neosnippet#scope_aliases
|
|
||||||
It is a dictionary that associating certain filetypes with
|
|
||||||
other snippet files.
|
|
||||||
The key is filetype, and the value is comma separated snippet
|
|
||||||
filenames excluded extensions.
|
|
||||||
It works like "g:snipMate.scope_aliases".
|
|
||||||
The default value is {}. >
|
|
||||||
|
|
||||||
let g:neosnippet#scope_aliases = {}
|
|
||||||
let g:neosnippet#scope_aliases['ruby'] = 'ruby,ruby-rails'
|
|
||||||
|
|
||||||
g:neosnippet#data_directory *g:neosnippet#data_directory*
|
|
||||||
Specifies directory for neosnippet cache. If the directory
|
|
||||||
doesn't exist the directory will be automatically generated.
|
|
||||||
|
|
||||||
Default value is "$XDG_CACHE_HOME/neosnippet" or
|
|
||||||
expand("~/.cache/neosnippet"); the absolute path of it.
|
|
||||||
|
|
||||||
g:neosnippet#conceal_char *g:neosnippet#conceal_char*
|
|
||||||
This variable can customize how the jump position is concealed
|
|
||||||
after snippet expansion.
|
|
||||||
|
|
||||||
The default value is '|'.
|
|
||||||
|
|
||||||
*b:neosnippet_disable_snippet_triggers*
|
|
||||||
b:neosnippet_disable_snippet_triggers
|
|
||||||
Specifies the triggers which disables in the buffer.
|
|
||||||
It is useful to disable some snippet triggers.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
KEY MAPPINGS *neosnippet-key-mappings*
|
|
||||||
|
|
||||||
*<Plug>(neosnippet_expand_or_jump)*
|
|
||||||
<Plug>(neosnippet_expand_or_jump)
|
|
||||||
*<Plug>(neosnippet_jump_or_expand)*
|
|
||||||
<Plug>(neosnippet_jump_or_expand)
|
|
||||||
Jump to the next available placeholder in the buffer. If there
|
|
||||||
is no placeholder it expands a snippet in the current cursor
|
|
||||||
position.
|
|
||||||
|
|
||||||
*<Plug>(neosnippet_expand)*
|
|
||||||
<Plug>(neosnippet_expand)
|
|
||||||
Expand a snippet in current cursor position. It only takes
|
|
||||||
effect if there is a snippet text to expand or if you have
|
|
||||||
chosen a snippet from popup menu.
|
|
||||||
|
|
||||||
*<Plug>(neosnippet_jump)*
|
|
||||||
<Plug>(neosnippet_jump)
|
|
||||||
Jump to the next placeholder key. It does not expand any
|
|
||||||
snippets.
|
|
||||||
|
|
||||||
*i_<Plug>(neosnippet_start_unite_snippet)*
|
|
||||||
<Plug>(neosnippet_start_unite_snippet)
|
|
||||||
Starts the unite snippet source. You can expand a snippet by
|
|
||||||
the unite interface.
|
|
||||||
Note: The plug-in |unite.vim| is required for that feature.
|
|
||||||
|
|
||||||
*x_<Plug>(neosnippet_expand_target)*
|
|
||||||
<Plug>(neosnippet_expand_target)
|
|
||||||
Expand the input trigger by a selected target text.
|
|
||||||
|
|
||||||
*x_<Plug>(neosnippet_register_oneshot_snippet)*
|
|
||||||
<Plug>(neosnippet_register_oneshot_snippet)
|
|
||||||
Register oneshot snippet in the current buffer.
|
|
||||||
|
|
||||||
*neosnippet#expandable()*
|
|
||||||
neosnippet#expandable()
|
|
||||||
You can use this function with imap <expr>. It checks if
|
|
||||||
the cursor text is a snippet trigger. This is useful to save
|
|
||||||
key mappings.
|
|
||||||
|
|
||||||
*neosnippet#jumpable()*
|
|
||||||
neosnippet#jumpable()
|
|
||||||
You can use this function with imap <expr>. It checks if the
|
|
||||||
cursor text is an existing placeholder in current buffer. This
|
|
||||||
is useful to save key mappings.
|
|
||||||
|
|
||||||
*neosnippet#expandable_or_jumpable()*
|
|
||||||
neosnippet#expandable_or_jumpable()
|
|
||||||
You can use this function with imap <expr>. It checks if
|
|
||||||
the cursor text is a snippet trigger or a placeholder. This is
|
|
||||||
useful to save key mappings.
|
|
||||||
Note: If you don't like to jump to the next placeholder, you
|
|
||||||
must use |neosnippet#expandable()| instead of
|
|
||||||
|neosnippet#expandable_or_jumpable()|.
|
|
||||||
>
|
|
||||||
imap <expr><C-l>
|
|
||||||
\ neosnippet#expandable_or_jumpable() ?
|
|
||||||
\ "\<Plug>(neosnippet_expand_or_jump)" : "\<C-n>"
|
|
||||||
<
|
|
||||||
*neosnippet#anonymous()*
|
|
||||||
neosnippet#anonymous({snippet})
|
|
||||||
It defines anonymous snippet.
|
|
||||||
{snippet} is snippet definition.
|
|
||||||
{options} is snippet option.
|
|
||||||
You can expand snippet definition without defining snippet
|
|
||||||
trigger.
|
|
||||||
Note: You can use this function with |:map-<expr>|.
|
|
||||||
>
|
|
||||||
inoremap <silent> ((
|
|
||||||
\ <C-r>=neosnippet#anonymous('\left(${1}\right)${0}')<CR>
|
|
||||||
" OR
|
|
||||||
inoremap <expr><silent> ((
|
|
||||||
\ neosnippet#anonymous('\left(${1}\right)${0}')
|
|
||||||
<
|
|
||||||
*neosnippet#expand()*
|
|
||||||
neosnippet#expand({trigger})
|
|
||||||
It expands the snippet trigger.
|
|
||||||
{trigger} is snippet trigger.
|
|
||||||
Note: You can use this function with |:map-<expr>|.
|
|
||||||
>
|
|
||||||
inoremap <silent> test
|
|
||||||
\ i<C-r>=neosnippet#expand('date_english')<CR>
|
|
||||||
nnoremap <silent><expr> test
|
|
||||||
\ neosnippet#expand('date_english')
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
FUNCTIONS *neosnippet-functions*
|
|
||||||
|
|
||||||
*neosnippet#get_snippets_directory()*
|
|
||||||
neosnippet#get_snippets_directory()
|
|
||||||
Gets snippet directories. These directories contain runtime
|
|
||||||
snippets directories and |g:neosnippet#snippets_directory|
|
|
||||||
directories.
|
|
||||||
|
|
||||||
*neosnippet#complete_done()*
|
|
||||||
neosnippet#complete_done()
|
|
||||||
It expands the snippet for |CompleteDone| event.
|
|
||||||
Note: The function is deprecated.
|
|
||||||
==============================================================================
|
|
||||||
EXAMPLES *neosnippet-examples*
|
|
||||||
>
|
|
||||||
" Plugin key-mappings.
|
|
||||||
" Note: It can be "nmap", "xmap", "imap" and "smap", and don't forget
|
|
||||||
" "smap" and "imap" unless you have some specific reasons. It uses
|
|
||||||
" <Plug> mappings.
|
|
||||||
" Note: It is unrecommended to map <Plug>(neosnippet_foo) at once by
|
|
||||||
" "map", which could fail to work in some features.
|
|
||||||
" Note: Don't forget to make a "smap" out of "<Plug>(neosnippet_jump)"
|
|
||||||
" "<Plug>(neosnippet_expand_or_jump)" or
|
|
||||||
" "Plug>(neosnippet_jump_or_expand)" at least. This note is especially
|
|
||||||
" for you who are unfamiliar with Vim Script.
|
|
||||||
imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
|
||||||
smap <C-k> <Plug>(neosnippet_expand_or_jump)
|
|
||||||
xmap <C-k> <Plug>(neosnippet_expand_or_jump)
|
|
||||||
nmap <C-k> <Plug>(neosnippet_expand_or_jump)
|
|
||||||
|
|
||||||
" SuperTab like snippets' behavior.
|
|
||||||
" Note: Be careful to map <TAB> because <TAB> is equivalent to <C-i> in
|
|
||||||
" Vim and <C-i> is a very important key especially in Normal Mode.
|
|
||||||
"imap <expr><TAB>
|
|
||||||
" \ pumvisible() ? "\<C-n>" :
|
|
||||||
" \ neosnippet#expandable_or_jumpable() ?
|
|
||||||
" \ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
|
|
||||||
"smap <expr><TAB> neosnippet#expandable_or_jumpable() ?
|
|
||||||
" \ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
|
|
||||||
|
|
||||||
" For conceal markers.
|
|
||||||
if has('conceal')
|
|
||||||
set conceallevel=2 concealcursor=niv
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Enable snipMate compatibility feature.
|
|
||||||
" let g:neosnippet#enable_snipmate_compatibility = 1
|
|
||||||
|
|
||||||
" Expand the completed snippet trigger by <CR>.
|
|
||||||
"imap <expr><CR>
|
|
||||||
"\ (pumvisible() && neosnippet#expandable()) ?
|
|
||||||
"\ "\<Plug>(neosnippet_expand)" : "\<CR>"
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
SNIPPET SYNTAX *neosnippet-snippet-syntax*
|
|
||||||
|
|
||||||
It is quite easy to create your own snippets. You can use the example below to
|
|
||||||
get started.
|
|
||||||
|
|
||||||
Note: The snippets file extension must be ".snip" or ".snippets" and its
|
|
||||||
filename corresponds to [filetype] regularly. If you want to avoid trouble
|
|
||||||
about filename, use :NeoSnippetEdit command without specifying [filetype].
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
>
|
|
||||||
snippet [name]
|
|
||||||
abbr [abbreviation]
|
|
||||||
alias [aliases]
|
|
||||||
regexp [pattern]
|
|
||||||
options [options]
|
|
||||||
if ${1:condition}
|
|
||||||
${2}
|
|
||||||
endif
|
|
||||||
|
|
||||||
The snippet syntax is close to the one of |snipMate|. Each snippet starts with
|
|
||||||
some keywords that define the name and modify the expansion and treatment of
|
|
||||||
the snippet.
|
|
||||||
|
|
||||||
Snippet Keywords:
|
|
||||||
|
|
||||||
- snippet [name] (Required)
|
|
||||||
|
|
||||||
Each snippet starts with the keyword "snippet". This keyword is
|
|
||||||
directly followed by the snippet name. The snippet name is used to
|
|
||||||
expand the snippet.
|
|
||||||
|
|
||||||
- abbr [name] (Optional)
|
|
||||||
|
|
||||||
You can define an abbreviation for the snippet name. It will be
|
|
||||||
displayed in the drop down selection menu.
|
|
||||||
|
|
||||||
- alias [aliases] (Optional)
|
|
||||||
|
|
||||||
Alias names can be use as additional keywords to expand the snippet.
|
|
||||||
You can define multiple aliases using either spaces ' ' or commas ','
|
|
||||||
as separator.
|
|
||||||
|
|
||||||
Example
|
|
||||||
|
|
||||||
>
|
|
||||||
alias hoge hogera hogehoge
|
|
||||||
<
|
|
||||||
|
|
||||||
- regexp [pattern] (Optional)
|
|
||||||
|
|
||||||
A pattern can be defined via a regular expression. The snippet expands
|
|
||||||
only when the expression pattern is matched.
|
|
||||||
Note: [pattern] must be quoted by "'" or '"'.
|
|
||||||
Note: It does not mean auto expand feature.
|
|
||||||
|
|
||||||
Example
|
|
||||||
>
|
|
||||||
regexp '^% '
|
|
||||||
<
|
|
||||||
- options [options] (Optional)
|
|
||||||
|
|
||||||
Options influence the snippet behavior. The possible values are:
|
|
||||||
|
|
||||||
+ word This snippet expands by a word boundary.
|
|
||||||
Note: To complete the trigger with neosnippet, it must be a
|
|
||||||
word character (digits, alphabetical characters or "_").
|
|
||||||
|
|
||||||
>
|
|
||||||
snippet date
|
|
||||||
options word
|
|
||||||
`strftime("%d %b %Y")`
|
|
||||||
<
|
|
||||||
|
|
||||||
+ head This snippet expands at the beginning of a line only.
|
|
||||||
Note: This is the same as "prev_word '^'" which is still
|
|
||||||
there for backwards compatibility.
|
|
||||||
|
|
||||||
>
|
|
||||||
snippet if
|
|
||||||
options head
|
|
||||||
if ${1:condition}
|
|
||||||
${2}
|
|
||||||
endif
|
|
||||||
<
|
|
||||||
|
|
||||||
+ indent The horizontal position of the snippet will be adjusted
|
|
||||||
to the indent of the line above the snippet after expansion.
|
|
||||||
|
|
||||||
The snippet itself starts below the part that contains the options, snippet
|
|
||||||
aliases and keywords, described above. It contains the snippet which gets
|
|
||||||
expanded which can contain several placeholders. The placeholders are used as
|
|
||||||
jump points while expanding the snippet. There are several placeholders
|
|
||||||
available providing different functionality.
|
|
||||||
|
|
||||||
The structure of a placeholder can be:
|
|
||||||
|
|
||||||
- ${number:default placeholder text}
|
|
||||||
|
|
||||||
The placeholder starts with a dollar sign "$". The number of a
|
|
||||||
placeholder and the placeholder text are separated by a colon ":".
|
|
||||||
They are surrounded by a pair of curly braces "{}". The placeholder
|
|
||||||
text is displayed after the snippet expansion and will be replaced by
|
|
||||||
your text. If you jump over the snippet and do not insert any text in
|
|
||||||
that placeholder position the text remains there. This can be used as
|
|
||||||
a default value for a certain position.
|
|
||||||
|
|
||||||
Example
|
|
||||||
|
|
||||||
>
|
|
||||||
snippet if
|
|
||||||
if ${1:condition}
|
|
||||||
${2}
|
|
||||||
endif
|
|
||||||
<
|
|
||||||
|
|
||||||
- ${number:#:optional placeholder text}
|
|
||||||
|
|
||||||
In this kind of placeholder the number is followed by the hash
|
|
||||||
character "#". If you jump over this placeholder and do not insert
|
|
||||||
any text, the placeholder text will be removed.
|
|
||||||
|
|
||||||
Example
|
|
||||||
|
|
||||||
>
|
|
||||||
snippet if
|
|
||||||
if ${1:condition}
|
|
||||||
${2}
|
|
||||||
endif
|
|
||||||
<
|
|
||||||
|
|
||||||
- ${number:TARGET}
|
|
||||||
|
|
||||||
This is the target placeholder which is replaced by text from a visual
|
|
||||||
selection.
|
|
||||||
Note: You need to make a visual selection and expand your
|
|
||||||
snippet with the key mapping below for this to work.
|
|
||||||
|
|
||||||
|x_<Plug>(neosnippet_expand_target)|.
|
|
||||||
|
|
||||||
This is very useful if you edit text and decide to put something in an
|
|
||||||
environment or some sort of brackets for folding.
|
|
||||||
|
|
||||||
Example
|
|
||||||
|
|
||||||
>
|
|
||||||
snippet if
|
|
||||||
if ${1:condition}
|
|
||||||
${2}
|
|
||||||
endif
|
|
||||||
<
|
|
||||||
|
|
||||||
- ${number}
|
|
||||||
|
|
||||||
This is a placeholder which you can use as a simple jump position.
|
|
||||||
This can be useful if you edit a placeholder inside of some sort of
|
|
||||||
brackets or environment and want to go on behind it after that.
|
|
||||||
|
|
||||||
Example
|
|
||||||
|
|
||||||
>
|
|
||||||
snippet if
|
|
||||||
if ${1:condition}
|
|
||||||
${2}
|
|
||||||
endif
|
|
||||||
|
|
||||||
${3}
|
|
||||||
<
|
|
||||||
|
|
||||||
- $number
|
|
||||||
- ${0}, $0
|
|
||||||
|
|
||||||
This is a synchronized placeholder. Sometimes it is required to repeat
|
|
||||||
a value in several positions inside a snippet. If you set the number
|
|
||||||
of this placeholder to the same number as one of the other
|
|
||||||
placeholders in the snippet, it will repeat its content. $1 is
|
|
||||||
synchronized to ${1} and so on. ${0} or $0 will be the final jump
|
|
||||||
placeholder.
|
|
||||||
|
|
||||||
Note: If you don't use ${0} in snippet, ${0} will be added
|
|
||||||
automatically.
|
|
||||||
|
|
||||||
Example
|
|
||||||
|
|
||||||
>
|
|
||||||
snippet namespace
|
|
||||||
namespace ${1:name} {
|
|
||||||
${0}
|
|
||||||
} // namespace $1
|
|
||||||
<
|
|
||||||
|
|
||||||
Note: If you like to include characters in snippets that already have
|
|
||||||
a special meaning to neosnippet you need to escape them with a
|
|
||||||
backslash.
|
|
||||||
|
|
||||||
>
|
|
||||||
snippet code
|
|
||||||
\`${1}\`${2}
|
|
||||||
|
|
||||||
snippet test
|
|
||||||
${1:escape \} value}
|
|
||||||
|
|
||||||
# Substitute "\$0" to "$0"
|
|
||||||
snippet main
|
|
||||||
options head
|
|
||||||
if __FILE__ == \$0
|
|
||||||
${1:TARGET}
|
|
||||||
end
|
|
||||||
<
|
|
||||||
|
|
||||||
A placeholder value can not contain new lines. The snippet below is
|
|
||||||
not valid.
|
|
||||||
|
|
||||||
>
|
|
||||||
snippet invalid
|
|
||||||
${1:constructor: (${2:args\}) ->
|
|
||||||
${3:# do smth}}
|
|
||||||
<
|
|
||||||
|
|
||||||
Vim has a built-in expression evaluation. You can also use this feature inside
|
|
||||||
of snippets if you use back ticks like in the example below. Here the "%:t"
|
|
||||||
gets expanded to the name of the current active file and the current time gets
|
|
||||||
inserted by expanding the output of the strftime command.
|
|
||||||
|
|
||||||
>
|
|
||||||
snippet header
|
|
||||||
File: ${1:`expand('%:t')`}
|
|
||||||
${2:Created at: `strftime("%B %d, %Y")`}
|
|
||||||
<
|
|
||||||
|
|
||||||
You can also nest placeholders if you escape the special characters.
|
|
||||||
|
|
||||||
>
|
|
||||||
snippet div
|
|
||||||
<div ${1:id="${2:someid\}"}>${3}</div>${4}
|
|
||||||
<
|
|
||||||
If you need to use literal "$" in default, you must escape the special
|
|
||||||
characters.
|
|
||||||
>
|
|
||||||
snippet test
|
|
||||||
${1:escape \\${2:foobar\} value}
|
|
||||||
|
|
||||||
In some cases you need to escape the curly brace "}" twice as shown in the
|
|
||||||
example below.
|
|
||||||
|
|
||||||
>
|
|
||||||
snippet catch
|
|
||||||
options head
|
|
||||||
catch ${1:/${2:pattern: empty, E484, Vim(cmdname):{errmsg\\}\}/}
|
|
||||||
<
|
|
||||||
|
|
||||||
This is because ${1:} substitutes the pattern to "/${2:pattern: empty, E484,
|
|
||||||
Vim(cmdname):{errmsg\}}" and ${2:} substitutes the pattern to "pattern: empty,
|
|
||||||
E484, Vim(cmdname):{errmsg}"
|
|
||||||
|
|
||||||
If you create a snippet file and prepend the filename with a "_" neosnippet
|
|
||||||
treats the snippets inside the file as global. This means that they will be
|
|
||||||
available for all file types (e.g _.snip). You can include other snippet files
|
|
||||||
from within a snippet file with.
|
|
||||||
|
|
||||||
>
|
|
||||||
include c.snip
|
|
||||||
<
|
|
||||||
|
|
||||||
Or if you want to include a whole directory with file type snippets.
|
|
||||||
|
|
||||||
>
|
|
||||||
include javascript/*
|
|
||||||
<
|
|
||||||
Neosnippet also supports "extends" syntax like snipMate.
|
|
||||||
|
|
||||||
>
|
|
||||||
extends c
|
|
||||||
<
|
|
||||||
It behaves like this:
|
|
||||||
|
|
||||||
>
|
|
||||||
include c.snip
|
|
||||||
include c.snippets
|
|
||||||
include c/*
|
|
||||||
<
|
|
||||||
If you include snippet files it can happen that the same snippet name is used
|
|
||||||
multiple times in snippet files. Neosnippet produces a warning if it detects
|
|
||||||
this. If you want to overwrite a snippet explicitly, please use:
|
|
||||||
|
|
||||||
>
|
|
||||||
delete snippets_name
|
|
||||||
<
|
|
||||||
|
|
||||||
After that you can redefine the snippet. But this does not work if you include
|
|
||||||
external snippet files. There will be no warning when snippets get
|
|
||||||
overwritten external snippet files. There will be no warning when snippets get
|
|
||||||
overwritten.
|
|
||||||
|
|
||||||
Multi snippet feature in snipMate is available. Neosnippet substitutes trigger
|
|
||||||
and descriptions spaces to '_'.
|
|
||||||
|
|
||||||
>
|
|
||||||
snippet trigger description1
|
|
||||||
hoge
|
|
||||||
snippet trigger description2
|
|
||||||
piyo
|
|
||||||
<
|
|
||||||
|
|
||||||
If you use hard-tab for indentation inside a snippet file, neosnippet will use
|
|
||||||
'shiftwidth' instead of Vim indent plugin. This feature is useful while some
|
|
||||||
languages' indent files do not work very well (e.g.: PHP, Python).
|
|
||||||
>
|
|
||||||
snippet if
|
|
||||||
if (${1:/* condition */}) {
|
|
||||||
${2:// code...}
|
|
||||||
}
|
|
||||||
<
|
|
||||||
|
|
||||||
Note: "#{string}" is comment string. But it must be in head.
|
|
||||||
>
|
|
||||||
# It is comment string
|
|
||||||
# It is not comment string!
|
|
||||||
<
|
|
||||||
|
|
||||||
Note: Neosnippet ignores empty or spaces lines in snippet end. If you want to
|
|
||||||
insert empty line in snippet end, you must insert placeholder.
|
|
||||||
>
|
|
||||||
# This is valid.
|
|
||||||
snippet #!
|
|
||||||
abbr #!/usr/bin/env ruby
|
|
||||||
alias shebang
|
|
||||||
options head
|
|
||||||
#!/usr/bin/env ruby
|
|
||||||
|
|
||||||
${0}
|
|
||||||
|
|
||||||
# This is invalid(ignores spaces lines!).
|
|
||||||
snippet #!
|
|
||||||
abbr #!/usr/bin/env ruby
|
|
||||||
alias shebang
|
|
||||||
options head
|
|
||||||
#!/usr/bin/env ruby
|
|
||||||
|
|
||||||
|
|
||||||
You can load a Vim script file for snippets.
|
|
||||||
|
|
||||||
>
|
|
||||||
source go.vim
|
|
||||||
<
|
|
||||||
UNITE SOURCES *neosnippet-unite-sources*
|
|
||||||
|
|
||||||
*neosnippet-unite-source-neosnippet*
|
|
||||||
neosnippet
|
|
||||||
The candidates of the snippet source are neosnippet snippets.
|
|
||||||
and their kind is "snippet". You can use the snippet source
|
|
||||||
with the mapping |i_<Plug>(neosnippet_start_unite_snippet)|.
|
|
||||||
But you can also execute it by ":Unite neosnippet". The
|
|
||||||
snippet source offers an edit action you can use to edit the
|
|
||||||
snippet files.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
imap <C-s> <Plug>(neosnippet_start_unite_snippet)
|
|
||||||
<
|
|
||||||
*neosnippet-unite-source-neosnippet/user*
|
|
||||||
neosnippet/user
|
|
||||||
The candidates of the user snippet files.
|
|
||||||
|
|
||||||
*neosnippet-unite-source-neosnippet/runtime*
|
|
||||||
neosnippet/runtime
|
|
||||||
The candidates of the runtime snippet files.
|
|
||||||
|
|
||||||
source actions
|
|
||||||
|
|
||||||
neosnippet *neosnippet-unite-action-neosnippet*
|
|
||||||
expand Expand snippet (default action)
|
|
||||||
edit Edit snippet
|
|
||||||
preview View snippet definition
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
FAQ *neosnippet-faq*
|
|
||||||
|
|
||||||
Q: How to donate money to you?
|
|
||||||
|
|
||||||
A: I have started github sponsorship to spend more time for Vim/neovim
|
|
||||||
plugins. You can donate money to help me!
|
|
||||||
|
|
||||||
https://github.com/sponsors/Shougo
|
|
||||||
|
|
||||||
Q: What if I want to expand a snippet trigger after (, [, " etc...:
|
|
||||||
|
|
||||||
A: You should use "options word" in the snippet definition. This changes the
|
|
||||||
expansion behavior to a word boundary or set
|
|
||||||
|g:neosnippet#expand_word_boundary|.
|
|
||||||
>
|
|
||||||
snippet date
|
|
||||||
options word
|
|
||||||
`strftime("%d %b %Y")`
|
|
||||||
<
|
|
||||||
|
|
||||||
Q: Why does neosnippet not indent the expanded snippet?
|
|
||||||
|
|
||||||
A: You should use "options indent" in the snippet definition. In default,
|
|
||||||
neosnippet doesn't indent the expanded line.
|
|
||||||
|
|
||||||
Q: What if Neosnippet conflicts with |LustyJuggler|.
|
|
||||||
http://www.vim.org/scripts/script.php?script_id=2050
|
|
||||||
|
|
||||||
A: Please try below settings:
|
|
||||||
Note: But you must unmap the mappings in select mode manually.
|
|
||||||
>
|
|
||||||
let g:neosnippet#disable_select_mode_mappings = 0
|
|
||||||
<
|
|
||||||
|
|
||||||
Q: Error using snipmate-snippets
|
|
||||||
Note: snipmate-snippets is currently vim-snippets.
|
|
||||||
https://github.com/Shougo/neosnippet/issues/86
|
|
||||||
|
|
||||||
A: Please try the setting below. It defines the snipMate function.
|
|
||||||
>
|
|
||||||
let g:neosnippet#enable_snipmate_compatibility = 1
|
|
||||||
<
|
|
||||||
Q: I want to disable preview window in neosnippet candidates.
|
|
||||||
|
|
||||||
A:
|
|
||||||
>
|
|
||||||
set completeopt-=preview
|
|
||||||
<
|
|
||||||
Q: I want to add snippets dynamically.
|
|
||||||
|
|
||||||
A: You can use |:NeoSnippetSource| for it.
|
|
||||||
|
|
||||||
Q: I want to delete markers when InsertLeave event.
|
|
||||||
|
|
||||||
A: You can use |:NeoSnippetClearMarkers| command. >
|
|
||||||
|
|
||||||
autocmd InsertLeave * NeoSnippetClearMarkers
|
|
||||||
snoremap <silent><ESC> <ESC>:NeoSnippetClearMarkers<CR>
|
|
||||||
|
|
||||||
Q: Why did you separate default snippets from neosnippet core?
|
|
||||||
|
|
||||||
A: Because users should choose default snippet collection.
|
|
||||||
neosnippet has many forks, but almost all forked users change default snippet
|
|
||||||
files.
|
|
||||||
https://github.com/Shougo/neosnippet.vim/network
|
|
||||||
If splitted default snippets, users can fork and change it easily.
|
|
||||||
|
|
||||||
Q: I want to complete function arguments using neosnippet like clang_complete.
|
|
||||||
|
|
||||||
A: Yes, you can. You can just complete the candidate from completion window
|
|
||||||
and expand the candidate as trigger.
|
|
||||||
Note: It works in "func(arg1, arg2, ...)" prototypes only.
|
|
||||||
Note: It is experiental feature.
|
|
||||||
Note: |v:completed_item| feature is needed.
|
|
||||||
|
|
||||||
Q: I want to expand auto completed parameters.
|
|
||||||
Q: I want to use |vim-lsp| or |nvim-lsp| snippets with neosnippet.
|
|
||||||
|
|
||||||
A: >
|
|
||||||
let g:neosnippet#enable_completed_snippet = 1
|
|
||||||
let g:neosnippet#enable_complete_done = 1
|
|
||||||
|
|
||||||
Q. How to enable neosnippet the completion in ddc.vim?
|
|
||||||
|
|
||||||
A. >
|
|
||||||
|
|
||||||
call ddc#custom#patch_global('sources', ['neosnippet'])
|
|
||||||
call ddc#custom#patch_global('sourceOptions', {
|
|
||||||
\ '_': {
|
|
||||||
\ 'matchers': ['matcher_head'],
|
|
||||||
\ 'sorters': ['sorter_rank']
|
|
||||||
\ },
|
|
||||||
\ 'neosnippet': {'mark': 'ns', 'dup': v:true},
|
|
||||||
\ })
|
|
||||||
<
|
|
||||||
==============================================================================
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:noet:fen:noet:
|
|
||||||
@@ -1,533 +0,0 @@
|
|||||||
:GBrowse fugitive.txt /*:GBrowse*
|
|
||||||
:GDelete fugitive.txt /*:GDelete*
|
|
||||||
:GMove fugitive.txt /*:GMove*
|
|
||||||
:GRemove fugitive.txt /*:GRemove*
|
|
||||||
:GRename fugitive.txt /*:GRename*
|
|
||||||
:GUnlink fugitive.txt /*:GUnlink*
|
|
||||||
:Gblame fugitive.txt /*:Gblame*
|
|
||||||
:Gbrowse fugitive.txt /*:Gbrowse*
|
|
||||||
:Gcd fugitive.txt /*:Gcd*
|
|
||||||
:Gclog fugitive.txt /*:Gclog*
|
|
||||||
:Gcommit fugitive.txt /*:Gcommit*
|
|
||||||
:Gdelete fugitive.txt /*:Gdelete*
|
|
||||||
:Gdiff fugitive.txt /*:Gdiff*
|
|
||||||
:Gdiffsplit fugitive.txt /*:Gdiffsplit*
|
|
||||||
:Gdiffsplit! fugitive.txt /*:Gdiffsplit!*
|
|
||||||
:Gdrop fugitive.txt /*:Gdrop*
|
|
||||||
:Gedit fugitive.txt /*:Gedit*
|
|
||||||
:Gfetch fugitive.txt /*:Gfetch*
|
|
||||||
:Ggrep fugitive.txt /*:Ggrep*
|
|
||||||
:Ghdiffsplit fugitive.txt /*:Ghdiffsplit*
|
|
||||||
:Git fugitive.txt /*:Git*
|
|
||||||
:Git! fugitive.txt /*:Git!*
|
|
||||||
:Git_--paginate fugitive.txt /*:Git_--paginate*
|
|
||||||
:Git_-p fugitive.txt /*:Git_-p*
|
|
||||||
:Git_blame fugitive.txt /*:Git_blame*
|
|
||||||
:Git_difftool fugitive.txt /*:Git_difftool*
|
|
||||||
:Git_grep fugitive.txt /*:Git_grep*
|
|
||||||
:Git_mergetool fugitive.txt /*:Git_mergetool*
|
|
||||||
:Glcd fugitive.txt /*:Glcd*
|
|
||||||
:Glgrep fugitive.txt /*:Glgrep*
|
|
||||||
:Gllog fugitive.txt /*:Gllog*
|
|
||||||
:Glog fugitive.txt /*:Glog*
|
|
||||||
:Gmerge fugitive.txt /*:Gmerge*
|
|
||||||
:Gmove fugitive.txt /*:Gmove*
|
|
||||||
:Gpedit fugitive.txt /*:Gpedit*
|
|
||||||
:Gpedit! fugitive.txt /*:Gpedit!*
|
|
||||||
:Gpull fugitive.txt /*:Gpull*
|
|
||||||
:Gpush fugitive.txt /*:Gpush*
|
|
||||||
:Gread fugitive.txt /*:Gread*
|
|
||||||
:Grebase fugitive.txt /*:Grebase*
|
|
||||||
:Gremove fugitive.txt /*:Gremove*
|
|
||||||
:Grename fugitive.txt /*:Grename*
|
|
||||||
:Grevert fugitive.txt /*:Grevert*
|
|
||||||
:Gsdiff fugitive.txt /*:Gsdiff*
|
|
||||||
:Gsplit fugitive.txt /*:Gsplit*
|
|
||||||
:Gsplit! fugitive.txt /*:Gsplit!*
|
|
||||||
:Gstatus fugitive.txt /*:Gstatus*
|
|
||||||
:Gtabedit fugitive.txt /*:Gtabedit*
|
|
||||||
:Gtabsplit! fugitive.txt /*:Gtabsplit!*
|
|
||||||
:Gvdiff fugitive.txt /*:Gvdiff*
|
|
||||||
:Gvdiffsplit fugitive.txt /*:Gvdiffsplit*
|
|
||||||
:Gvsplit fugitive.txt /*:Gvsplit*
|
|
||||||
:Gvsplit! fugitive.txt /*:Gvsplit!*
|
|
||||||
:Gwq fugitive.txt /*:Gwq*
|
|
||||||
:Gwrite fugitive.txt /*:Gwrite*
|
|
||||||
:NeoBundle neobundle.txt /*:NeoBundle*
|
|
||||||
:NeoBundleCheck neobundle.txt /*:NeoBundleCheck*
|
|
||||||
:NeoBundleCheckUpdate neobundle.txt /*:NeoBundleCheckUpdate*
|
|
||||||
:NeoBundleClearCache neobundle.txt /*:NeoBundleClearCache*
|
|
||||||
:NeoBundleCount neobundle.txt /*:NeoBundleCount*
|
|
||||||
:NeoBundleDirectInstall neobundle.txt /*:NeoBundleDirectInstall*
|
|
||||||
:NeoBundleDisable neobundle.txt /*:NeoBundleDisable*
|
|
||||||
:NeoBundleDocs neobundle.txt /*:NeoBundleDocs*
|
|
||||||
:NeoBundleExtraEdit neobundle.txt /*:NeoBundleExtraEdit*
|
|
||||||
:NeoBundleFetch neobundle.txt /*:NeoBundleFetch*
|
|
||||||
:NeoBundleGC neobundle.txt /*:NeoBundleGC*
|
|
||||||
:NeoBundleInstall neobundle.txt /*:NeoBundleInstall*
|
|
||||||
:NeoBundleInstall! neobundle.txt /*:NeoBundleInstall!*
|
|
||||||
:NeoBundleLazy neobundle.txt /*:NeoBundleLazy*
|
|
||||||
:NeoBundleList neobundle.txt /*:NeoBundleList*
|
|
||||||
:NeoBundleLoadCache neobundle.txt /*:NeoBundleLoadCache*
|
|
||||||
:NeoBundleLocal neobundle.txt /*:NeoBundleLocal*
|
|
||||||
:NeoBundleLog neobundle.txt /*:NeoBundleLog*
|
|
||||||
:NeoBundleReinstall neobundle.txt /*:NeoBundleReinstall*
|
|
||||||
:NeoBundleRemotePlugins neobundle.txt /*:NeoBundleRemotePlugins*
|
|
||||||
:NeoBundleRollback neobundle.txt /*:NeoBundleRollback*
|
|
||||||
:NeoBundleSaveCache neobundle.txt /*:NeoBundleSaveCache*
|
|
||||||
:NeoBundleSource neobundle.txt /*:NeoBundleSource*
|
|
||||||
:NeoBundleUpdate neobundle.txt /*:NeoBundleUpdate*
|
|
||||||
:NeoBundleUpdate! neobundle.txt /*:NeoBundleUpdate!*
|
|
||||||
:NeoBundleUpdatesLog neobundle.txt /*:NeoBundleUpdatesLog*
|
|
||||||
:NeoSnippetClearMarkers neosnippet.txt /*:NeoSnippetClearMarkers*
|
|
||||||
:NeoSnippetEdit neosnippet.txt /*:NeoSnippetEdit*
|
|
||||||
:NeoSnippetMakeCache neosnippet.txt /*:NeoSnippetMakeCache*
|
|
||||||
:NeoSnippetSource neosnippet.txt /*:NeoSnippetSource*
|
|
||||||
:VimShell vimshell.txt /*:VimShell*
|
|
||||||
:VimShellCreate vimshell.txt /*:VimShellCreate*
|
|
||||||
:VimShellExecute vimshell.txt /*:VimShellExecute*
|
|
||||||
:VimShellInteractive vimshell.txt /*:VimShellInteractive*
|
|
||||||
:VimShellPop vimshell.txt /*:VimShellPop*
|
|
||||||
:VimShellSendBuffer vimshell.txt /*:VimShellSendBuffer*
|
|
||||||
:VimShellSendString vimshell.txt /*:VimShellSendString*
|
|
||||||
:VimShellTab vimshell.txt /*:VimShellTab*
|
|
||||||
:VimShellTerminal vimshell.txt /*:VimShellTerminal*
|
|
||||||
<Plug>(neosnippet_expand) neosnippet.txt /*<Plug>(neosnippet_expand)*
|
|
||||||
<Plug>(neosnippet_expand_or_jump) neosnippet.txt /*<Plug>(neosnippet_expand_or_jump)*
|
|
||||||
<Plug>(neosnippet_jump) neosnippet.txt /*<Plug>(neosnippet_jump)*
|
|
||||||
<Plug>(neosnippet_jump_or_expand) neosnippet.txt /*<Plug>(neosnippet_jump_or_expand)*
|
|
||||||
<Plug>(vimshell_append_end) vimshell.txt /*<Plug>(vimshell_append_end)*
|
|
||||||
<Plug>(vimshell_append_enter) vimshell.txt /*<Plug>(vimshell_append_enter)*
|
|
||||||
<Plug>(vimshell_change_line) vimshell.txt /*<Plug>(vimshell_change_line)*
|
|
||||||
<Plug>(vimshell_clear) vimshell.txt /*<Plug>(vimshell_clear)*
|
|
||||||
<Plug>(vimshell_create) vimshell.txt /*<Plug>(vimshell_create)*
|
|
||||||
<Plug>(vimshell_delete_line) vimshell.txt /*<Plug>(vimshell_delete_line)*
|
|
||||||
<Plug>(vimshell_delete_previous_output) vimshell.txt /*<Plug>(vimshell_delete_previous_output)*
|
|
||||||
<Plug>(vimshell_enter) vimshell.txt /*<Plug>(vimshell_enter)*
|
|
||||||
<Plug>(vimshell_execute_by_background) vimshell.txt /*<Plug>(vimshell_execute_by_background)*
|
|
||||||
<Plug>(vimshell_exit) vimshell.txt /*<Plug>(vimshell_exit)*
|
|
||||||
<Plug>(vimshell_hangup) vimshell.txt /*<Plug>(vimshell_hangup)*
|
|
||||||
<Plug>(vimshell_hide) vimshell.txt /*<Plug>(vimshell_hide)*
|
|
||||||
<Plug>(vimshell_insert_enter) vimshell.txt /*<Plug>(vimshell_insert_enter)*
|
|
||||||
<Plug>(vimshell_insert_head) vimshell.txt /*<Plug>(vimshell_insert_head)*
|
|
||||||
<Plug>(vimshell_int_append_end) vimshell.txt /*<Plug>(vimshell_int_append_end)*
|
|
||||||
<Plug>(vimshell_int_append_enter) vimshell.txt /*<Plug>(vimshell_int_append_enter)*
|
|
||||||
<Plug>(vimshell_int_change_line) vimshell.txt /*<Plug>(vimshell_int_change_line)*
|
|
||||||
<Plug>(vimshell_int_clear) vimshell.txt /*<Plug>(vimshell_int_clear)*
|
|
||||||
<Plug>(vimshell_int_delete_line) vimshell.txt /*<Plug>(vimshell_int_delete_line)*
|
|
||||||
<Plug>(vimshell_int_execute_line) vimshell.txt /*<Plug>(vimshell_int_execute_line)*
|
|
||||||
<Plug>(vimshell_int_exit) vimshell.txt /*<Plug>(vimshell_int_exit)*
|
|
||||||
<Plug>(vimshell_int_hangup) vimshell.txt /*<Plug>(vimshell_int_hangup)*
|
|
||||||
<Plug>(vimshell_int_insert_enter) vimshell.txt /*<Plug>(vimshell_int_insert_enter)*
|
|
||||||
<Plug>(vimshell_int_insert_head) vimshell.txt /*<Plug>(vimshell_int_insert_head)*
|
|
||||||
<Plug>(vimshell_int_next_prompt) vimshell.txt /*<Plug>(vimshell_int_next_prompt)*
|
|
||||||
<Plug>(vimshell_int_paste_prompt) vimshell.txt /*<Plug>(vimshell_int_paste_prompt)*
|
|
||||||
<Plug>(vimshell_int_previous_prompt) vimshell.txt /*<Plug>(vimshell_int_previous_prompt)*
|
|
||||||
<Plug>(vimshell_int_restart_command) vimshell.txt /*<Plug>(vimshell_int_restart_command)*
|
|
||||||
<Plug>(vimshell_move_end_argument) vimshell.txt /*<Plug>(vimshell_move_end_argument)*
|
|
||||||
<Plug>(vimshell_move_head) vimshell.txt /*<Plug>(vimshell_move_head)*
|
|
||||||
<Plug>(vimshell_next_prompt) vimshell.txt /*<Plug>(vimshell_next_prompt)*
|
|
||||||
<Plug>(vimshell_paste_prompt) vimshell.txt /*<Plug>(vimshell_paste_prompt)*
|
|
||||||
<Plug>(vimshell_previous_prompt) vimshell.txt /*<Plug>(vimshell_previous_prompt)*
|
|
||||||
<Plug>(vimshell_split_create) vimshell.txt /*<Plug>(vimshell_split_create)*
|
|
||||||
<Plug>(vimshell_split_switch) vimshell.txt /*<Plug>(vimshell_split_switch)*
|
|
||||||
<Plug>(vimshell_switch) vimshell.txt /*<Plug>(vimshell_switch)*
|
|
||||||
FugitiveStatusline() fugitive.txt /*FugitiveStatusline()*
|
|
||||||
User_Fugitive fugitive.txt /*User_Fugitive*
|
|
||||||
User_FugitiveBlob fugitive.txt /*User_FugitiveBlob*
|
|
||||||
User_FugitiveChanged fugitive.txt /*User_FugitiveChanged*
|
|
||||||
User_FugitiveCommit fugitive.txt /*User_FugitiveCommit*
|
|
||||||
User_FugitiveEditor fugitive.txt /*User_FugitiveEditor*
|
|
||||||
User_FugitiveIndex fugitive.txt /*User_FugitiveIndex*
|
|
||||||
User_FugitiveObject fugitive.txt /*User_FugitiveObject*
|
|
||||||
User_FugitivePager fugitive.txt /*User_FugitivePager*
|
|
||||||
User_FugitiveStageBlob fugitive.txt /*User_FugitiveStageBlob*
|
|
||||||
User_FugitiveTag fugitive.txt /*User_FugitiveTag*
|
|
||||||
User_FugitiveTree fugitive.txt /*User_FugitiveTree*
|
|
||||||
b:neosnippet_disable_snippet_triggers neosnippet.txt /*b:neosnippet_disable_snippet_triggers*
|
|
||||||
fugitive fugitive.txt /*fugitive*
|
|
||||||
fugitive#statusline() fugitive.txt /*fugitive#statusline()*
|
|
||||||
fugitive-:G fugitive.txt /*fugitive-:G*
|
|
||||||
fugitive-:Ge fugitive.txt /*fugitive-:Ge*
|
|
||||||
fugitive-:Gr fugitive.txt /*fugitive-:Gr*
|
|
||||||
fugitive-:Gw fugitive.txt /*fugitive-:Gw*
|
|
||||||
fugitive-about fugitive.txt /*fugitive-about*
|
|
||||||
fugitive-api fugitive.txt /*fugitive-api*
|
|
||||||
fugitive-autocommands fugitive.txt /*fugitive-autocommands*
|
|
||||||
fugitive-commands fugitive.txt /*fugitive-commands*
|
|
||||||
fugitive-deprecated fugitive.txt /*fugitive-deprecated*
|
|
||||||
fugitive-global-maps fugitive.txt /*fugitive-global-maps*
|
|
||||||
fugitive-maps fugitive.txt /*fugitive-maps*
|
|
||||||
fugitive-misc-maps fugitive.txt /*fugitive-misc-maps*
|
|
||||||
fugitive-navigation-maps fugitive.txt /*fugitive-navigation-maps*
|
|
||||||
fugitive-object fugitive.txt /*fugitive-object*
|
|
||||||
fugitive-revision fugitive.txt /*fugitive-revision*
|
|
||||||
fugitive-staging-maps fugitive.txt /*fugitive-staging-maps*
|
|
||||||
fugitive-statusline fugitive.txt /*fugitive-statusline*
|
|
||||||
fugitive-summary fugitive.txt /*fugitive-summary*
|
|
||||||
fugitive.txt fugitive.txt /*fugitive.txt*
|
|
||||||
fugitive_# fugitive.txt /*fugitive_#*
|
|
||||||
fugitive_( fugitive.txt /*fugitive_(*
|
|
||||||
fugitive_) fugitive.txt /*fugitive_)*
|
|
||||||
fugitive_- fugitive.txt /*fugitive_-*
|
|
||||||
fugitive_. fugitive.txt /*fugitive_.*
|
|
||||||
fugitive_< fugitive.txt /*fugitive_<*
|
|
||||||
fugitive_<CR> fugitive.txt /*fugitive_<CR>*
|
|
||||||
fugitive_= fugitive.txt /*fugitive_=*
|
|
||||||
fugitive_> fugitive.txt /*fugitive_>*
|
|
||||||
fugitive_C fugitive.txt /*fugitive_C*
|
|
||||||
fugitive_CTRL-N fugitive.txt /*fugitive_CTRL-N*
|
|
||||||
fugitive_CTRL-P fugitive.txt /*fugitive_CTRL-P*
|
|
||||||
fugitive_I fugitive.txt /*fugitive_I*
|
|
||||||
fugitive_O fugitive.txt /*fugitive_O*
|
|
||||||
fugitive_P fugitive.txt /*fugitive_P*
|
|
||||||
fugitive_U fugitive.txt /*fugitive_U*
|
|
||||||
fugitive_X fugitive.txt /*fugitive_X*
|
|
||||||
fugitive_[/ fugitive.txt /*fugitive_[\/*
|
|
||||||
fugitive_[[ fugitive.txt /*fugitive_[[*
|
|
||||||
fugitive_[] fugitive.txt /*fugitive_[]*
|
|
||||||
fugitive_[c fugitive.txt /*fugitive_[c*
|
|
||||||
fugitive_[m fugitive.txt /*fugitive_[m*
|
|
||||||
fugitive_]/ fugitive.txt /*fugitive_]\/*
|
|
||||||
fugitive_][ fugitive.txt /*fugitive_][*
|
|
||||||
fugitive_]] fugitive.txt /*fugitive_]]*
|
|
||||||
fugitive_]c fugitive.txt /*fugitive_]c*
|
|
||||||
fugitive_]m fugitive.txt /*fugitive_]m*
|
|
||||||
fugitive_c fugitive.txt /*fugitive_c*
|
|
||||||
fugitive_c_CTRL-R_CTRL-G fugitive.txt /*fugitive_c_CTRL-R_CTRL-G*
|
|
||||||
fugitive_cb fugitive.txt /*fugitive_cb*
|
|
||||||
fugitive_cm fugitive.txt /*fugitive_cm*
|
|
||||||
fugitive_co fugitive.txt /*fugitive_co*
|
|
||||||
fugitive_cr fugitive.txt /*fugitive_cr*
|
|
||||||
fugitive_cz fugitive.txt /*fugitive_cz*
|
|
||||||
fugitive_d fugitive.txt /*fugitive_d*
|
|
||||||
fugitive_d? fugitive.txt /*fugitive_d?*
|
|
||||||
fugitive_dd fugitive.txt /*fugitive_dd*
|
|
||||||
fugitive_dh fugitive.txt /*fugitive_dh*
|
|
||||||
fugitive_dp fugitive.txt /*fugitive_dp*
|
|
||||||
fugitive_dq fugitive.txt /*fugitive_dq*
|
|
||||||
fugitive_ds fugitive.txt /*fugitive_ds*
|
|
||||||
fugitive_dv fugitive.txt /*fugitive_dv*
|
|
||||||
fugitive_g? fugitive.txt /*fugitive_g?*
|
|
||||||
fugitive_gI fugitive.txt /*fugitive_gI*
|
|
||||||
fugitive_gO fugitive.txt /*fugitive_gO*
|
|
||||||
fugitive_gP fugitive.txt /*fugitive_gP*
|
|
||||||
fugitive_gU fugitive.txt /*fugitive_gU*
|
|
||||||
fugitive_gi fugitive.txt /*fugitive_gi*
|
|
||||||
fugitive_gp fugitive.txt /*fugitive_gp*
|
|
||||||
fugitive_gq fugitive.txt /*fugitive_gq*
|
|
||||||
fugitive_gr fugitive.txt /*fugitive_gr*
|
|
||||||
fugitive_gs fugitive.txt /*fugitive_gs*
|
|
||||||
fugitive_gu fugitive.txt /*fugitive_gu*
|
|
||||||
fugitive_i fugitive.txt /*fugitive_i*
|
|
||||||
fugitive_o fugitive.txt /*fugitive_o*
|
|
||||||
fugitive_p fugitive.txt /*fugitive_p*
|
|
||||||
fugitive_q fugitive.txt /*fugitive_q*
|
|
||||||
fugitive_r fugitive.txt /*fugitive_r*
|
|
||||||
fugitive_s fugitive.txt /*fugitive_s*
|
|
||||||
fugitive_star fugitive.txt /*fugitive_star*
|
|
||||||
fugitive_u fugitive.txt /*fugitive_u*
|
|
||||||
fugitive_y_CTRL-G fugitive.txt /*fugitive_y_CTRL-G*
|
|
||||||
fugitive_~ fugitive.txt /*fugitive_~*
|
|
||||||
g:fugitive_dynamic_colors fugitive.txt /*g:fugitive_dynamic_colors*
|
|
||||||
g:fugitive_no_maps fugitive.txt /*g:fugitive_no_maps*
|
|
||||||
g:neobundle#cache_file neobundle.txt /*g:neobundle#cache_file*
|
|
||||||
g:neobundle#default_options neobundle.txt /*g:neobundle#default_options*
|
|
||||||
g:neobundle#default_site neobundle.txt /*g:neobundle#default_site*
|
|
||||||
g:neobundle#enable_name_conversion neobundle.txt /*g:neobundle#enable_name_conversion*
|
|
||||||
g:neobundle#install_max_processes neobundle.txt /*g:neobundle#install_max_processes*
|
|
||||||
g:neobundle#install_process_timeout neobundle.txt /*g:neobundle#install_process_timeout*
|
|
||||||
g:neobundle#log_filename neobundle.txt /*g:neobundle#log_filename*
|
|
||||||
g:neobundle#rm_command neobundle.txt /*g:neobundle#rm_command*
|
|
||||||
g:neobundle#types#git#clone_depth neobundle.txt /*g:neobundle#types#git#clone_depth*
|
|
||||||
g:neobundle#types#git#command_path neobundle.txt /*g:neobundle#types#git#command_path*
|
|
||||||
g:neobundle#types#git#default_protocol neobundle.txt /*g:neobundle#types#git#default_protocol*
|
|
||||||
g:neobundle#types#git#enable_submodule neobundle.txt /*g:neobundle#types#git#enable_submodule*
|
|
||||||
g:neobundle#types#git#pull_command neobundle.txt /*g:neobundle#types#git#pull_command*
|
|
||||||
g:neobundle#types#hg#command_path neobundle.txt /*g:neobundle#types#hg#command_path*
|
|
||||||
g:neobundle#types#hg#default_protocol neobundle.txt /*g:neobundle#types#hg#default_protocol*
|
|
||||||
g:neobundle#types#raw#calc_hash_command neobundle.txt /*g:neobundle#types#raw#calc_hash_command*
|
|
||||||
g:neobundle#types#svn#command_path neobundle.txt /*g:neobundle#types#svn#command_path*
|
|
||||||
g:neosnippet#conceal_char neosnippet.txt /*g:neosnippet#conceal_char*
|
|
||||||
g:neosnippet#data_directory neosnippet.txt /*g:neosnippet#data_directory*
|
|
||||||
g:neosnippet#disable_runtime_snippets neosnippet.txt /*g:neosnippet#disable_runtime_snippets*
|
|
||||||
g:neosnippet#disable_select_mode_mappings neosnippet.txt /*g:neosnippet#disable_select_mode_mappings*
|
|
||||||
g:neosnippet#enable_auto_clear_markers neosnippet.txt /*g:neosnippet#enable_auto_clear_markers*
|
|
||||||
g:neosnippet#enable_complete_done neosnippet.txt /*g:neosnippet#enable_complete_done*
|
|
||||||
g:neosnippet#enable_completed_snippet neosnippet.txt /*g:neosnippet#enable_completed_snippet*
|
|
||||||
g:neosnippet#enable_conceal_markers neosnippet.txt /*g:neosnippet#enable_conceal_markers*
|
|
||||||
g:neosnippet#enable_optional_arguments neosnippet.txt /*g:neosnippet#enable_optional_arguments*
|
|
||||||
g:neosnippet#enable_snipmate_compatibility neosnippet.txt /*g:neosnippet#enable_snipmate_compatibility*
|
|
||||||
g:neosnippet#expand_word_boundary neosnippet.txt /*g:neosnippet#expand_word_boundary*
|
|
||||||
g:neosnippet#scope_aliases neosnippet.txt /*g:neosnippet#scope_aliases*
|
|
||||||
g:neosnippet#snippets_directory neosnippet.txt /*g:neosnippet#snippets_directory*
|
|
||||||
g:vimshell_cat_command vimshell.txt /*g:vimshell_cat_command*
|
|
||||||
g:vimshell_cd_command vimshell.txt /*g:vimshell_cd_command*
|
|
||||||
g:vimshell_disable_escape_highlight vimshell.txt /*g:vimshell_disable_escape_highlight*
|
|
||||||
g:vimshell_environment_term vimshell.txt /*g:vimshell_environment_term*
|
|
||||||
g:vimshell_escape_colors vimshell.txt /*g:vimshell_escape_colors*
|
|
||||||
g:vimshell_ignore_case vimshell.txt /*g:vimshell_ignore_case*
|
|
||||||
g:vimshell_interactive_command_options vimshell.txt /*g:vimshell_interactive_command_options*
|
|
||||||
g:vimshell_interactive_cygwin_commands vimshell.txt /*g:vimshell_interactive_cygwin_commands*
|
|
||||||
g:vimshell_interactive_cygwin_home vimshell.txt /*g:vimshell_interactive_cygwin_home*
|
|
||||||
g:vimshell_interactive_cygwin_path vimshell.txt /*g:vimshell_interactive_cygwin_path*
|
|
||||||
g:vimshell_interactive_encodings vimshell.txt /*g:vimshell_interactive_encodings*
|
|
||||||
g:vimshell_interactive_interpreter_commands vimshell.txt /*g:vimshell_interactive_interpreter_commands*
|
|
||||||
g:vimshell_interactive_monochrome_commands vimshell.txt /*g:vimshell_interactive_monochrome_commands*
|
|
||||||
g:vimshell_interactive_no_echoback_commands vimshell.txt /*g:vimshell_interactive_no_echoback_commands*
|
|
||||||
g:vimshell_interactive_no_save_history_commands vimshell.txt /*g:vimshell_interactive_no_save_history_commands*
|
|
||||||
g:vimshell_interactive_update_time vimshell.txt /*g:vimshell_interactive_update_time*
|
|
||||||
g:vimshell_max_command_history vimshell.txt /*g:vimshell_max_command_history*
|
|
||||||
g:vimshell_max_directory_stack vimshell.txt /*g:vimshell_max_directory_stack*
|
|
||||||
g:vimshell_max_list vimshell.txt /*g:vimshell_max_list*
|
|
||||||
g:vimshell_no_default_keymappings vimshell.txt /*g:vimshell_no_default_keymappings*
|
|
||||||
g:vimshell_no_save_history_commands vimshell.txt /*g:vimshell_no_save_history_commands*
|
|
||||||
g:vimshell_prompt vimshell.txt /*g:vimshell_prompt*
|
|
||||||
g:vimshell_right_prompt vimshell.txt /*g:vimshell_right_prompt*
|
|
||||||
g:vimshell_smart_case vimshell.txt /*g:vimshell_smart_case*
|
|
||||||
g:vimshell_split_command vimshell.txt /*g:vimshell_split_command*
|
|
||||||
g:vimshell_split_height vimshell.txt /*g:vimshell_split_height*
|
|
||||||
g:vimshell_temporary_directory vimshell.txt /*g:vimshell_temporary_directory*
|
|
||||||
g:vimshell_terminal_commands vimshell.txt /*g:vimshell_terminal_commands*
|
|
||||||
g:vimshell_terminal_cursor vimshell.txt /*g:vimshell_terminal_cursor*
|
|
||||||
g:vimshell_use_ckw vimshell.txt /*g:vimshell_use_ckw*
|
|
||||||
g:vimshell_user_prompt vimshell.txt /*g:vimshell_user_prompt*
|
|
||||||
g:vimshell_vimshrc_path vimshell.txt /*g:vimshell_vimshrc_path*
|
|
||||||
i_<Plug>(neosnippet_start_unite_snippet) neosnippet.txt /*i_<Plug>(neosnippet_start_unite_snippet)*
|
|
||||||
i_<Plug>(vimshell_another_delete_backward_char) vimshell.txt /*i_<Plug>(vimshell_another_delete_backward_char)*
|
|
||||||
i_<Plug>(vimshell_clear) vimshell.txt /*i_<Plug>(vimshell_clear)*
|
|
||||||
i_<Plug>(vimshell_command_complete) vimshell.txt /*i_<Plug>(vimshell_command_complete)*
|
|
||||||
i_<Plug>(vimshell_delete_backward_char) vimshell.txt /*i_<Plug>(vimshell_delete_backward_char)*
|
|
||||||
i_<Plug>(vimshell_delete_backward_line) vimshell.txt /*i_<Plug>(vimshell_delete_backward_line)*
|
|
||||||
i_<Plug>(vimshell_delete_backward_word) vimshell.txt /*i_<Plug>(vimshell_delete_backward_word)*
|
|
||||||
i_<Plug>(vimshell_delete_forward_line) vimshell.txt /*i_<Plug>(vimshell_delete_forward_line)*
|
|
||||||
i_<Plug>(vimshell_enter) vimshell.txt /*i_<Plug>(vimshell_enter)*
|
|
||||||
i_<Plug>(vimshell_execute_by_background) vimshell.txt /*i_<Plug>(vimshell_execute_by_background)*
|
|
||||||
i_<Plug>(vimshell_insert_last_word) vimshell.txt /*i_<Plug>(vimshell_insert_last_word)*
|
|
||||||
i_<Plug>(vimshell_int_another_delete_backward_char) vimshell.txt /*i_<Plug>(vimshell_int_another_delete_backward_char)*
|
|
||||||
i_<Plug>(vimshell_int_command_complete) vimshell.txt /*i_<Plug>(vimshell_int_command_complete)*
|
|
||||||
i_<Plug>(vimshell_int_delete_backward_char) vimshell.txt /*i_<Plug>(vimshell_int_delete_backward_char)*
|
|
||||||
i_<Plug>(vimshell_int_delete_backward_line) vimshell.txt /*i_<Plug>(vimshell_int_delete_backward_line)*
|
|
||||||
i_<Plug>(vimshell_int_delete_backward_word) vimshell.txt /*i_<Plug>(vimshell_int_delete_backward_word)*
|
|
||||||
i_<Plug>(vimshell_int_delete_forward_line) vimshell.txt /*i_<Plug>(vimshell_int_delete_forward_line)*
|
|
||||||
i_<Plug>(vimshell_int_execute_line) vimshell.txt /*i_<Plug>(vimshell_int_execute_line)*
|
|
||||||
i_<Plug>(vimshell_int_interrupt) vimshell.txt /*i_<Plug>(vimshell_int_interrupt)*
|
|
||||||
i_<Plug>(vimshell_int_move_head) vimshell.txt /*i_<Plug>(vimshell_int_move_head)*
|
|
||||||
i_<Plug>(vimshell_int_send_input) vimshell.txt /*i_<Plug>(vimshell_int_send_input)*
|
|
||||||
i_<Plug>(vimshell_interrupt) vimshell.txt /*i_<Plug>(vimshell_interrupt)*
|
|
||||||
i_<Plug>(vimshell_move_head) vimshell.txt /*i_<Plug>(vimshell_move_head)*
|
|
||||||
i_<Plug>(vimshell_move_previous_window) vimshell.txt /*i_<Plug>(vimshell_move_previous_window)*
|
|
||||||
i_<Plug>(vimshell_push_current_line) vimshell.txt /*i_<Plug>(vimshell_push_current_line)*
|
|
||||||
i_<Plug>(vimshell_run_help) vimshell.txt /*i_<Plug>(vimshell_run_help)*
|
|
||||||
neobundle neobundle.txt /*neobundle*
|
|
||||||
neobundle#add() neobundle.txt /*neobundle#add()*
|
|
||||||
neobundle#add_meta() neobundle.txt /*neobundle#add_meta()*
|
|
||||||
neobundle#append() neobundle.txt /*neobundle#append()*
|
|
||||||
neobundle#begin() neobundle.txt /*neobundle#begin()*
|
|
||||||
neobundle#bundle() neobundle.txt /*neobundle#bundle()*
|
|
||||||
neobundle#call_hook() neobundle.txt /*neobundle#call_hook()*
|
|
||||||
neobundle#config() neobundle.txt /*neobundle#config()*
|
|
||||||
neobundle#end() neobundle.txt /*neobundle#end()*
|
|
||||||
neobundle#exists_not_installed_bundles() neobundle.txt /*neobundle#exists_not_installed_bundles()*
|
|
||||||
neobundle#get() neobundle.txt /*neobundle#get()*
|
|
||||||
neobundle#get_hooks() neobundle.txt /*neobundle#get_hooks()*
|
|
||||||
neobundle#get_not_installed_bundle_names() neobundle.txt /*neobundle#get_not_installed_bundle_names()*
|
|
||||||
neobundle#has_cache() neobundle.txt /*neobundle#has_cache()*
|
|
||||||
neobundle#hooks neobundle.txt /*neobundle#hooks*
|
|
||||||
neobundle#is_installed() neobundle.txt /*neobundle#is_installed()*
|
|
||||||
neobundle#is_sourced() neobundle.txt /*neobundle#is_sourced()*
|
|
||||||
neobundle#load_cache() neobundle.txt /*neobundle#load_cache()*
|
|
||||||
neobundle#load_toml() neobundle.txt /*neobundle#load_toml()*
|
|
||||||
neobundle#local() neobundle.txt /*neobundle#local()*
|
|
||||||
neobundle#source() neobundle.txt /*neobundle#source()*
|
|
||||||
neobundle#tap() neobundle.txt /*neobundle#tap()*
|
|
||||||
neobundle#tapped neobundle.txt /*neobundle#tapped*
|
|
||||||
neobundle#untap() neobundle.txt /*neobundle#untap()*
|
|
||||||
neobundle-commands neobundle.txt /*neobundle-commands*
|
|
||||||
neobundle-contents neobundle.txt /*neobundle-contents*
|
|
||||||
neobundle-examples neobundle.txt /*neobundle-examples*
|
|
||||||
neobundle-faq neobundle.txt /*neobundle-faq*
|
|
||||||
neobundle-functions neobundle.txt /*neobundle-functions*
|
|
||||||
neobundle-hooks-on_post_source neobundle.txt /*neobundle-hooks-on_post_source*
|
|
||||||
neobundle-hooks-on_source neobundle.txt /*neobundle-hooks-on_source*
|
|
||||||
neobundle-install neobundle.txt /*neobundle-install*
|
|
||||||
neobundle-interface neobundle.txt /*neobundle-interface*
|
|
||||||
neobundle-introduction neobundle.txt /*neobundle-introduction*
|
|
||||||
neobundle-migrate-from-pathogen neobundle.txt /*neobundle-migrate-from-pathogen*
|
|
||||||
neobundle-options neobundle.txt /*neobundle-options*
|
|
||||||
neobundle-options-augroup neobundle.txt /*neobundle-options-augroup*
|
|
||||||
neobundle-options-autoload neobundle.txt /*neobundle-options-autoload*
|
|
||||||
neobundle-options-base neobundle.txt /*neobundle-options-base*
|
|
||||||
neobundle-options-build neobundle.txt /*neobundle-options-build*
|
|
||||||
neobundle-options-build_commands neobundle.txt /*neobundle-options-build_commands*
|
|
||||||
neobundle-options-command_prefix neobundle.txt /*neobundle-options-command_prefix*
|
|
||||||
neobundle-options-commands neobundle.txt /*neobundle-options-commands*
|
|
||||||
neobundle-options-default neobundle.txt /*neobundle-options-default*
|
|
||||||
neobundle-options-depends neobundle.txt /*neobundle-options-depends*
|
|
||||||
neobundle-options-directory neobundle.txt /*neobundle-options-directory*
|
|
||||||
neobundle-options-disabled neobundle.txt /*neobundle-options-disabled*
|
|
||||||
neobundle-options-explorer neobundle.txt /*neobundle-options-explorer*
|
|
||||||
neobundle-options-external_commands neobundle.txt /*neobundle-options-external_commands*
|
|
||||||
neobundle-options-fetch neobundle.txt /*neobundle-options-fetch*
|
|
||||||
neobundle-options-filename_patterns neobundle.txt /*neobundle-options-filename_patterns*
|
|
||||||
neobundle-options-filetypes neobundle.txt /*neobundle-options-filetypes*
|
|
||||||
neobundle-options-focus neobundle.txt /*neobundle-options-focus*
|
|
||||||
neobundle-options-force neobundle.txt /*neobundle-options-force*
|
|
||||||
neobundle-options-frozen neobundle.txt /*neobundle-options-frozen*
|
|
||||||
neobundle-options-functions neobundle.txt /*neobundle-options-functions*
|
|
||||||
neobundle-options-gui neobundle.txt /*neobundle-options-gui*
|
|
||||||
neobundle-options-hooks neobundle.txt /*neobundle-options-hooks*
|
|
||||||
neobundle-options-insert neobundle.txt /*neobundle-options-insert*
|
|
||||||
neobundle-options-install_process_timeout neobundle.txt /*neobundle-options-install_process_timeout*
|
|
||||||
neobundle-options-lazy neobundle.txt /*neobundle-options-lazy*
|
|
||||||
neobundle-options-mappings neobundle.txt /*neobundle-options-mappings*
|
|
||||||
neobundle-options-name neobundle.txt /*neobundle-options-name*
|
|
||||||
neobundle-options-normalized_name neobundle.txt /*neobundle-options-normalized_name*
|
|
||||||
neobundle-options-on_cmd neobundle.txt /*neobundle-options-on_cmd*
|
|
||||||
neobundle-options-on_ft neobundle.txt /*neobundle-options-on_ft*
|
|
||||||
neobundle-options-on_func neobundle.txt /*neobundle-options-on_func*
|
|
||||||
neobundle-options-on_i neobundle.txt /*neobundle-options-on_i*
|
|
||||||
neobundle-options-on_map neobundle.txt /*neobundle-options-on_map*
|
|
||||||
neobundle-options-on_path neobundle.txt /*neobundle-options-on_path*
|
|
||||||
neobundle-options-on_source neobundle.txt /*neobundle-options-on_source*
|
|
||||||
neobundle-options-pre_cmd neobundle.txt /*neobundle-options-pre_cmd*
|
|
||||||
neobundle-options-rtp neobundle.txt /*neobundle-options-rtp*
|
|
||||||
neobundle-options-script_type neobundle.txt /*neobundle-options-script_type*
|
|
||||||
neobundle-options-site neobundle.txt /*neobundle-options-site*
|
|
||||||
neobundle-options-terminal neobundle.txt /*neobundle-options-terminal*
|
|
||||||
neobundle-options-type neobundle.txt /*neobundle-options-type*
|
|
||||||
neobundle-options-type__depth neobundle.txt /*neobundle-options-type__depth*
|
|
||||||
neobundle-options-type__filename neobundle.txt /*neobundle-options-type__filename*
|
|
||||||
neobundle-options-type__protocol neobundle.txt /*neobundle-options-type__protocol*
|
|
||||||
neobundle-options-verbose neobundle.txt /*neobundle-options-verbose*
|
|
||||||
neobundle-options-vim_version neobundle.txt /*neobundle-options-vim_version*
|
|
||||||
neobundle-unite-source-neobundle neobundle.txt /*neobundle-unite-source-neobundle*
|
|
||||||
neobundle-unite-source-neobundle-install neobundle.txt /*neobundle-unite-source-neobundle-install*
|
|
||||||
neobundle-unite-source-neobundle-lazy neobundle.txt /*neobundle-unite-source-neobundle-lazy*
|
|
||||||
neobundle-unite-source-neobundle-log neobundle.txt /*neobundle-unite-source-neobundle-log*
|
|
||||||
neobundle-unite-source-neobundle-search neobundle.txt /*neobundle-unite-source-neobundle-search*
|
|
||||||
neobundle-unite-source-neobundle-update neobundle.txt /*neobundle-unite-source-neobundle-update*
|
|
||||||
neobundle-unite-sources neobundle.txt /*neobundle-unite-sources*
|
|
||||||
neobundle-usage neobundle.txt /*neobundle-usage*
|
|
||||||
neobundle-variables neobundle.txt /*neobundle-variables*
|
|
||||||
neobundle.txt neobundle.txt /*neobundle.txt*
|
|
||||||
neosnippet neosnippet.txt /*neosnippet*
|
|
||||||
neosnippet#anonymous() neosnippet.txt /*neosnippet#anonymous()*
|
|
||||||
neosnippet#complete_done() neosnippet.txt /*neosnippet#complete_done()*
|
|
||||||
neosnippet#expand() neosnippet.txt /*neosnippet#expand()*
|
|
||||||
neosnippet#expandable() neosnippet.txt /*neosnippet#expandable()*
|
|
||||||
neosnippet#expandable_or_jumpable() neosnippet.txt /*neosnippet#expandable_or_jumpable()*
|
|
||||||
neosnippet#get_snippets_directory() neosnippet.txt /*neosnippet#get_snippets_directory()*
|
|
||||||
neosnippet#jumpable() neosnippet.txt /*neosnippet#jumpable()*
|
|
||||||
neosnippet-commands neosnippet.txt /*neosnippet-commands*
|
|
||||||
neosnippet-contents neosnippet.txt /*neosnippet-contents*
|
|
||||||
neosnippet-edit-options-direction neosnippet.txt /*neosnippet-edit-options-direction*
|
|
||||||
neosnippet-edit-options-horizontal neosnippet.txt /*neosnippet-edit-options-horizontal*
|
|
||||||
neosnippet-edit-options-runtime neosnippet.txt /*neosnippet-edit-options-runtime*
|
|
||||||
neosnippet-edit-options-split neosnippet.txt /*neosnippet-edit-options-split*
|
|
||||||
neosnippet-edit-options-vertical neosnippet.txt /*neosnippet-edit-options-vertical*
|
|
||||||
neosnippet-examples neosnippet.txt /*neosnippet-examples*
|
|
||||||
neosnippet-faq neosnippet.txt /*neosnippet-faq*
|
|
||||||
neosnippet-functions neosnippet.txt /*neosnippet-functions*
|
|
||||||
neosnippet-install neosnippet.txt /*neosnippet-install*
|
|
||||||
neosnippet-interface neosnippet.txt /*neosnippet-interface*
|
|
||||||
neosnippet-introduction neosnippet.txt /*neosnippet-introduction*
|
|
||||||
neosnippet-key-mappings neosnippet.txt /*neosnippet-key-mappings*
|
|
||||||
neosnippet-snippet-syntax neosnippet.txt /*neosnippet-snippet-syntax*
|
|
||||||
neosnippet-unite-action-neosnippet neosnippet.txt /*neosnippet-unite-action-neosnippet*
|
|
||||||
neosnippet-unite-source-neosnippet neosnippet.txt /*neosnippet-unite-source-neosnippet*
|
|
||||||
neosnippet-unite-source-neosnippet/runtime neosnippet.txt /*neosnippet-unite-source-neosnippet\/runtime*
|
|
||||||
neosnippet-unite-source-neosnippet/user neosnippet.txt /*neosnippet-unite-source-neosnippet\/user*
|
|
||||||
neosnippet-unite-sources neosnippet.txt /*neosnippet-unite-sources*
|
|
||||||
neosnippet-variables neosnippet.txt /*neosnippet-variables*
|
|
||||||
neosnippet.txt neosnippet.txt /*neosnippet.txt*
|
|
||||||
unite-action-neobundle-lazy neobundle.txt /*unite-action-neobundle-lazy*
|
|
||||||
unite-action-neobundle-search neobundle.txt /*unite-action-neobundle-search*
|
|
||||||
unite-kind-neobundle neobundle.txt /*unite-kind-neobundle*
|
|
||||||
v_<Plug>(vimshell_select_next_prompt) vimshell.txt /*v_<Plug>(vimshell_select_next_prompt)*
|
|
||||||
v_<Plug>(vimshell_select_previous_prompt) vimshell.txt /*v_<Plug>(vimshell_select_previous_prompt)*
|
|
||||||
vimshell#hook#add() vimshell.txt /*vimshell#hook#add()*
|
|
||||||
vimshell#hook#get() vimshell.txt /*vimshell#hook#get()*
|
|
||||||
vimshell#hook#remove() vimshell.txt /*vimshell#hook#remove()*
|
|
||||||
vimshell#hook#set() vimshell.txt /*vimshell#hook#set()*
|
|
||||||
vimshell-alter-command vimshell.txt /*vimshell-alter-command*
|
|
||||||
vimshell-buffer-key-mappings vimshell.txt /*vimshell-buffer-key-mappings*
|
|
||||||
vimshell-changelog vimshell.txt /*vimshell-changelog*
|
|
||||||
vimshell-commands vimshell.txt /*vimshell-commands*
|
|
||||||
vimshell-contents vimshell.txt /*vimshell-contents*
|
|
||||||
vimshell-create-plugin vimshell.txt /*vimshell-create-plugin*
|
|
||||||
vimshell-examples vimshell.txt /*vimshell-examples*
|
|
||||||
vimshell-execute-options vimshell.txt /*vimshell-execute-options*
|
|
||||||
vimshell-execute-options-encoding vimshell.txt /*vimshell-execute-options-encoding*
|
|
||||||
vimshell-functions vimshell.txt /*vimshell-functions*
|
|
||||||
vimshell-hook vimshell.txt /*vimshell-hook*
|
|
||||||
vimshell-hook-chpwd vimshell.txt /*vimshell-hook-chpwd*
|
|
||||||
vimshell-hook-emptycmd vimshell.txt /*vimshell-hook-emptycmd*
|
|
||||||
vimshell-hook-notfound vimshell.txt /*vimshell-hook-notfound*
|
|
||||||
vimshell-hook-postexec vimshell.txt /*vimshell-hook-postexec*
|
|
||||||
vimshell-hook-postinput vimshell.txt /*vimshell-hook-postinput*
|
|
||||||
vimshell-hook-preexec vimshell.txt /*vimshell-hook-preexec*
|
|
||||||
vimshell-hook-preinput vimshell.txt /*vimshell-hook-preinput*
|
|
||||||
vimshell-hook-preparse vimshell.txt /*vimshell-hook-preparse*
|
|
||||||
vimshell-hook-preprompt vimshell.txt /*vimshell-hook-preprompt*
|
|
||||||
vimshell-install vimshell.txt /*vimshell-install*
|
|
||||||
vimshell-interactive-buffer-key-mappings vimshell.txt /*vimshell-interactive-buffer-key-mappings*
|
|
||||||
vimshell-interface vimshell.txt /*vimshell-interface*
|
|
||||||
vimshell-internal-bg vimshell.txt /*vimshell-internal-bg*
|
|
||||||
vimshell-internal-cd vimshell.txt /*vimshell-internal-cd*
|
|
||||||
vimshell-internal-clear vimshell.txt /*vimshell-internal-clear*
|
|
||||||
vimshell-internal-commands vimshell.txt /*vimshell-internal-commands*
|
|
||||||
vimshell-internal-dirs vimshell.txt /*vimshell-internal-dirs*
|
|
||||||
vimshell-internal-echo vimshell.txt /*vimshell-internal-echo*
|
|
||||||
vimshell-internal-eval vimshell.txt /*vimshell-internal-eval*
|
|
||||||
vimshell-internal-exe vimshell.txt /*vimshell-internal-exe*
|
|
||||||
vimshell-internal-exit vimshell.txt /*vimshell-internal-exit*
|
|
||||||
vimshell-internal-galias vimshell.txt /*vimshell-internal-galias*
|
|
||||||
vimshell-internal-gcd vimshell.txt /*vimshell-internal-gcd*
|
|
||||||
vimshell-internal-gendoc vimshell.txt /*vimshell-internal-gendoc*
|
|
||||||
vimshell-internal-gexe vimshell.txt /*vimshell-internal-gexe*
|
|
||||||
vimshell-internal-h vimshell.txt /*vimshell-internal-h*
|
|
||||||
vimshell-internal-histdel vimshell.txt /*vimshell-internal-histdel*
|
|
||||||
vimshell-internal-history vimshell.txt /*vimshell-internal-history*
|
|
||||||
vimshell-internal-iexe vimshell.txt /*vimshell-internal-iexe*
|
|
||||||
vimshell-internal-less vimshell.txt /*vimshell-internal-less*
|
|
||||||
vimshell-internal-ls vimshell.txt /*vimshell-internal-ls*
|
|
||||||
vimshell-internal-mkcd vimshell.txt /*vimshell-internal-mkcd*
|
|
||||||
vimshell-internal-nop vimshell.txt /*vimshell-internal-nop*
|
|
||||||
vimshell-internal-open vimshell.txt /*vimshell-internal-open*
|
|
||||||
vimshell-internal-popd vimshell.txt /*vimshell-internal-popd*
|
|
||||||
vimshell-internal-pwd vimshell.txt /*vimshell-internal-pwd*
|
|
||||||
vimshell-internal-repeat vimshell.txt /*vimshell-internal-repeat*
|
|
||||||
vimshell-internal-shell vimshell.txt /*vimshell-internal-shell*
|
|
||||||
vimshell-internal-source vimshell.txt /*vimshell-internal-source*
|
|
||||||
vimshell-internal-texe vimshell.txt /*vimshell-internal-texe*
|
|
||||||
vimshell-internal-time vimshell.txt /*vimshell-internal-time*
|
|
||||||
vimshell-internal-vi vimshell.txt /*vimshell-internal-vi*
|
|
||||||
vimshell-internal-view vimshell.txt /*vimshell-internal-view*
|
|
||||||
vimshell-internal-vim vimshell.txt /*vimshell-internal-vim*
|
|
||||||
vimshell-internal-vimdiff vimshell.txt /*vimshell-internal-vimdiff*
|
|
||||||
vimshell-internal-vimsh vimshell.txt /*vimshell-internal-vimsh*
|
|
||||||
vimshell-internal-whereis vimshell.txt /*vimshell-internal-whereis*
|
|
||||||
vimshell-internal-which vimshell.txt /*vimshell-internal-which*
|
|
||||||
vimshell-introduction vimshell.txt /*vimshell-introduction*
|
|
||||||
vimshell-key-mappings vimshell.txt /*vimshell-key-mappings*
|
|
||||||
vimshell-special-alias vimshell.txt /*vimshell-special-alias*
|
|
||||||
vimshell-special-commands vimshell.txt /*vimshell-special-commands*
|
|
||||||
vimshell-special-let vimshell.txt /*vimshell-special-let*
|
|
||||||
vimshell-special-sexe vimshell.txt /*vimshell-special-sexe*
|
|
||||||
vimshell-special-vexe vimshell.txt /*vimshell-special-vexe*
|
|
||||||
vimshell-tips vimshell.txt /*vimshell-tips*
|
|
||||||
vimshell-tips-auto_cd vimshell.txt /*vimshell-tips-auto_cd*
|
|
||||||
vimshell-tips-backquote vimshell.txt /*vimshell-tips-backquote*
|
|
||||||
vimshell-tips-block vimshell.txt /*vimshell-tips-block*
|
|
||||||
vimshell-tips-directory-stack vimshell.txt /*vimshell-tips-directory-stack*
|
|
||||||
vimshell-tips-fakecygpty vimshell.txt /*vimshell-tips-fakecygpty*
|
|
||||||
vimshell-tips-wildcard vimshell.txt /*vimshell-tips-wildcard*
|
|
||||||
vimshell-unite-action-vimshell-history vimshell.txt /*vimshell-unite-action-vimshell-history*
|
|
||||||
vimshell-unite-source-vimshell-history vimshell.txt /*vimshell-unite-source-vimshell-history*
|
|
||||||
vimshell-unite-sources vimshell.txt /*vimshell-unite-sources*
|
|
||||||
vimshell-usage vimshell.txt /*vimshell-usage*
|
|
||||||
vimshell-variables vimshell.txt /*vimshell-variables*
|
|
||||||
vimshell.txt vimshell.txt /*vimshell.txt*
|
|
||||||
x_<Plug>(neosnippet_expand_target) neosnippet.txt /*x_<Plug>(neosnippet_expand_target)*
|
|
||||||
x_<Plug>(neosnippet_register_oneshot_snippet) neosnippet.txt /*x_<Plug>(neosnippet_register_oneshot_snippet)*
|
|
||||||
@@ -1,190 +0,0 @@
|
|||||||
!_TAG_FILE_ENCODING utf-8 //
|
|
||||||
:VimShell vimshell.jax /*:VimShell*
|
|
||||||
:VimShellCreate vimshell.jax /*:VimShellCreate*
|
|
||||||
:VimShellExecute vimshell.jax /*:VimShellExecute*
|
|
||||||
:VimShellInteractive vimshell.jax /*:VimShellInteractive*
|
|
||||||
:VimShellPop vimshell.jax /*:VimShellPop*
|
|
||||||
:VimShellSendBuffer vimshell.jax /*:VimShellSendBuffer*
|
|
||||||
:VimShellSendString vimshell.jax /*:VimShellSendString*
|
|
||||||
:VimShellTab vimshell.jax /*:VimShellTab*
|
|
||||||
:VimShellTerminal vimshell.jax /*:VimShellTerminal*
|
|
||||||
<Plug>(vimshell_append_end) vimshell.jax /*<Plug>(vimshell_append_end)*
|
|
||||||
<Plug>(vimshell_append_enter) vimshell.jax /*<Plug>(vimshell_append_enter)*
|
|
||||||
<Plug>(vimshell_change_line) vimshell.jax /*<Plug>(vimshell_change_line)*
|
|
||||||
<Plug>(vimshell_clear) vimshell.jax /*<Plug>(vimshell_clear)*
|
|
||||||
<Plug>(vimshell_create) vimshell.jax /*<Plug>(vimshell_create)*
|
|
||||||
<Plug>(vimshell_delete_line) vimshell.jax /*<Plug>(vimshell_delete_line)*
|
|
||||||
<Plug>(vimshell_delete_previous_output) vimshell.jax /*<Plug>(vimshell_delete_previous_output)*
|
|
||||||
<Plug>(vimshell_enter) vimshell.jax /*<Plug>(vimshell_enter)*
|
|
||||||
<Plug>(vimshell_execute_by_background) vimshell.jax /*<Plug>(vimshell_execute_by_background)*
|
|
||||||
<Plug>(vimshell_exit) vimshell.jax /*<Plug>(vimshell_exit)*
|
|
||||||
<Plug>(vimshell_hangup) vimshell.jax /*<Plug>(vimshell_hangup)*
|
|
||||||
<Plug>(vimshell_hide) vimshell.jax /*<Plug>(vimshell_hide)*
|
|
||||||
<Plug>(vimshell_insert_enter) vimshell.jax /*<Plug>(vimshell_insert_enter)*
|
|
||||||
<Plug>(vimshell_insert_head) vimshell.jax /*<Plug>(vimshell_insert_head)*
|
|
||||||
<Plug>(vimshell_int_append_end) vimshell.jax /*<Plug>(vimshell_int_append_end)*
|
|
||||||
<Plug>(vimshell_int_append_enter) vimshell.jax /*<Plug>(vimshell_int_append_enter)*
|
|
||||||
<Plug>(vimshell_int_change_line) vimshell.jax /*<Plug>(vimshell_int_change_line)*
|
|
||||||
<Plug>(vimshell_int_clear) vimshell.jax /*<Plug>(vimshell_int_clear)*
|
|
||||||
<Plug>(vimshell_int_delete_line) vimshell.jax /*<Plug>(vimshell_int_delete_line)*
|
|
||||||
<Plug>(vimshell_int_execute_line) vimshell.jax /*<Plug>(vimshell_int_execute_line)*
|
|
||||||
<Plug>(vimshell_int_exit) vimshell.jax /*<Plug>(vimshell_int_exit)*
|
|
||||||
<Plug>(vimshell_int_hangup) vimshell.jax /*<Plug>(vimshell_int_hangup)*
|
|
||||||
<Plug>(vimshell_int_insert_enter) vimshell.jax /*<Plug>(vimshell_int_insert_enter)*
|
|
||||||
<Plug>(vimshell_int_insert_head) vimshell.jax /*<Plug>(vimshell_int_insert_head)*
|
|
||||||
<Plug>(vimshell_int_next_prompt) vimshell.jax /*<Plug>(vimshell_int_next_prompt)*
|
|
||||||
<Plug>(vimshell_int_paste_prompt) vimshell.jax /*<Plug>(vimshell_int_paste_prompt)*
|
|
||||||
<Plug>(vimshell_int_previous_prompt) vimshell.jax /*<Plug>(vimshell_int_previous_prompt)*
|
|
||||||
<Plug>(vimshell_int_restart_command) vimshell.jax /*<Plug>(vimshell_int_restart_command)*
|
|
||||||
<Plug>(vimshell_move_end_argument) vimshell.jax /*<Plug>(vimshell_move_end_argument)*
|
|
||||||
<Plug>(vimshell_move_head) vimshell.jax /*<Plug>(vimshell_move_head)*
|
|
||||||
<Plug>(vimshell_next_prompt) vimshell.jax /*<Plug>(vimshell_next_prompt)*
|
|
||||||
<Plug>(vimshell_paste_prompt) vimshell.jax /*<Plug>(vimshell_paste_prompt)*
|
|
||||||
<Plug>(vimshell_previous_prompt) vimshell.jax /*<Plug>(vimshell_previous_prompt)*
|
|
||||||
<Plug>(vimshell_split_create) vimshell.jax /*<Plug>(vimshell_split_create)*
|
|
||||||
<Plug>(vimshell_split_switch) vimshell.jax /*<Plug>(vimshell_split_switch)*
|
|
||||||
<Plug>(vimshell_switch) vimshell.jax /*<Plug>(vimshell_switch)*
|
|
||||||
g:vimshell_cat_command vimshell.jax /*g:vimshell_cat_command*
|
|
||||||
g:vimshell_cd_command vimshell.jax /*g:vimshell_cd_command*
|
|
||||||
g:vimshell_disable_escape_highlight vimshell.jax /*g:vimshell_disable_escape_highlight*
|
|
||||||
g:vimshell_environment_term vimshell.jax /*g:vimshell_environment_term*
|
|
||||||
g:vimshell_escape_colors vimshell.jax /*g:vimshell_escape_colors*
|
|
||||||
g:vimshell_ignore_case vimshell.jax /*g:vimshell_ignore_case*
|
|
||||||
g:vimshell_interactive_command_options vimshell.jax /*g:vimshell_interactive_command_options*
|
|
||||||
g:vimshell_interactive_cygwin_commands vimshell.jax /*g:vimshell_interactive_cygwin_commands*
|
|
||||||
g:vimshell_interactive_cygwin_home vimshell.jax /*g:vimshell_interactive_cygwin_home*
|
|
||||||
g:vimshell_interactive_cygwin_path vimshell.jax /*g:vimshell_interactive_cygwin_path*
|
|
||||||
g:vimshell_interactive_encodings vimshell.jax /*g:vimshell_interactive_encodings*
|
|
||||||
g:vimshell_interactive_interpreter_commands vimshell.jax /*g:vimshell_interactive_interpreter_commands*
|
|
||||||
g:vimshell_interactive_monochrome_commands vimshell.jax /*g:vimshell_interactive_monochrome_commands*
|
|
||||||
g:vimshell_interactive_no_echoback_commands vimshell.jax /*g:vimshell_interactive_no_echoback_commands*
|
|
||||||
g:vimshell_interactive_no_save_history_commands vimshell.jax /*g:vimshell_interactive_no_save_history_commands*
|
|
||||||
g:vimshell_interactive_update_time vimshell.jax /*g:vimshell_interactive_update_time*
|
|
||||||
g:vimshell_max_command_history vimshell.jax /*g:vimshell_max_command_history*
|
|
||||||
g:vimshell_max_directory_stack vimshell.jax /*g:vimshell_max_directory_stack*
|
|
||||||
g:vimshell_max_list vimshell.jax /*g:vimshell_max_list*
|
|
||||||
g:vimshell_no_default_keymappings vimshell.jax /*g:vimshell_no_default_keymappings*
|
|
||||||
g:vimshell_no_save_history_commands vimshell.jax /*g:vimshell_no_save_history_commands*
|
|
||||||
g:vimshell_prompt vimshell.jax /*g:vimshell_prompt*
|
|
||||||
g:vimshell_right_prompt vimshell.jax /*g:vimshell_right_prompt*
|
|
||||||
g:vimshell_smart_case vimshell.jax /*g:vimshell_smart_case*
|
|
||||||
g:vimshell_split_command vimshell.jax /*g:vimshell_split_command*
|
|
||||||
g:vimshell_split_height vimshell.jax /*g:vimshell_split_height*
|
|
||||||
g:vimshell_temporary_directory vimshell.jax /*g:vimshell_temporary_directory*
|
|
||||||
g:vimshell_terminal_commands vimshell.jax /*g:vimshell_terminal_commands*
|
|
||||||
g:vimshell_terminal_cursor vimshell.jax /*g:vimshell_terminal_cursor*
|
|
||||||
g:vimshell_use_terminal_command vimshell.jax /*g:vimshell_use_terminal_command*
|
|
||||||
g:vimshell_user_prompt vimshell.jax /*g:vimshell_user_prompt*
|
|
||||||
g:vimshell_vimshrc_path vimshell.jax /*g:vimshell_vimshrc_path*
|
|
||||||
i_<Plug>(vimshell_another_delete_backward_char) vimshell.jax /*i_<Plug>(vimshell_another_delete_backward_char)*
|
|
||||||
i_<Plug>(vimshell_clear) vimshell.jax /*i_<Plug>(vimshell_clear)*
|
|
||||||
i_<Plug>(vimshell_command_complete) vimshell.jax /*i_<Plug>(vimshell_command_complete)*
|
|
||||||
i_<Plug>(vimshell_delete_backward_char) vimshell.jax /*i_<Plug>(vimshell_delete_backward_char)*
|
|
||||||
i_<Plug>(vimshell_delete_backward_line) vimshell.jax /*i_<Plug>(vimshell_delete_backward_line)*
|
|
||||||
i_<Plug>(vimshell_delete_backward_word) vimshell.jax /*i_<Plug>(vimshell_delete_backward_word)*
|
|
||||||
i_<Plug>(vimshell_delete_forward_line) vimshell.jax /*i_<Plug>(vimshell_delete_forward_line)*
|
|
||||||
i_<Plug>(vimshell_enter) vimshell.jax /*i_<Plug>(vimshell_enter)*
|
|
||||||
i_<Plug>(vimshell_execute_by_background) vimshell.jax /*i_<Plug>(vimshell_execute_by_background)*
|
|
||||||
i_<Plug>(vimshell_insert_last_word) vimshell.jax /*i_<Plug>(vimshell_insert_last_word)*
|
|
||||||
i_<Plug>(vimshell_int_another_delete_backward_char) vimshell.jax /*i_<Plug>(vimshell_int_another_delete_backward_char)*
|
|
||||||
i_<Plug>(vimshell_int_command_complete) vimshell.jax /*i_<Plug>(vimshell_int_command_complete)*
|
|
||||||
i_<Plug>(vimshell_int_delete_backward_char) vimshell.jax /*i_<Plug>(vimshell_int_delete_backward_char)*
|
|
||||||
i_<Plug>(vimshell_int_delete_backward_line) vimshell.jax /*i_<Plug>(vimshell_int_delete_backward_line)*
|
|
||||||
i_<Plug>(vimshell_int_delete_backward_word) vimshell.jax /*i_<Plug>(vimshell_int_delete_backward_word)*
|
|
||||||
i_<Plug>(vimshell_int_delete_forward_line) vimshell.jax /*i_<Plug>(vimshell_int_delete_forward_line)*
|
|
||||||
i_<Plug>(vimshell_int_execute_line) vimshell.jax /*i_<Plug>(vimshell_int_execute_line)*
|
|
||||||
i_<Plug>(vimshell_int_interrupt) vimshell.jax /*i_<Plug>(vimshell_int_interrupt)*
|
|
||||||
i_<Plug>(vimshell_int_move_head) vimshell.jax /*i_<Plug>(vimshell_int_move_head)*
|
|
||||||
i_<Plug>(vimshell_int_send_input) vimshell.jax /*i_<Plug>(vimshell_int_send_input)*
|
|
||||||
i_<Plug>(vimshell_interrupt) vimshell.jax /*i_<Plug>(vimshell_interrupt)*
|
|
||||||
i_<Plug>(vimshell_move_head) vimshell.jax /*i_<Plug>(vimshell_move_head)*
|
|
||||||
i_<Plug>(vimshell_move_previous_window) vimshell.jax /*i_<Plug>(vimshell_move_previous_window)*
|
|
||||||
i_<Plug>(vimshell_push_current_line) vimshell.jax /*i_<Plug>(vimshell_push_current_line)*
|
|
||||||
i_<Plug>(vimshell_run_help) vimshell.jax /*i_<Plug>(vimshell_run_help)*
|
|
||||||
v_<Plug>(vimshell_select_next_prompt) vimshell.jax /*v_<Plug>(vimshell_select_next_prompt)*
|
|
||||||
v_<Plug>(vimshell_select_previous_prompt) vimshell.jax /*v_<Plug>(vimshell_select_previous_prompt)*
|
|
||||||
vimshell#hook#add() vimshell.jax /*vimshell#hook#add()*
|
|
||||||
vimshell#hook#get() vimshell.jax /*vimshell#hook#get()*
|
|
||||||
vimshell#hook#remove() vimshell.jax /*vimshell#hook#remove()*
|
|
||||||
vimshell#hook#set() vimshell.jax /*vimshell#hook#set()*
|
|
||||||
vimshell-alter-command vimshell.jax /*vimshell-alter-command*
|
|
||||||
vimshell-buffer-key-mappings vimshell.jax /*vimshell-buffer-key-mappings*
|
|
||||||
vimshell-changelog vimshell.jax /*vimshell-changelog*
|
|
||||||
vimshell-commands vimshell.jax /*vimshell-commands*
|
|
||||||
vimshell-contents vimshell.jax /*vimshell-contents*
|
|
||||||
vimshell-create-plugin vimshell.jax /*vimshell-create-plugin*
|
|
||||||
vimshell-examples vimshell.jax /*vimshell-examples*
|
|
||||||
vimshell-execute-options vimshell.jax /*vimshell-execute-options*
|
|
||||||
vimshell-execute-options-encoding vimshell.jax /*vimshell-execute-options-encoding*
|
|
||||||
vimshell-functions vimshell.jax /*vimshell-functions*
|
|
||||||
vimshell-hook vimshell.jax /*vimshell-hook*
|
|
||||||
vimshell-hook-chpwd vimshell.jax /*vimshell-hook-chpwd*
|
|
||||||
vimshell-hook-emptycmd vimshell.jax /*vimshell-hook-emptycmd*
|
|
||||||
vimshell-hook-notfound vimshell.jax /*vimshell-hook-notfound*
|
|
||||||
vimshell-hook-postexec vimshell.jax /*vimshell-hook-postexec*
|
|
||||||
vimshell-hook-postinput vimshell.jax /*vimshell-hook-postinput*
|
|
||||||
vimshell-hook-preexec vimshell.jax /*vimshell-hook-preexec*
|
|
||||||
vimshell-hook-preinput vimshell.jax /*vimshell-hook-preinput*
|
|
||||||
vimshell-hook-preparse vimshell.jax /*vimshell-hook-preparse*
|
|
||||||
vimshell-hook-preprompt vimshell.jax /*vimshell-hook-preprompt*
|
|
||||||
vimshell-install vimshell.jax /*vimshell-install*
|
|
||||||
vimshell-interactive-buffer-key-mappings vimshell.jax /*vimshell-interactive-buffer-key-mappings*
|
|
||||||
vimshell-interface vimshell.jax /*vimshell-interface*
|
|
||||||
vimshell-internal-bg vimshell.jax /*vimshell-internal-bg*
|
|
||||||
vimshell-internal-cd vimshell.jax /*vimshell-internal-cd*
|
|
||||||
vimshell-internal-clear vimshell.jax /*vimshell-internal-clear*
|
|
||||||
vimshell-internal-commands vimshell.jax /*vimshell-internal-commands*
|
|
||||||
vimshell-internal-dirs vimshell.jax /*vimshell-internal-dirs*
|
|
||||||
vimshell-internal-echo vimshell.jax /*vimshell-internal-echo*
|
|
||||||
vimshell-internal-eval vimshell.jax /*vimshell-internal-eval*
|
|
||||||
vimshell-internal-exe vimshell.jax /*vimshell-internal-exe*
|
|
||||||
vimshell-internal-exit vimshell.jax /*vimshell-internal-exit*
|
|
||||||
vimshell-internal-galias vimshell.jax /*vimshell-internal-galias*
|
|
||||||
vimshell-internal-gcd vimshell.jax /*vimshell-internal-gcd*
|
|
||||||
vimshell-internal-gendoc vimshell.jax /*vimshell-internal-gendoc*
|
|
||||||
vimshell-internal-gexe vimshell.jax /*vimshell-internal-gexe*
|
|
||||||
vimshell-internal-h vimshell.jax /*vimshell-internal-h*
|
|
||||||
vimshell-internal-histdel vimshell.jax /*vimshell-internal-histdel*
|
|
||||||
vimshell-internal-history vimshell.jax /*vimshell-internal-history*
|
|
||||||
vimshell-internal-iexe vimshell.jax /*vimshell-internal-iexe*
|
|
||||||
vimshell-internal-less vimshell.jax /*vimshell-internal-less*
|
|
||||||
vimshell-internal-ls vimshell.jax /*vimshell-internal-ls*
|
|
||||||
vimshell-internal-mkcd vimshell.jax /*vimshell-internal-mkcd*
|
|
||||||
vimshell-internal-nop vimshell.jax /*vimshell-internal-nop*
|
|
||||||
vimshell-internal-open vimshell.jax /*vimshell-internal-open*
|
|
||||||
vimshell-internal-popd vimshell.jax /*vimshell-internal-popd*
|
|
||||||
vimshell-internal-pwd vimshell.jax /*vimshell-internal-pwd*
|
|
||||||
vimshell-internal-repeat vimshell.jax /*vimshell-internal-repeat*
|
|
||||||
vimshell-internal-shell vimshell.jax /*vimshell-internal-shell*
|
|
||||||
vimshell-internal-source vimshell.jax /*vimshell-internal-source*
|
|
||||||
vimshell-internal-texe vimshell.jax /*vimshell-internal-texe*
|
|
||||||
vimshell-internal-time vimshell.jax /*vimshell-internal-time*
|
|
||||||
vimshell-internal-vi vimshell.jax /*vimshell-internal-vi*
|
|
||||||
vimshell-internal-view vimshell.jax /*vimshell-internal-view*
|
|
||||||
vimshell-internal-vim vimshell.jax /*vimshell-internal-vim*
|
|
||||||
vimshell-internal-vimdiff vimshell.jax /*vimshell-internal-vimdiff*
|
|
||||||
vimshell-internal-vimsh vimshell.jax /*vimshell-internal-vimsh*
|
|
||||||
vimshell-internal-whereis vimshell.jax /*vimshell-internal-whereis*
|
|
||||||
vimshell-internal-which vimshell.jax /*vimshell-internal-which*
|
|
||||||
vimshell-introduction vimshell.jax /*vimshell-introduction*
|
|
||||||
vimshell-key-mappings vimshell.jax /*vimshell-key-mappings*
|
|
||||||
vimshell-special-alias vimshell.jax /*vimshell-special-alias*
|
|
||||||
vimshell-special-commands vimshell.jax /*vimshell-special-commands*
|
|
||||||
vimshell-special-let vimshell.jax /*vimshell-special-let*
|
|
||||||
vimshell-special-sexe vimshell.jax /*vimshell-special-sexe*
|
|
||||||
vimshell-special-vexe vimshell.jax /*vimshell-special-vexe*
|
|
||||||
vimshell-tips vimshell.jax /*vimshell-tips*
|
|
||||||
vimshell-tips-auto_cd vimshell.jax /*vimshell-tips-auto_cd*
|
|
||||||
vimshell-tips-backquote vimshell.jax /*vimshell-tips-backquote*
|
|
||||||
vimshell-tips-block vimshell.jax /*vimshell-tips-block*
|
|
||||||
vimshell-tips-directory-stack vimshell.jax /*vimshell-tips-directory-stack*
|
|
||||||
vimshell-tips-fakecygpty vimshell.jax /*vimshell-tips-fakecygpty*
|
|
||||||
vimshell-tips-japanese vimshell.jax /*vimshell-tips-japanese*
|
|
||||||
vimshell-tips-sudo vimshell.jax /*vimshell-tips-sudo*
|
|
||||||
vimshell-tips-wildcard vimshell.jax /*vimshell-tips-wildcard*
|
|
||||||
vimshell-unite-action-vimshell-history vimshell.jax /*vimshell-unite-action-vimshell-history*
|
|
||||||
vimshell-unite-source-vimshell-history vimshell.jax /*vimshell-unite-source-vimshell-history*
|
|
||||||
vimshell-unite-sources vimshell.jax /*vimshell-unite-sources*
|
|
||||||
vimshell-usage vimshell.jax /*vimshell-usage*
|
|
||||||
vimshell-variables vimshell.jax /*vimshell-variables*
|
|
||||||
vimshell.txt vimshell.jax /*vimshell.txt*
|
|
||||||
@@ -1,1270 +0,0 @@
|
|||||||
*vimshell.txt* Vim Scriptで実装された強力なシェル
|
|
||||||
|
|
||||||
Version: 9.0
|
|
||||||
Author : Shougo <Shougo.Matsu@gmail.com>
|
|
||||||
License: MIT license {{{
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of this software and associated documentation files (the
|
|
||||||
"Software"), to deal in the Software without restriction, including
|
|
||||||
without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
the following conditions:
|
|
||||||
The above copyright notice and this permission notice shall be included
|
|
||||||
in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
}}}
|
|
||||||
|
|
||||||
CONTENTS *vimshell-contents*
|
|
||||||
|
|
||||||
Introduction |vimshell-introduction|
|
|
||||||
Install |vimshell-install|
|
|
||||||
Interface |vimshell-interface|
|
|
||||||
Commands |vimshell-commands|
|
|
||||||
Variables |vimshell-variables|
|
|
||||||
Functions |vimshell-functions|
|
|
||||||
Key mappings |vimshell-key-mappings|
|
|
||||||
Vimshell buffer key mappings |vimshell-buffer-key-mappings|
|
|
||||||
Interactive buffer key mappings |vimshell-interactive-buffer-key-mappings|
|
|
||||||
Examples |vimshell-examples|
|
|
||||||
Internal Commands |vimshell-internal-commands|
|
|
||||||
Special Commands |vimshell-special-commands|
|
|
||||||
Alter Command |vimshell-alter-command|
|
|
||||||
Hook |vimshell-hook|
|
|
||||||
Tips |vimshell-tips|
|
|
||||||
Unite sources |vimshell-unite-sources|
|
|
||||||
Create plugin |vimshell-create-plugin|
|
|
||||||
Changelog |vimshell-changelog|
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
INTRODUCTION *vimshell-introduction*
|
|
||||||
|
|
||||||
vimshellは外部のシェルを使わず、100% Vim Scriptによって実装された究極のシェルで
|
|
||||||
ある。 ただしeshellとは異なり、まだまだ未完成である。 一番の特徴としては、Vimの
|
|
||||||
プラグインと連携ができることだ。特にWindowsはシェルが貧弱なのだが、vimshellは
|
|
||||||
Windowsでも動作するので安心である。ただしWindows上では一部の機能が制限されるの
|
|
||||||
で注意しなければならない。 加えて、他のシェルの便利な機能を多数取り込んでいる。
|
|
||||||
設定して当たり前の機能は標準的に使えるため、zshと比べて設定の手間も少ない。
|
|
||||||
|
|
||||||
ちなみに、使いやすいシェルを目指しているため、変数の規則などが普通のシェルと
|
|
||||||
異なる。
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
USAGE *vimshell-usage*
|
|
||||||
|
|
||||||
vimshellを起動するには、|:VimShell|コマンドを実行する。 これが面倒なら、便利な
|
|
||||||
キーマッピングも定義されているので使用すると良い。 一部の相違点を除けば、
|
|
||||||
vimshellは他のシェルと同じように動作する。 よって、すぐに使い始めることができる
|
|
||||||
。 ただし、vimshellは\をエスケープシーケンスとして認識する。 たとえWindows環境
|
|
||||||
であってもパスは/を用いなければならない。
|
|
||||||
|
|
||||||
vimshellは初期化ファイルとして、.vimshrcを読み込む。
|
|
||||||
aliasの設定はそこで行っておくと便利である。
|
|
||||||
|
|
||||||
Note: vimshellとbash, zshは全く別のシェルであり、互換性はない。よって、vimshell
|
|
||||||
は.bashrcや.zshrcを読み込むことはない。環境変数の設定だけは、
|
|
||||||
|vimshell-internal-source|コマンドにより引き継ぐことができる。
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
INSTALL *vimshell-install*
|
|
||||||
|
|
||||||
http://github.com/Shougo/vimshell/tree/master より、配布ファイルをそのフォルダ
|
|
||||||
ごとVimの'runtimepath'にコピーする。
|
|
||||||
|
|
||||||
さらに、vimshellを使用するにはvimprocが必要である。
|
|
||||||
|
|
||||||
私がvimshell用に修正したvimprocがあるので、それをリポジトリから取ってきくる。
|
|
||||||
http://github.com/Shougo/vimproc
|
|
||||||
そしてproc.soをmakeする。
|
|
||||||
|
|
||||||
Make方法
|
|
||||||
|
|
||||||
* Mingw: >
|
|
||||||
$ make -f make_mingw.mak
|
|
||||||
|
|
||||||
* Mac OS X: >
|
|
||||||
$ make -f make_mac.mak
|
|
||||||
|
|
||||||
* Linux BSD: >
|
|
||||||
$ make -f make_gcc.mak
|
|
||||||
|
|
||||||
* Visual Studio: >
|
|
||||||
$ make -f make_msvc.mak
|
|
||||||
|
|
||||||
* Cygwin: >
|
|
||||||
$ make -f make_cygwin.mak
|
|
||||||
|
|
||||||
コンパイルが通ったら、autoloadにあるvimproc.vim, vimproc/parser.vimとproc.soを
|
|
||||||
.vimのautoloadディレクトリにコピーする。Cygwinでコンパイルしたproc.dllは
|
|
||||||
Cygwin上のVim専用である。WindowsのVimでは使用することができない。
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
INTERFACE *vimshell-interface*
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
COMMANDS *vimshell-commands*
|
|
||||||
|
|
||||||
:VimShell {path} *:VimShell*
|
|
||||||
{path}をカレントディレクトリとして、vimshellを起動する。
|
|
||||||
他のvimshellが起動している場合、そのvimshellにスイッ
|
|
||||||
チし、カレントディレクトリを{path}に変更する。{path}を
|
|
||||||
省略した場合、vimshellのカレントディレクトリは変更され
|
|
||||||
ない。
|
|
||||||
|
|
||||||
:VimShellCreate {path} *:VimShellCreate*
|
|
||||||
|:VimShell|と同じだが、他のvimshellが起動している
|
|
||||||
場合でも、新しいvimshellバッファを作成する。
|
|
||||||
|
|
||||||
:VimShellTab {path} *:VimShellTab*
|
|
||||||
|:VimShellCreate|と同じだが、新しいタブを生成する。
|
|
||||||
|
|
||||||
:VimShellPop {path} *:VimShellPop*
|
|
||||||
|:VimShell|と同じだが、こちらは小さいウインドウを
|
|
||||||
ポップアップする。ちょっとだけvimshellの機能を使
|
|
||||||
いたいときに便利である。ウインドウを分割する高さは
|
|
||||||
|g:vimshell_split_height|で決定される。
|
|
||||||
現在vimshellバッファに居るときは、vimshellバッファを閉
|
|
||||||
じる。
|
|
||||||
|
|
||||||
:VimShellExecute {command} *:VimShellExecute*
|
|
||||||
vimshellを起動せずに、{command}で指定された実行
|
|
||||||
ファイルをバックグラウンドで起動する。vimshellを
|
|
||||||
GNU screenのように使える。
|
|
||||||
|
|
||||||
:VimShellInteractive [{command}] *:VimShellInteractive*
|
|
||||||
vimshellを起動せずに、{command}で指定された
|
|
||||||
インタプリタを起動する。EmacsのM-x
|
|
||||||
{interpreter-name}のように使える。{command}
|
|
||||||
を省略すると、
|
|
||||||
|g:vimshell_interactive_interpreter_commands|の値が
|
|
||||||
使われる。
|
|
||||||
|
|
||||||
:VimShellTerminal {command} *:VimShellTerminal*
|
|
||||||
vimshellを起動せずに、{command}で指定された端末プログラ
|
|
||||||
ムを起動する。Emacsのansi-termのように使用できる。ただ
|
|
||||||
しまだ未完成である。
|
|
||||||
|
|
||||||
:VimShellSendString {string} *:VimShellSendString*
|
|
||||||
vimshell, iexe, texeの裏ウインドウのインタプリタに選
|
|
||||||
択文字列を送信する。まるで|quickrun|を使っているかの
|
|
||||||
ようにインタプリタを操作できる。
|
|
||||||
|
|
||||||
:VimShellSendBuffer {bufname} *:VimShellSendBuffer*
|
|
||||||
裏ウインドウを{bufname}として設定する。{bufname}が
|
|
||||||
画面に表示されていない場合、自動的に開く。
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
VARIABLES *vimshell-variables*
|
|
||||||
|
|
||||||
g:vimshell_prompt *g:vimshell_prompt*
|
|
||||||
vimshellのプロンプト文字列を設定する。これは一度し
|
|
||||||
か評価されない。
|
|
||||||
|
|
||||||
セキュリティの関係上、vimshellの関数を呼び出す前に値
|
|
||||||
を設定しなければ無効になる。
|
|
||||||
初期値は'vimshell% 'である。
|
|
||||||
|
|
||||||
g:vimshell_user_prompt *g:vimshell_user_prompt*
|
|
||||||
この変数にVim Scriptの式を文字列として代入することで、
|
|
||||||
ユーザーが追加で表示されるプロンプトを定義できる。
|
|
||||||
|g:vimshell_prompt|と違い、固定文字列でなくても良い。
|
|
||||||
ユーザープロンプトを\nで区切ることで、 複数行のユー
|
|
||||||
ザープロンプトが表示できる。
|
|
||||||
|
|
||||||
例えば、このように毎回カレントディレクトリを表示する
|
|
||||||
ようにすれば便利である。
|
|
||||||
>
|
|
||||||
let g:vimshell_user_prompt = 'getcwd()'
|
|
||||||
<
|
|
||||||
セキュリティの関係上、vimshellの関数を呼び出す前に値
|
|
||||||
を設定しなければ無効になる。
|
|
||||||
初期値は空である。
|
|
||||||
|
|
||||||
g:vimshell_right_prompt *g:vimshell_right_prompt*
|
|
||||||
zsh風の右プロンプトである。Vim Scriptの式を文字列として
|
|
||||||
代入する。|g:vimshell_user_prompt|に似ているが、ウイン
|
|
||||||
ドウの大きさを計算し、自動的に最適な位置にプロンプトを
|
|
||||||
表示する。
|
|
||||||
セキュリティの関係上、vimshellの関数を呼び出す前に値
|
|
||||||
を設定しなければ無効になる。
|
|
||||||
初期値は空である。
|
|
||||||
|
|
||||||
g:vimshell_no_default_keymappings *g:vimshell_no_default_keymappings*
|
|
||||||
vimshellのデフォルトマッピングをすべて無効化する。
|
|
||||||
新しくマッピングしない限り、vimshellの機能が使えなく
|
|
||||||
なるので、初心者にはお勧めできない。内部動作を知
|
|
||||||
り尽くしている上級者向けのオプションである。
|
|
||||||
|
|
||||||
g:vimshell_ignore_case *g:vimshell_ignore_case*
|
|
||||||
vimshellが補完候補を検索する際に、大文字小文字を無視
|
|
||||||
するかを制御する。
|
|
||||||
|
|
||||||
初期値は&ignorecaseである。
|
|
||||||
|
|
||||||
g:vimshell_smart_case *g:vimshell_smart_case*
|
|
||||||
このオプションが有効だと、vimshellが補完候補を検索する
|
|
||||||
際に、大文字が入力されていれば大文字小文字を無視しなく
|
|
||||||
なる。
|
|
||||||
|
|
||||||
初期値は0である。
|
|
||||||
|
|
||||||
g:vimshell_max_list *g:vimshell_max_list*
|
|
||||||
vimshellの補完候補の最大数である。補完候補の数がこれを
|
|
||||||
越えると、勝手に候補を切り詰める。
|
|
||||||
|
|
||||||
初期値は100である。
|
|
||||||
|
|
||||||
g:vimshell_use_terminal_command *g:vimshell_use_terminal_command*
|
|
||||||
|vimshell-internal-shell|を実行する際に、シェルを起動す
|
|
||||||
る端末プログラムを指定する。
|
|
||||||
Windows環境では、"ckw -e", Linux環境では
|
|
||||||
"gnome-terminal -e"などが値の候補となるだろう。
|
|
||||||
|
|
||||||
初期値は""である。
|
|
||||||
|
|
||||||
g:vimshell_split_height *g:vimshell_split_height*
|
|
||||||
|:VimShellPop|の分割高さを指定する。指定する値は
|
|
||||||
|winheight(0)|に対するパーセントになる。
|
|
||||||
|
|
||||||
初期値は30である。
|
|
||||||
|
|
||||||
g:vimshell_temporary_directory *g:vimshell_temporary_directory*
|
|
||||||
vimshellが使用する一時ディレクトリを指定する。ヒストリ
|
|
||||||
ファイルもこのディレクトリ下に保存される。
|
|
||||||
|
|
||||||
初期値はexpand('~/.vimshell')である。
|
|
||||||
|
|
||||||
g:vimshell_max_command_history *g:vimshell_max_command_history*
|
|
||||||
vimshellが保存するヒストリの最大数を指定する。
|
|
||||||
|
|
||||||
初期値は1000である。
|
|
||||||
|
|
||||||
g:vimshell_max_directory_stack *g:vimshell_max_directory_stack*
|
|
||||||
vimshellが保存するディレクトリスタックの最大数を指定する。
|
|
||||||
|
|
||||||
初期値は100である。
|
|
||||||
|
|
||||||
g:vimshell_vimshrc_path *g:vimshell_vimshrc_path*
|
|
||||||
vimshellが最初に読み込むシェルの設定ファイル.vimshrc
|
|
||||||
を指定する。これはbashでいう.bashrcに似ている。そ
|
|
||||||
のファイルの中でエイリアスを定義すると便利である。
|
|
||||||
|
|
||||||
初期値はexpand('~/.vimshrc')です。
|
|
||||||
|
|
||||||
g:vimshell_escape_colors *g:vimshell_escape_colors*
|
|
||||||
エスケープシーケンスの色づけにおいて、 対応する色の
|
|
||||||
リストである。0~8番目が普通の色、9~15番目が高輝度の色
|
|
||||||
に対応している。
|
|
||||||
|
|
||||||
初期値はplugin/vimshell.vimを参照せよ。
|
|
||||||
|
|
||||||
g:vimshell_disable_escape_highlight *g:vimshell_disable_escape_highlight*
|
|
||||||
エスケープシーケンスの色づけをするかどうかを制御する。
|
|
||||||
これは重い処理なので、無効化すればvimshellが高速化する。
|
|
||||||
値を真にすると無効になる。
|
|
||||||
|
|
||||||
初期値は0である。
|
|
||||||
|
|
||||||
g:vimshell_cat_command *g:vimshell_cat_command*
|
|
||||||
vimshellは外部のページャやエディタをうまく扱えないの
|
|
||||||
で、$PAGERや$EDITORに|g:vimshell_cat_command|の値を
|
|
||||||
セットする。初期値は"cat"だが、この変数の内容を
|
|
||||||
変更することで、カスタマイズできる。
|
|
||||||
|
|
||||||
初期値は"cat"である。
|
|
||||||
|
|
||||||
g:vimshell_environment_term *g:vimshell_environment_term*
|
|
||||||
vimshellが$TERMにセットする端末情報である。
|
|
||||||
|
|
||||||
初期値は"vt100"である。
|
|
||||||
|
|
||||||
g:vimshell_split_command *g:vimshell_split_command*
|
|
||||||
vimshellが画面を分割するときに用いるExコマンドである。
|
|
||||||
これを"nicely"にすると、vimshellがウインドウの大きさを
|
|
||||||
見て最適な画面分割を行う。
|
|
||||||
空文字列にすると、分割しない。
|
|
||||||
"tabnew"にすると、新しいタブで開く。
|
|
||||||
"vsplit"で縦方向に分割する。
|
|
||||||
|
|
||||||
初期値は"nicely"である。
|
|
||||||
|
|
||||||
g:vimshell_cd_command *g:vimshell_cd_command*
|
|
||||||
vimshellがカレントディレクトリを変更するときに用いるEx
|
|
||||||
コマンドである。|`=|を解釈しなければならない。
|
|
||||||
|
|
||||||
初期値は"lcd"である。
|
|
||||||
|
|
||||||
g:vimshell_no_save_history_commands *g:vimshell_no_save_history_commands*
|
|
||||||
ヒストリを保存しないコマンド名をキーとしたディクショ
|
|
||||||
ナリ。存在しないと無視される。
|
|
||||||
|
|
||||||
初期値は{ 'history' : 1, 'h' : 1, 'histdel' : 1 }です。
|
|
||||||
|
|
||||||
g:vimshell_interactive_no_save_history_commands *g:vimshell_interactive_no_save_history_commands*
|
|
||||||
|vimshell-internal-iexe|において、ヒストリを保存しな
|
|
||||||
いコマンド名をキーとしたディクショナリ。存在しな
|
|
||||||
いと無視される。
|
|
||||||
|
|
||||||
初期値は{}である。
|
|
||||||
|
|
||||||
g:vimshell_interactive_update_time *g:vimshell_interactive_update_time*
|
|
||||||
|vimshell-internal-iexe|がInsert mode中において、自
|
|
||||||
動更新を行うタイミングを制御する。
|
|
||||||
|vimshell-internal-iexe|はこのオプションに基づき、
|
|
||||||
'updatetime'を変更する。
|
|
||||||
|
|
||||||
初期値は500である。
|
|
||||||
|
|
||||||
g:vimshell_interactive_command_options *g:vimshell_interactive_command_options*
|
|
||||||
コマンド名をキーとするディクショナリ変数になっていて、
|
|
||||||
|vimshell-internal-iexe|で起動するコマンドに与えるオ
|
|
||||||
プションを指定する。 Windows環境などで特殊なオプショ
|
|
||||||
ンを与えないと、うまく対話モードにならないコマンド
|
|
||||||
に使用する。
|
|
||||||
|
|
||||||
初期値は複雑なので、autoload/vimshell/commands/iexe.vimを参照
|
|
||||||
せよ。
|
|
||||||
|
|
||||||
g:vimshell_interactive_interpreter_commands *g:vimshell_interactive_interpreter_commands*
|
|
||||||
ファイルタイプをキーとするディクショナリ変数になっていて、
|
|
||||||
|:VimShellInteractive|の引数を省略した際のインタプリ
|
|
||||||
タ名を指定する。
|
|
||||||
|
|
||||||
初期値は複雑なので、autoload/vimshell/commands/iexe.vimを参照
|
|
||||||
せよ。
|
|
||||||
|
|
||||||
g:vimshell_interactive_encodings *g:vimshell_interactive_encodings*
|
|
||||||
コマンド名をキーとするディクショナリ変数になっていて、
|
|
||||||
|vimshell-internal-iexe|で起動するコマンドのエンコー
|
|
||||||
ディングを指定する。
|
|
||||||
|
|
||||||
初期値は複雑なので、autoload/vimshell/commands/iexe.vimを参照
|
|
||||||
せよ。
|
|
||||||
|
|
||||||
g:vimshell_interactive_no_echoback_commands *g:vimshell_interactive_no_echoback_commands*
|
|
||||||
インタプリタ名をキーとするディクショナリ変数になってい
|
|
||||||
て、|vimshell-internal-iexe|実行時にエコーバックするか
|
|
||||||
どうかを指定する。1ならiexe側でエコーバック処理をする。
|
|
||||||
Windowsでのみ有効である。
|
|
||||||
|
|
||||||
初期値は複雑なので、plugin/vimshell.vimを参照
|
|
||||||
せよ。
|
|
||||||
|
|
||||||
g:vimshell_terminal_cursor *g:vimshell_terminal_cursor*
|
|
||||||
|vimshell-internal-texe|で使用するカーソル形状を指定
|
|
||||||
する。'guicursor'を一時的に変更するので、GVim環境
|
|
||||||
でのみ意味がある。
|
|
||||||
|
|
||||||
初期値は'i:block-Cursor/lCursor'である。
|
|
||||||
|
|
||||||
g:vimshell_terminal_commands *g:vimshell_terminal_commands*
|
|
||||||
コマンド名をキーとするディクショナリ変数となっている。
|
|
||||||
値が真であるコマンドを実行する際には、自動的に
|
|
||||||
|vimshell-internal-texe|が使用される。
|
|
||||||
|
|
||||||
初期値は複雑なので、plugin/vimshell.vimを参照
|
|
||||||
せよ。
|
|
||||||
|
|
||||||
g:vimshell_interactive_cygwin_commands *g:vimshell_interactive_cygwin_commands*
|
|
||||||
コマンド名をキーとするディクショナリ変数になっていて、
|
|
||||||
fakecygpty経由で起動するコマンドを指定する。sshな
|
|
||||||
ど、Cygwin上でないとうまく動作しないコマンドを
|
|
||||||
|vimshell-internal-iexe|から使用する際に使う。
|
|
||||||
fakecygptyについては、|vimshell-tips-fakecygpty|を
|
|
||||||
参照しなければならない。
|
|
||||||
|
|
||||||
初期値は複雑なので、autoload/vimshell/commands/iexe.vimを参照
|
|
||||||
せよ。
|
|
||||||
|
|
||||||
g:vimshell_interactive_cygwin_path *g:vimshell_interactive_cygwin_path*
|
|
||||||
fakecygpty経由のプログラムを実行する際に参照するパス
|
|
||||||
を指定する。 |vimshell-internal-iexe|は第一引数に
|
|
||||||
fakecygptyを指定されたとき、 $PATHではなく、
|
|
||||||
|g:vimshell_interactive_cygwin_path|からコマンドを検
|
|
||||||
索する。
|
|
||||||
|
|
||||||
初期値は'c:/cygwin/bin'である。
|
|
||||||
|
|
||||||
g:vimshell_interactive_cygwin_home *g:vimshell_interactive_cygwin_home*
|
|
||||||
fakecygpty経由のプログラムを実行する際に使用する
|
|
||||||
$HOMEを指定する。''を指定すると現在の$HOMEをそのま
|
|
||||||
ま利用する。
|
|
||||||
|
|
||||||
初期値は''である。
|
|
||||||
|
|
||||||
g:vimshell_interactive_monochrome_commands *g:vimshell_interactive_monochrome_commands*
|
|
||||||
コマンド名をキーとするディクショナリ変数になっていて、
|
|
||||||
vimshellによる色分けを無効化するコマンドを指定する。
|
|
||||||
|
|
||||||
初期値は複雑なので、autoload/vimshell/commands/iexe.vimを参照
|
|
||||||
せよ。
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
KEY MAPPINGS *vimshell-key-mappings*
|
|
||||||
|
|
||||||
<Plug>(vimshell_split_switch) *<Plug>(vimshell_split_switch)*
|
|
||||||
vimshellを画面分割して起動する。すでにvimshellバッファ
|
|
||||||
が存在する場合はそちらに切り換える。
|
|
||||||
|
|
||||||
<Plug>(vimshell_split_create) *<Plug>(vimshell_split_create)*
|
|
||||||
vimshellを画面分割して起動する。すでにvimshellバッファ
|
|
||||||
が存在していても、新しくvimshellバッファを作成する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_switch) *<Plug>(vimshell_switch)*
|
|
||||||
vimshellを起動する。すでにvimshellバッファが存在する場
|
|
||||||
合はそちらに切り換える。
|
|
||||||
|
|
||||||
<Plug>(vimshell_create) *<Plug>(vimshell_create)*
|
|
||||||
vimshellを起動する。すでにvimshellバッファが存在してい
|
|
||||||
ても、新しくvimshellバッファを作成する。
|
|
||||||
|
|
||||||
VIMSHELL BUFFER KEY MAPPINGS *vimshell-buffer-key-mappings*
|
|
||||||
|
|
||||||
Normal mode key mappings.
|
|
||||||
|
|
||||||
<Plug>(vimshell_enter) *<Plug>(vimshell_enter)*
|
|
||||||
入力されたコマンドを実行する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_previous_prompt) *<Plug>(vimshell_previous_prompt)*
|
|
||||||
カーソルよりも前のプロンプトへ移動する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_next_prompt) *<Plug>(vimshell_next_prompt)*
|
|
||||||
カーソルよりも後のプロンプトへ移動する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_delete_previous_output) *<Plug>(vimshell_delete_previous_output)*
|
|
||||||
カーソル前方の出力を削除する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_paste_prompt) *<Plug>(vimshell_paste_prompt)*
|
|
||||||
カーソル行のコマンドをプロンプトにペーストする。
|
|
||||||
|
|
||||||
<Plug>(vimshell_move_end_argument) *<Plug>(vimshell_move_end_argument)*
|
|
||||||
コマンドの最終引数へ移動する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_hide) *<Plug>(vimshell_hide)*
|
|
||||||
vimshellバッファを隠す。
|
|
||||||
|
|
||||||
<Plug>(vimshell_exit) *<Plug>(vimshell_exit)*
|
|
||||||
vimshellバッファを終了する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_change_line) *<Plug>(vimshell_change_line)*
|
|
||||||
行全体を修正する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_delete_line) *<Plug>(vimshell_delete_line)*
|
|
||||||
行全体を削除する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_hangup) *<Plug>(vimshell_hangup)*
|
|
||||||
実行中のコマンドを強制的に終了する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_insert_head) *<Plug>(vimshell_insert_head)*
|
|
||||||
<Plug>(vimshell_insert_enter) *<Plug>(vimshell_insert_enter)*
|
|
||||||
<Plug>(vimshell_append_enter) *<Plug>(vimshell_append_enter)*
|
|
||||||
<Plug>(vimshell_append_end) *<Plug>(vimshell_append_end)*
|
|
||||||
挿入モードへ移行する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_clear) *<Plug>(vimshell_clear)*
|
|
||||||
再描画する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_move_head) *<Plug>(vimshell_move_head)*
|
|
||||||
行頭へ移動する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_execute_by_background) *<Plug>(vimshell_execute_by_background)*
|
|
||||||
実行中のコマンドをiexeバッファで起動する。
|
|
||||||
|
|
||||||
Visual mode key mappings.
|
|
||||||
<Plug>(vimshell_select_previous_prompt) *v_<Plug>(vimshell_select_previous_prompt)*
|
|
||||||
カーソルよりも前のプロンプトを選択する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_select_next_prompt) *v_<Plug>(vimshell_select_next_prompt)*
|
|
||||||
カーソルよりも後のプロンプトを選択する。
|
|
||||||
|
|
||||||
Insert mode key mappings.
|
|
||||||
|
|
||||||
<Plug>(vimshell_command_complete) *i_<Plug>(vimshell_command_complete)*
|
|
||||||
補完を呼び出す。
|
|
||||||
|
|
||||||
<Plug>(vimshell_push_current_line) *i_<Plug>(vimshell_push_current_line)*
|
|
||||||
実行中のコマンドを一時的にスタックにpushする。
|
|
||||||
|
|
||||||
<Plug>(vimshell_insert_last_word) *i_<Plug>(vimshell_insert_last_word)*
|
|
||||||
コマンドの最終引数に文字を挿入する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_run_help) *i_<Plug>(vimshell_run_help)*
|
|
||||||
内部コマンドのヘルプを見る。
|
|
||||||
|
|
||||||
<Plug>(vimshell_move_head) *i_<Plug>(vimshell_move_head)*
|
|
||||||
行の先頭へ移動する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_delete_backward_line) *i_<Plug>(vimshell_delete_backward_line)*
|
|
||||||
カーソルより後方の行を削除する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_delete_backward_word) *i_<Plug>(vimshell_delete_backward_word)*
|
|
||||||
コマンド行を一語削除する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_enter) *i_<Plug>(vimshell_enter)*
|
|
||||||
コマンドを実行する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_interrupt) *i_<Plug>(vimshell_interrupt)*
|
|
||||||
実行中のコマンドに割り込みを送信する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_move_previous_window) *i_<Plug>(vimshell_move_previous_window)*
|
|
||||||
前のウインドウへ戻る。
|
|
||||||
|
|
||||||
<Plug>(vimshell_delete_backward_char) *i_<Plug>(vimshell_delete_backward_char)*
|
|
||||||
<Plug>(vimshell_another_delete_backward_char) *i_<Plug>(vimshell_another_delete_backward_char)*
|
|
||||||
コマンド行を一文字削除する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_delete_forward_line) *i_<Plug>(vimshell_delete_forward_line)*
|
|
||||||
カーソルより前方の行を削除する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_clear) *i_<Plug>(vimshell_clear)*
|
|
||||||
vimshellバッファを再描画する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_execute_by_background) *i_<Plug>(vimshell_execute_by_background)*
|
|
||||||
実行中のコマンドをiexeバッファで実行する。
|
|
||||||
|
|
||||||
Normal mode default key mappings.
|
|
||||||
{lhs} {rhs}
|
|
||||||
-------- -----------------------------
|
|
||||||
<CR> <Plug>(vimshell_enter)
|
|
||||||
q <Plug>(vimshell_hide)
|
|
||||||
Q <Plug>(vimshell_exit)
|
|
||||||
<C-p> <Plug>(vimshell_previous_prompt)
|
|
||||||
<C-n> <Plug>(vimshell_next_prompt)
|
|
||||||
<C-k> <Plug>(vimshell_delete_previous_output)
|
|
||||||
<C-y> <Plug>(vimshell_paste_prompt)
|
|
||||||
E <Plug>(vimshell_move_end_argument)
|
|
||||||
cc <Plug>(vimshell_change_line)
|
|
||||||
dd <Plug>(vimshell_delete_line)
|
|
||||||
I <Plug>(vimshell_insert_head)
|
|
||||||
A <Plug>(vimshell_append_end)
|
|
||||||
i <Plug>(vimshell_insert_enter)
|
|
||||||
a <Plug>(vimshell_append_enter)
|
|
||||||
^ <Plug>(vimshell_move_head)
|
|
||||||
<C-c> <Plug>(vimshell_hangup)
|
|
||||||
<C-l> <Plug>(vimshell_clear)
|
|
||||||
<C-z> <Plug>(vimshell_execute_by_background)
|
|
||||||
|
|
||||||
Visual mode default key mappings.
|
|
||||||
{lhs} {rhs}
|
|
||||||
-------- -----------------------------
|
|
||||||
<C-p> <Plug>(vimshell_select_previous_prompt)
|
|
||||||
<C-n> <Plug>(vimshell_select_next_prompt)
|
|
||||||
|
|
||||||
Insert mode default key mappings.
|
|
||||||
{lhs} {rhs}
|
|
||||||
-------- -----------------------------
|
|
||||||
<CR> <Plug>(vimshell_enter)
|
|
||||||
<C-l> vimshell/history sourceの起動
|
|
||||||
<TAB> <Plug>(vimshell_command_complete)
|
|
||||||
<C-a> <Plug>(vimshell_move_head)
|
|
||||||
<C-u> <Plug>(vimshell_delete_backward_line)
|
|
||||||
<C-w> <Plug>(vimshell_delete_backward_word)
|
|
||||||
<C-z> (while execute) <Plug>(vimshell_execute_by_background)
|
|
||||||
(other) <Plug>(vimshell_push_current_line)
|
|
||||||
<C-t> <Plug>(vimshell_insert_last_word)
|
|
||||||
<C-x><C-h> <Plug>(vimshell_run_help)
|
|
||||||
<C-c> <Plug>(vimshell_interrupt)
|
|
||||||
<C-h> <Plug>(vimshell_delete_backward_char)
|
|
||||||
<BS> <Plug>(vimshell_delete_backward_char)
|
|
||||||
<C-k> <Plug>(vimshell_delete_forward_line)
|
|
||||||
<C-x> <Plug>(vimshell_move_previous_window)
|
|
||||||
|
|
||||||
VIMSHELL INTERACTIVE BUFFER KEY MAPPINGS *vimshell-interactive-buffer-key-mappings*
|
|
||||||
|
|
||||||
Normal mode key mappings.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_execute_line) *<Plug>(vimshell_int_execute_line)*
|
|
||||||
カーソル位置の入力をコマンドに送信する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_previous_prompt) *<Plug>(vimshell_int_previous_prompt)*
|
|
||||||
カーソルよりも前のプロンプトへ移動する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_next_prompt) *<Plug>(vimshell_int_next_prompt)*
|
|
||||||
カーソルよりも後のプロンプトへ移動する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_paste_prompt) *<Plug>(vimshell_int_paste_prompt)*
|
|
||||||
カーソル位置の入力を最終行にペーストする。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_hangup) *<Plug>(vimshell_int_hangup)*
|
|
||||||
強制的にコマンドを終了する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_exit) *<Plug>(vimshell_int_exit)*
|
|
||||||
バッファと実行中のコマンドを削除する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_restart_command) *<Plug>(vimshell_int_restart_command)*
|
|
||||||
コマンドを再起動する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_change_line) *<Plug>(vimshell_int_change_line)*
|
|
||||||
行全体を変更する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_delete_line) *<Plug>(vimshell_int_delete_line)*
|
|
||||||
行全体を削除する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_insert_enter) *<Plug>(vimshell_int_insert_enter)*
|
|
||||||
<Plug>(vimshell_int_insert_head) *<Plug>(vimshell_int_insert_head)*
|
|
||||||
<Plug>(vimshell_int_append_enter) *<Plug>(vimshell_int_append_enter)*
|
|
||||||
<Plug>(vimshell_int_append_end) *<Plug>(vimshell_int_append_end)*
|
|
||||||
Insert modeに移行する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_clear) *<Plug>(vimshell_int_clear)*
|
|
||||||
バッファを再描画する。
|
|
||||||
|
|
||||||
Insert mode key mappings.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_move_head) *i_<Plug>(vimshell_int_move_head)*
|
|
||||||
コマンド行の先頭に移動する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_delete_backward_line) *i_<Plug>(vimshell_int_delete_backward_line)*
|
|
||||||
カーソルより後方の行を削除する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_delete_backward_word) *i_<Plug>(vimshell_int_delete_backward_word)*
|
|
||||||
コマンド行を一語削除する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_execute_line) *i_<Plug>(vimshell_int_execute_line)*
|
|
||||||
コマンドにカーソル行を送信する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_delete_backward_char) *i_<Plug>(vimshell_int_delete_backward_char)*
|
|
||||||
<Plug>(vimshell_int_another_delete_backward_char) *i_<Plug>(vimshell_int_another_delete_backward_char)*
|
|
||||||
コマンド行を一文字削除する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_send_input) *i_<Plug>(vimshell_int_send_input)*
|
|
||||||
コマンドに任意の入力を送信する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_interrupt) *i_<Plug>(vimshell_int_interrupt)*
|
|
||||||
実行中のコマンドに割り込みを送信する。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_command_complete) *i_<Plug>(vimshell_int_command_complete)*
|
|
||||||
補完を行う。
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_delete_forward_line) *i_<Plug>(vimshell_int_delete_forward_line)*
|
|
||||||
カーソルより前方の行を削除する。
|
|
||||||
|
|
||||||
Normal mode default key mappings.
|
|
||||||
{lhs} {rhs}
|
|
||||||
-------- -----------------------------
|
|
||||||
<C-p> <Plug>(vimshell_int_previous_prompt)
|
|
||||||
<C-n> <Plug>(vimshell_int_next_prompt)
|
|
||||||
<CR> <Plug>(vimshell_int_execute_line)
|
|
||||||
<C-y> <Plug>(vimshell_int_paste_prompt)
|
|
||||||
<C-z> <Plug>(vimshell_int_restart_command)
|
|
||||||
<C-c> <Plug>(vimshell_int_hangup)
|
|
||||||
q <Plug>(vimshell_int_exit)
|
|
||||||
cc <Plug>(vimshell_int_change_line)
|
|
||||||
dd <Plug>(vimshell_int_delete_line)
|
|
||||||
I <Plug>(vimshell_int_insert_head)
|
|
||||||
A <Plug>(vimshell_int_append_end)
|
|
||||||
i <Plug>(vimshell_int_insert_enter)
|
|
||||||
a <Plug>(vimshell_int_append_enter)
|
|
||||||
<C-l> <Plug>(vimshell_int_clear)
|
|
||||||
|
|
||||||
Insert mode default key mappings.
|
|
||||||
{lhs} {rhs}
|
|
||||||
-------- -----------------------------
|
|
||||||
<C-h> <Plug>(vimshell_int_delete_backward_char)
|
|
||||||
<BS> <Plug>(vimshell_int_delete_backward_char)
|
|
||||||
<C-a> <Plug>(vimshell_int_move_head)
|
|
||||||
<C-u> <Plug>(vimshell_int_delete_backward_line)
|
|
||||||
<C-w> <Plug>(vimshell_int_delete_backward_word)
|
|
||||||
<C-k> <Plug>(vimshell_int_delete_forward_line)
|
|
||||||
<CR> <Plug>(vimshell_int_execute_line)
|
|
||||||
<C-c> <Plug>(vimshell_int_interrupt)
|
|
||||||
<C-l> vimshell/history sourceの起動
|
|
||||||
<C-v> <Plug>(vimshell_int_send_input)
|
|
||||||
<C-n> <C-n>
|
|
||||||
<TAB> 補完候補の選択か補完を行う
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
FUNCTIONS *vimshell-functions*
|
|
||||||
|
|
||||||
vimshell#hook#set({hook-point}, {func-list}) *vimshell#hook#set()*
|
|
||||||
{hook-point}のhook関数を{func-list}で定義する。すでに定
|
|
||||||
義されているhookは上書きされるので注意しなければなら
|
|
||||||
ない。hook関数は{func-list}で指定された順番で呼びだされる。
|
|
||||||
|
|
||||||
vimshell#hook#get({hook-point}) *vimshell#hook#get()*
|
|
||||||
{hook-point}に定義されているhookを辞書形式で返す。
|
|
||||||
|
|
||||||
vimshell#hook#add({hook-point}, {hook-name}, {func}) *vimshell#hook#add()*
|
|
||||||
{hook-point}に{hook-name}で{func}を登録する。既に存
|
|
||||||
在するhook関数は{hook-name}が同じでない限り上書きさ
|
|
||||||
れない。
|
|
||||||
|
|
||||||
vimshell#hook#remove({hook-point}, {hook-name}) *vimshell#hook#remove()*
|
|
||||||
{hook-point}の{hook-name}関数を削除する。
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
EXAMPLES *vimshell-examples*
|
|
||||||
>
|
|
||||||
let g:vimshell_user_prompt = 'fnamemodify(getcwd(), ":~")'
|
|
||||||
"let g:vimshell_right_prompt = 'vcs#info("(%s)-[%b]", "(%s)-[%b|%a]")'
|
|
||||||
let g:vimshell_enable_smart_case = 1
|
|
||||||
|
|
||||||
if has('win32') || has('win64')
|
|
||||||
" Display user name on Windows.
|
|
||||||
let g:vimshell_prompt = $USERNAME."% "
|
|
||||||
else
|
|
||||||
" Display user name on Linux.
|
|
||||||
let g:vimshell_prompt = $USER."% "
|
|
||||||
|
|
||||||
call vimshell#set_execute_file('bmp,jpg,png,gif', 'gexe eog')
|
|
||||||
call vimshell#set_execute_file('mp3,m4a,ogg', 'gexe amarok')
|
|
||||||
let g:vimshell_execute_file_list['zip'] = 'zipinfo'
|
|
||||||
call vimshell#set_execute_file('tgz,gz', 'gzcat')
|
|
||||||
call vimshell#set_execute_file('tbz,bz2', 'bzcat')
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Initialize execute file list.
|
|
||||||
let g:vimshell_execute_file_list = {}
|
|
||||||
call vimshell#set_execute_file('txt,vim,c,h,cpp,d,xml,java', 'vim')
|
|
||||||
let g:vimshell_execute_file_list['rb'] = 'ruby'
|
|
||||||
let g:vimshell_execute_file_list['pl'] = 'perl'
|
|
||||||
let g:vimshell_execute_file_list['py'] = 'python'
|
|
||||||
call vimshell#set_execute_file('html,xhtml', 'gexe firefox')
|
|
||||||
|
|
||||||
autocmd FileType vimshell
|
|
||||||
\ call vimshell#altercmd#define('g', 'git')
|
|
||||||
\| call vimshell#altercmd#define('i', 'iexe')
|
|
||||||
\| call vimshell#altercmd#define('l', 'll')
|
|
||||||
\| call vimshell#altercmd#define('ll', 'ls -l')
|
|
||||||
\| call vimshell#hook#add('chpwd', 'my_chpwd', 'g:my_chpwd')
|
|
||||||
|
|
||||||
function! g:my_chpwd(args, context)
|
|
||||||
call vimshell#execute('ls')
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
autocmd FileType int-* call s:interactive_settings()
|
|
||||||
function! s:interactive_settings()
|
|
||||||
endfunction
|
|
||||||
<
|
|
||||||
プロンプトをユーザー名にしているだけで、後は凝った設定はしてないです。 ちな
|
|
||||||
みに|neocomplcache|では、vimshellのヒストリファイルを辞書として使用してます。
|
|
||||||
これはなかなか便利です。|g:vimshell_execute_file_list|による関連づけも設定
|
|
||||||
しています。 ユーザープロンプトを設定するのは一番最初にします。 vimshellを読
|
|
||||||
み込む前に設定しないと、セキュリティの関係で再設定できなくなるからです。
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
INTERNAL COMMANDS *vimshell-internal-commands*
|
|
||||||
internal commandは普通のシェルにおける組み込みコマンドのように動作する。
|
|
||||||
引数はvimshellに解釈された後に分割して渡される。
|
|
||||||
|
|
||||||
Note: 現状、internal commandコマンドはパイプラインに対応しないことに注意しなけ
|
|
||||||
ればならない。パイプラインを使用した場合、強制的に外部コマンドが起動される。よ
|
|
||||||
って、次のコマンドはフリーズする。
|
|
||||||
>
|
|
||||||
vimshell% echo hello | vim
|
|
||||||
<
|
|
||||||
|
|
||||||
bg [{option}...] {command} *vimshell-internal-bg*
|
|
||||||
{command}をバックグラウンドで起動する。vimshellのバックグラウン
|
|
||||||
ド実行は新たにバッファを開き、そこに{command}の出力を書き出す。
|
|
||||||
bgの場合、ユーザーからの入力は一切受け付けない。 バックグラウン
|
|
||||||
ドバッファ上で<C-c>を入力すると、{command}の実行を強制的に終了
|
|
||||||
させる。
|
|
||||||
コマンドラインの最後に&を付加すると、bgを指定したことと同じとなる。
|
|
||||||
例:
|
|
||||||
>
|
|
||||||
vimshell% ls&
|
|
||||||
<
|
|
||||||
iexe, exe, bg, texe, less はオプションを解釈し、それに基づいて
|
|
||||||
挙動を変更する。詳しくは |vimshell-execute-options|を参照せよ。
|
|
||||||
ここでは、bgのみに存在するオプションを解説する。
|
|
||||||
|
|
||||||
--filetype={filetype-name}
|
|
||||||
出力バッファの'filetype'を{filetype-name}に変更する。
|
|
||||||
このオプションが省略された場合、"background"となる。
|
|
||||||
|
|
||||||
--split={split-command}
|
|
||||||
バッファの分割方向を指定する。このオプションが省略された場合、
|
|
||||||
|g:vimshell_split_command|が使用される。
|
|
||||||
|
|
||||||
cd {directory-path} [{substitute-pattern}] *vimshell-internal-cd*
|
|
||||||
カレントディレクトリを{directory-path}に変更する。引数が空の場
|
|
||||||
合、ホームディレクトリへ移動する。 引数が二つ与えられた場合、
|
|
||||||
{directory-path}を {substitute-pattern}へ置き換える。引数がディ
|
|
||||||
レクトリでなかった場合、ファイルの親ディレクトリへ移動する。 フ
|
|
||||||
ァイルが見つからなかった場合、'cdpath'を参照して移動しようとす
|
|
||||||
る。 引数に-で始まる数字を与えると、 |vimshell-internal-popd|と
|
|
||||||
同じ意味になる。
|
|
||||||
|
|
||||||
clear *vimshell-internal-clear*
|
|
||||||
画面を消去する。
|
|
||||||
|
|
||||||
dirs [{max}] *vimshell-internal-dirs*
|
|
||||||
ディレクトリスタックの一覧を{max}個表示する。
|
|
||||||
{max}を省略すると、10になる。
|
|
||||||
この一覧上で<Enter>を押すことで、そのディレクトリへ移動でき
|
|
||||||
る。
|
|
||||||
|
|
||||||
echo [{argument}...] *vimshell-internal-echo*
|
|
||||||
引数を出力する。
|
|
||||||
|
|
||||||
eval {expression} *vimshell-internal-eval*
|
|
||||||
{expression}をvimshell Scriptとして解釈し、評価結果を表示する。
|
|
||||||
前のバージョンのevとは動作が異なる。evの代わりが欲しいなら、
|
|
||||||
alias ev = 'vexe echo'を設定する。
|
|
||||||
|
|
||||||
exe [{option}...] {command} *vimshell-internal-exe*
|
|
||||||
{command}に引数を与えて実行する。必ず外部コマンドが実行される。
|
|
||||||
iexe, exe, bg, texe, less はオプションを解釈し、それに基づいて
|
|
||||||
挙動を変更する。詳しくは|vimshell-execute-options|を参照せよ。
|
|
||||||
コマンドを実行中はコマンドが終了するか、<C-c>で強制終了する
|
|
||||||
まで、他のコマンドを実行できないことに注意。
|
|
||||||
Note: vimshell Ver.9より、exeは入力も受けつけるように変更された。
|
|
||||||
|
|
||||||
*vimshell-execute-options*
|
|
||||||
--encoding={encoding-name} *vimshell-execute-options-encoding*
|
|
||||||
起動するプログラムのエンコーディングを{encoding-name}に変更する。
|
|
||||||
'encoding'と{encoding-name}が異なる場合、vimshellは入出力のエン
|
|
||||||
コーディング変換を自動的に行う。 このオプションが省略された場合、
|
|
||||||
'termencoding'の値が使用される。
|
|
||||||
|
|
||||||
exit *vimshell-internal-exit*
|
|
||||||
vimshellを終了する。
|
|
||||||
|
|
||||||
gcd [{directory-path}] *vimshell-internal-gcd*
|
|
||||||
vimshellのカレントディレクトリを変更し、かつグローバルなカレ
|
|
||||||
ントディレクトリも変更する。 vimshellのカレントディレクト
|
|
||||||
リはVimのカレントディレクトリとは異なっているので、 Vimのカ
|
|
||||||
レントディレクトリを変更したい場合に便利である。
|
|
||||||
{directory-path}を省略すると、vimshellのカレントディレクトリ
|
|
||||||
に移動する。
|
|
||||||
|
|
||||||
gendoc {command} {args} *vimshell-internal-gendoc*
|
|
||||||
{command}に引数{args}を与えて実行し、結果を
|
|
||||||
g:vimshell_temporary_directory/cached-docに格納する。キャッシュ
|
|
||||||
した説明文は|echodoc|により表示できる。説明文としてキャッシュさ
|
|
||||||
れるのは、コマンドの実行結果の一行目だけである。
|
|
||||||
|
|
||||||
gexe {command} *vimshell-internal-gexe*
|
|
||||||
{command}に引数を与えて実行する。必ず外部コマンドが実行される。
|
|
||||||
exeとは違い、GUIコマンドを実行することに特化している。
|
|
||||||
|
|
||||||
h [{pattern}] *vimshell-internal-h*
|
|
||||||
{pattern}に一致するヒストリを実行する。{pattern}が数字で与えら
|
|
||||||
れた場合、{pattern}をヒストリ番号として検索する。{pattern}が文
|
|
||||||
字列の場合、その文字列に最初にマッチする履歴を実行する。ヒ スト
|
|
||||||
リ番号は|vimshell-internal-history|で確認できる。{pattern}を省
|
|
||||||
略すると、 直前のコマンドを実行する。|vimshell-internal-h|によ
|
|
||||||
り実行したコマンドはヒストリに登録されない。
|
|
||||||
|
|
||||||
histdel {history-number} *vimshell-internal-histdel*
|
|
||||||
{history-number}に一致するヒストリを削除する。ヒストリ番号は
|
|
||||||
|vimshell-internal-history|で確認できる。{history-number}を省略
|
|
||||||
すると無視される。
|
|
||||||
|
|
||||||
history [{search-string}] *vimshell-internal-history*
|
|
||||||
ディレクトリスタックの一覧を{search-string}個表示する。
|
|
||||||
{search-string} を省略すると、20になる。{search-string}が文字列
|
|
||||||
の場合、その文字 列にマッチする候補を一覧できます。この一覧上で
|
|
||||||
<Enter>を押すことで、その履歴を実行できる。
|
|
||||||
|
|
||||||
iexe [{options}...] {command} *vimshell-internal-iexe*
|
|
||||||
{command}に引数を与えて実行する。必ず外部コマンドが実行される。
|
|
||||||
exeとは違い、対話コマンドを実行することに特化している。入出力を
|
|
||||||
行なうために新しいバッファが生成される。
|
|
||||||
iexeバッファは|filetype|がint-{command}となる。iexeバッファ全体
|
|
||||||
にautocmdを使用する場合は、"int-*"というパターンを使用するとよ
|
|
||||||
い。
|
|
||||||
|
|
||||||
Note:
|
|
||||||
iexeはzshの右プロンプトに対応していない。仕組み上、右プロンプト
|
|
||||||
には対応できない。iexeバッファからプロセスを起動すると、
|
|
||||||
環境変数 "$VIMSHELL" が1にセットされるので、それにより判別し右
|
|
||||||
プロンプトを無効にするとよい。
|
|
||||||
|
|
||||||
iexe, exe, bg, texe, less はオプションを解釈し、それに基づいて
|
|
||||||
挙動を変更する。詳しくは |vimshell-execute-options|を参照せよ。
|
|
||||||
|
|
||||||
--split={split-command}
|
|
||||||
バッファの分割方向を指定する。このオプションが省略された場合、
|
|
||||||
|g:vimshell_split_command|が使用される。
|
|
||||||
|
|
||||||
less [{options}...] {command} *vimshell-internal-less*
|
|
||||||
{command}に引数を与えて実行する。必ず外部コマンドが実行される。
|
|
||||||
vimshellがページャとなり、出力が多いコマンドを実行するときに有
|
|
||||||
用である。
|
|
||||||
シンタックスシュガーとして、次の形式も有効である。
|
|
||||||
{command1} | {command2} | less
|
|
||||||
入出力を行なうために新しいバッファが生成される。
|
|
||||||
{command}が実行コマンドでない場合、|vimshell-internal-view|を実
|
|
||||||
行する。
|
|
||||||
iexe, exe, bg, texe, less はオプションを解釈し、それに基づい
|
|
||||||
て挙動を変更する。詳しくは|vimshell-execute-options|を参
|
|
||||||
照せよ。
|
|
||||||
|
|
||||||
--split={split-command}
|
|
||||||
バッファの分割方向を指定する。このオプションが省略された場合、
|
|
||||||
|g:vimshell_split_command|が使用される。
|
|
||||||
|
|
||||||
ls [{argument}...] *vimshell-internal-ls*
|
|
||||||
外部コマンドのlsを適切な引数を与えて実行する。lsコマンドがイン
|
|
||||||
ストールされていない場合、エラーとなる。特にWindows環境では、ls
|
|
||||||
コマンドをどこかから入手する必要があるだろう。
|
|
||||||
|
|
||||||
mkcd {directory-name} *vimshell-internal-mkcd*
|
|
||||||
{directory-name}を作成してから、そのディレクトリへ
|
|
||||||
|vimshell-internal-cd|する。
|
|
||||||
|
|
||||||
nop *vimshell-internal-nop*
|
|
||||||
何もしない。
|
|
||||||
|
|
||||||
open {filename} *vimshell-internal-open*
|
|
||||||
{filename}を関連付け実行する。何が実行されるかはOSやデスクトッ
|
|
||||||
プ環境に依存する。
|
|
||||||
|
|
||||||
popd [{directory-stack-number}] *vimshell-internal-popd*
|
|
||||||
{directory-stack-number}で示されるディレクトリへ移動する。
|
|
||||||
{directory-stack-number}は|vimshell-internal-dirs|で確認でき
|
|
||||||
る。{directory-stack-number}を省略すると、0になる。
|
|
||||||
他のシェルとは異なり、重複しない候補はpopdからは取り除かれない。
|
|
||||||
|
|
||||||
pwd *vimshell-internal-pwd*
|
|
||||||
vimshellのカレントディレクトリを表示する。
|
|
||||||
|
|
||||||
repeat {cnt} {command} *vimshell-internal-repeat*
|
|
||||||
{command}を{cnt}回実行する。
|
|
||||||
|
|
||||||
shell *vimshell-internal-shell*
|
|
||||||
|g:vimshell_use_terminal_command|を用いて'shell'を起動する。シ
|
|
||||||
グナルやトラップなど、vimshellでは対応できない用途にも対応する
|
|
||||||
ことができる。
|
|
||||||
|
|
||||||
source {files} *vimshell-internal-source*
|
|
||||||
Windows環境では、"cmd.exe", 他の環境では、'shell'を利用して、
|
|
||||||
{files}を読み込む。{files}は環境変数を変化させるシェルスクリ
|
|
||||||
プトである。環境変数の変化は、vimshellに反映される。
|
|
||||||
|
|
||||||
texe [{options}...] {command} *vimshell-internal-texe*
|
|
||||||
{command}に引数を与えて実行する。必ず外部コマンドが実行される。
|
|
||||||
exe, iexeとは違い、端末コマンドを実行することに特化している。入
|
|
||||||
出力を行なうために新しいバッファが生成される。パイプを使うとエ
|
|
||||||
ラーになる。
|
|
||||||
|
|
||||||
Note: このコマンドは、まだ動作が不完全である。
|
|
||||||
|
|
||||||
iexe, exe, bg, texe, less はオプションを解釈し、それに基づい
|
|
||||||
て挙動を変更する。詳しくは |vimshell-execute-options|を参
|
|
||||||
照せよ。
|
|
||||||
|
|
||||||
--split={split-command}
|
|
||||||
バッファの分割方向を指定する。このオプションが省略された場合、
|
|
||||||
|g:vimshell_split_command|が使用される。
|
|
||||||
|
|
||||||
time {command} *vimshell-internal-time*
|
|
||||||
{command}を同期的に実行し、実行時間を表示する。
|
|
||||||
|
|
||||||
view [{options}...] {filenames}... *vimshell-internal-view*
|
|
||||||
{filenames}を読み取り専用で別バッファに開く。ファイルの行数がウ
|
|
||||||
インドウサイズよりも少ない場合、別バッファを開かず、catのように
|
|
||||||
動作する。ファイルの中身をちょっと見てみたいときに便利である。
|
|
||||||
--split={split-command}
|
|
||||||
バッファの分割方向を指定する。このオプションが省略された場合、
|
|
||||||
|g:vimshell_split_command|が使用される。
|
|
||||||
|
|
||||||
vi [{options}...] [{filenames}...] *vimshell-internal-vi*
|
|
||||||
|vimshell-internal-vim|と同じ動作をする。
|
|
||||||
|
|
||||||
vim [{options}...] [{filenames}...] *vimshell-internal-vim*
|
|
||||||
{filenames}を別バッファに開く。カレントディレクトリにある
|
|
||||||
ファイルを手軽に編集したいときに便利である。
|
|
||||||
{filenames}を省略すると、無名バッファを開く。
|
|
||||||
|
|
||||||
--split={split-command}
|
|
||||||
バッファの分割方向を指定する。このオプションが省略された場合、
|
|
||||||
|g:vimshell_split_command|が使用される。
|
|
||||||
|
|
||||||
vimdiff [{options}...] {filename1} {filename2} *vimshell-internal-vimdiff*
|
|
||||||
{filename1}と{filename2}を|:vimdiff|で比較する。vimshellから
|
|
||||||
diffを呼び出すのは不便なので、存分に活用するべきである。
|
|
||||||
|
|
||||||
--split={split-command}
|
|
||||||
バッファの分割方向を指定する。このオプションが省略された場合、
|
|
||||||
|g:vimshell_split_command|が使用される。
|
|
||||||
|
|
||||||
vimsh [{filename}] *vimshell-internal-vimsh*
|
|
||||||
{filename}で表されるvimshellスクリプトファイルを実行する。ただ
|
|
||||||
し制御構造が実装されていないため、あまり利用価値はない。
|
|
||||||
{filename}を省略すると、新しいvimshellバッファを開く。
|
|
||||||
|
|
||||||
which {command} *vimshell-internal-which*
|
|
||||||
{command}のフルパスを出力する。aliasも認識される。
|
|
||||||
|
|
||||||
whereis {command} *vimshell-internal-whereis*
|
|
||||||
{command}のフルパスをすべて出力する。
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
SPECIAL COMMANDS *vimshell-special-commands*
|
|
||||||
special commandはinternal commandとは違い、vimshellが最小限の解釈しかせずに、
|
|
||||||
コマンドに制御が渡る。それだけ柔軟な解釈ができるが、引数をパースするのはそれ
|
|
||||||
ぞれのコマンドの責任となる。
|
|
||||||
|
|
||||||
alias {alias-name} = {command} *vimshell-special-alias*
|
|
||||||
vimshellにaliasを定義する。vimshellは{alias-name}がコマンド名と
|
|
||||||
して使用されると、自動的に{command}に置き換える。普通のシェルと
|
|
||||||
は違い、 = の前後に空白があっても動作する。
|
|
||||||
|
|
||||||
aliasは引数を取ることができる。引数は$$args変数により参照す
|
|
||||||
る。
|
|
||||||
>
|
|
||||||
vimshell% alias echo=':echo "$$args"'
|
|
||||||
vimshell% alias echo2=':echo "$$args[1]"'
|
|
||||||
vimshell% alias echo3=':echo "$$args[2:]"'
|
|
||||||
<
|
|
||||||
galias {global-alias-name} = {command} *vimshell-internal-galias*
|
|
||||||
vimshellにグローバルなaliasを定義する。vimshellは
|
|
||||||
{global-alias-name}がコマン ドライン中に現われると、自動的に
|
|
||||||
{command}に置き換える。|vimshell-internal-alias|とは違い、引数
|
|
||||||
でも展開される。zshのグローバルエイリアスと良く似た機能である。
|
|
||||||
|
|
||||||
ただし、現状次のようなパイプ付きの展開がサポートされていない。
|
|
||||||
>
|
|
||||||
vimshell% galias G = '|grep'
|
|
||||||
vimshell% ls G hoge
|
|
||||||
<
|
|
||||||
let ${var-name} = {expression} *vimshell-special-let*
|
|
||||||
{var-name}の変数へ{expression}を代入する。
|
|
||||||
{var-name}の先頭には$を付加しなければならない。
|
|
||||||
シェル変数はそれぞれのvimshellバッファ固有の変数である。
|
|
||||||
|
|
||||||
環境変数に代入するには、変数名の先頭を大文字にする。
|
|
||||||
>
|
|
||||||
vimshell% let $Hoge = $hoge
|
|
||||||
<
|
|
||||||
普通のシェルと違って、 = の間に空白があってもなくても動作する。
|
|
||||||
代入する式はVim scriptとなっているので、計算も自由自在である。
|
|
||||||
ただしvimshellでは変数名の頭に必ず$を付けなければならない。コマ
|
|
||||||
ンドの終了ステータスは$$statusに書き込まれまる。$$で始まる変数
|
|
||||||
はvimshellの内部変数である。
|
|
||||||
|
|
||||||
sexe {command} *vimshell-special-sexe*
|
|
||||||
{command}を'shell'上で実行する。 vimshellでの起動に不具合がある
|
|
||||||
ときに使用する。 'shell'が適切に設定されていないと動作がおかし
|
|
||||||
くなる。Windows環境では一瞬DOS窓が表示されてしまう。
|
|
||||||
|
|
||||||
vexe {expression} *vimshell-special-vexe*
|
|
||||||
{expression}をVim Scriptの文として実行し、出力をvimshellバッ
|
|
||||||
ファに書き出す。コマンドの実行後はvimshellバッファへと戻って
|
|
||||||
こなければならない。もしこの規則が守られない場合、vimshellの
|
|
||||||
状態は保証されない。
|
|
||||||
vexeを直接使わなくても、:をプレフィクスとして実行しても同じ
|
|
||||||
意味となる。ただし、:をプレフィクスとして実行すると、
|
|
||||||
vimshellはメタ文字の解釈を一切行わない。
|
|
||||||
例:
|
|
||||||
>
|
|
||||||
:ls
|
|
||||||
<
|
|
||||||
==============================================================================
|
|
||||||
ALTER COMMAND *vimshell-alter-command*
|
|
||||||
|
|
||||||
kana氏の作成したaltercmd.vim[http://github.com/kana/vim-altercmd]というものがあ
|
|
||||||
る。これはCommand line-modeでのコマンド名においてのみ展開される特殊なエイリアス
|
|
||||||
である。普通のエイリアスよりも、誤爆しにくいという利点がある。
|
|
||||||
|
|
||||||
それをvimshell上にも実装した。vimshellにもエイリアス機能があるが、altercmd機能
|
|
||||||
を用いると、展開結果が一目で分かる。本家とは違い、altercmdの再帰的展開にも対応
|
|
||||||
している。
|
|
||||||
|
|
||||||
使用方法は、vimshellバッファ上で|vimshell#altercmd#define|を呼びだすだけである。
|
|
||||||
autocmd FileTypeを使用すると、楽に定義できるだろう。
|
|
||||||
>
|
|
||||||
autocmd FileType vimshell
|
|
||||||
\ call vimshell#altercmd#define('g', 'git')
|
|
||||||
<
|
|
||||||
==============================================================================
|
|
||||||
HOOK *vimshell-hook*
|
|
||||||
|
|
||||||
vimshellには関数がまだ存在しないが、決められたフック地点でVim Scriptの関数が呼
|
|
||||||
べるため、 vimshellの内部構造を熟知していれば、より柔軟な処理ができる。
|
|
||||||
|
|
||||||
次の例では、chpwdにフックを設定し、カレントディレクトリ移動時にlsを実行する
|
|
||||||
ようにしている。
|
|
||||||
>
|
|
||||||
autocmd FileType vimshell
|
|
||||||
\ call vimshell#hook#add('chpwd', 'my_chpwd', 'g:my_chpwd')
|
|
||||||
|
|
||||||
function! g:my_chpwd(args, context)
|
|
||||||
call vimshell#execute('ls')
|
|
||||||
endfunction
|
|
||||||
<
|
|
||||||
vimshellでは次のようなフック地点が用意されている。フック関数はargsという引数を
|
|
||||||
表す変数と、contextというコンテキスト情報を引数に取る。フィルターとして動作する、
|
|
||||||
一部のフック関数はcmdlineを第一引数に取る。
|
|
||||||
|
|
||||||
chpwd *vimshell-hook-chpwd*
|
|
||||||
vimshellのカレントディレクトリが変更されるときに呼びだされる。
|
|
||||||
第一引数は新しいカレントディレクトリである。
|
|
||||||
|
|
||||||
preparse *vimshell-hook-preparse*
|
|
||||||
エイリアスのパース前に呼びだされる。第一引数はcmdlineというコマ
|
|
||||||
ンドライン文字列で、戻り値は変更後のコマンドライン文字列である。
|
|
||||||
|
|
||||||
preexec *vimshell-hook-preexec*
|
|
||||||
エイリアスのパース後、コマンドの実行前に呼びだされる。第一引数
|
|
||||||
はcmdlineというコマンドライン文字列で、戻り値は変更後のコマンド
|
|
||||||
ライン文字列である。
|
|
||||||
|
|
||||||
postexec *vimshell-hook-postexec*
|
|
||||||
コマンドの実行後に呼びだされる。第一引数はcmdlineという実行した
|
|
||||||
コマンドライン文字列である。
|
|
||||||
|
|
||||||
emptycmd *vimshell-hook-emptycmd*
|
|
||||||
コマンド名が空のときに呼びだされる。第一引数はcmdlineというコマ
|
|
||||||
ンドライン文字列で、戻り値は変更後のコマンドライン文字列である。
|
|
||||||
|
|
||||||
notfound *vimshell-hook-notfound*
|
|
||||||
コマンドが存在しないときに呼びだされる。第一引数はcmdlineという
|
|
||||||
コマンドライン文字列で、戻り値は変更後のコマンドライン文字列で
|
|
||||||
ある。
|
|
||||||
|
|
||||||
preprompt *vimshell-hook-preprompt*
|
|
||||||
コマンド実行後、プロンプト表示前に呼びだされる。
|
|
||||||
|
|
||||||
preinput *vimshell-hook-preinput*
|
|
||||||
コマンド実行時において、ユーザーの入力後に呼びだされる。第一引
|
|
||||||
数はinputというユーザー入力文字列で、戻り値は変更後の入力文字列
|
|
||||||
である。普通|vimshell-internal-iexe|のバッファに使う。
|
|
||||||
|
|
||||||
postinput *vimshell-hook-postinput*
|
|
||||||
コマンド実行時において、ユーザーの入力がプロセスに処理された後
|
|
||||||
に呼びだされる。第一引数はinputというユーザー入力文字列である。
|
|
||||||
普通|vimshell-internal-iexe|のバッファに使う。
|
|
||||||
|
|
||||||
cmdlineを簡易的に解析するなら、|vimproc#parser#split_args()|か、
|
|
||||||
|vimproc#parser#split_args_through()|を使用する。この関数は引数に分割するコマン
|
|
||||||
ドライン文字列を取る。|vimproc#parser#split_args()|はクォート文字列を評価するが、
|
|
||||||
|vimproc#parser#split_args_through()|はクォート文字列をそのまま残す。この関数は
|
|
||||||
;や&&, ||で表される複合文やパイプ、リダイレクト記号をうまく解析できないことに
|
|
||||||
注意しなければならない。
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
TIPS *vimshell-tips*
|
|
||||||
ここでは、その他の便利機能について紹介する。
|
|
||||||
|
|
||||||
ディレクトリスタック *vimshell-tips-directory-stack*
|
|
||||||
vimshellでは、bashやzshのようなディレクトリスタックを完備してい
|
|
||||||
る。しかも何も設定せずにauto_pushdしてくれるので、pushdコマンド
|
|
||||||
は存在しない。ディレクトリスタックを参照するには
|
|
||||||
|vimshell-internal-dirs|コマンド、ディレクトリスタックから
|
|
||||||
|vimshell-internal-cd|するには |vimshell-internal-popd|コマンド
|
|
||||||
を使用する。他のシェルと同様に、"cd -"でも
|
|
||||||
|vimshell-internal-popd|と同じ動作になる。
|
|
||||||
|
|
||||||
auto_cd *vimshell-tips-auto_cd*
|
|
||||||
ディレクトリ名で実行すると、そのディレクトリに移動する。zshの機
|
|
||||||
能を移植した。例えば、..で上のディレクトリへ移動できる。 zshと
|
|
||||||
は違い、特に設定せずに使用できる。
|
|
||||||
|
|
||||||
ブロック *vimshell-tips-block*
|
|
||||||
ブロック構文もサポートしている。
|
|
||||||
>
|
|
||||||
vimshell% echo /hoge/piyo/{hoge,hogera}
|
|
||||||
-> /hoge/piyo/hoge /hoge/piyo/hogera
|
|
||||||
<
|
|
||||||
zshのような数値展開も実装している。
|
|
||||||
>
|
|
||||||
vimshell% echo {00..09}
|
|
||||||
-> 00 01 02 03 04 05 06 07 08 09
|
|
||||||
<
|
|
||||||
ワイルドカード *vimshell-tips-wildcard*
|
|
||||||
ワイルドカードも普通に使える。指定されたファイルが存在しない場
|
|
||||||
合、zshのようにエラーになる。
|
|
||||||
>
|
|
||||||
vimshell% ls *.htm
|
|
||||||
<
|
|
||||||
ワイルドカードの除外もサポートした。
|
|
||||||
>
|
|
||||||
vimshell% ls *~*.htm
|
|
||||||
<
|
|
||||||
'~'で区切ってパターンを記述することで、「パターンを除外したパターン」
|
|
||||||
という意味になる。
|
|
||||||
|
|
||||||
バッククオート *vimshell-tips-backquote*
|
|
||||||
コマンドの引数にコマンドの実行結果が使える。
|
|
||||||
>
|
|
||||||
vimshell% echo `ls`
|
|
||||||
<
|
|
||||||
Vim scriptの埋め込みもできる。
|
|
||||||
>
|
|
||||||
vimshell% echo `=3`
|
|
||||||
<
|
|
||||||
|
|
||||||
fakecygpty *vimshell-tips-fakecygpty*
|
|
||||||
fakecygptyとはKyotaro Horiguchiさんが開発した、Windowsのパイプ
|
|
||||||
とCygwinのptyを接続させて動作させるためのコマンドである。例えば
|
|
||||||
、次のコマンドでCygwinのsshと接続できる。
|
|
||||||
>
|
|
||||||
> fakecygpty ssh
|
|
||||||
<
|
|
||||||
Meadowのソースコードに含まれていて探すのが大変なので、私がソー
|
|
||||||
スコードを再配布している。
|
|
||||||
http://github.com/Shougo/fakecygpty
|
|
||||||
自分でコンパイルするには、Cygwin環境上で
|
|
||||||
>
|
|
||||||
$ gcc fakecygpty.c -o fakecygpty.exe
|
|
||||||
<
|
|
||||||
というコマンドを実行する。あとはfakecygptyを$PATHの通ったところ
|
|
||||||
に置けば準備完了である。
|
|
||||||
>
|
|
||||||
|
|
||||||
sudo *vimshell-tips-sudo*
|
|
||||||
vimshell Ver.9より、sudoはiexeやsudo内部コマンドを用いなくて
|
|
||||||
も、そのまま実行できるようになった。ただし、Windows環境で
|
|
||||||
sudoするためには、Windows環境ではsudo.exeが必要である。
|
|
||||||
http://bitbucket.org/wantora/sudo/wiki/Home
|
|
||||||
|
|
||||||
日本語の取り扱い *vimshell-tips-japanese*
|
|
||||||
'encoding'を自前で設定している環境(主にWindows)では、起動するコ
|
|
||||||
マンドとエンコーディングの設定が合わず、日本語の出力が文字化け
|
|
||||||
することがある。その場合、'termencoding'をコマンドのエンコーデ
|
|
||||||
ィングと揃えると文字化けは解消される。
|
|
||||||
Windows環境なら、"cp932"に設定すると良い。
|
|
||||||
さらに、コマンドによってはUTF-8で出力することがある。その場合、
|
|
||||||
exeやiexeの"--encoding"オプションを使用すると良い。
|
|
||||||
>
|
|
||||||
vimshell% iexe --encoding=utf8 ghci
|
|
||||||
<
|
|
||||||
==============================================================================
|
|
||||||
UNITE SOURCES *vimshell-unite-sources*
|
|
||||||
|
|
||||||
ここでは、vimshellに添付されている、|unite|用sourceについて解説を行なう。
|
|
||||||
|
|
||||||
*vimshell-unite-source-vimshell-history*
|
|
||||||
vimshell/history
|
|
||||||
vimshellのヒストリを候補とする。インタラクティブバッファでも
|
|
||||||
有効。候補はcompletion kindである。普通、mapping内で
|
|
||||||
|unite#sources#vimshell_history#start_complete()|を呼び出し
|
|
||||||
て使用する。
|
|
||||||
デフォルトでは、<C-l>がvimshell/historyの呼び出しとなる。
|
|
||||||
例:
|
|
||||||
>
|
|
||||||
inoremap <buffer> <expr><silent> <C-l> unite#sources#vimshell_history#start_complete()
|
|
||||||
<
|
|
||||||
|
|
||||||
source別アクション
|
|
||||||
|
|
||||||
vimshell/history *vimshell-unite-action-vimshell-history*
|
|
||||||
execute 履歴の実行
|
|
||||||
edit 履歴の編集
|
|
||||||
delete 履歴の削除
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
CREATE PLUGIN *vimshell-create-plugin*
|
|
||||||
|
|
||||||
vimshellのinternal commandとして、autoload/internal/以下にある*.vimファイルを読
|
|
||||||
み込むため、 自分でそこにプラグインファイルを追加することで、簡単にコマンドが追
|
|
||||||
加できる。
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
CHANGELOG *vimshell-changelog*
|
|
||||||
|
|
||||||
doc/vimshell.txtを参照せよ。
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:noet:fen:fdl=0:isk+=-:
|
|
||||||
@@ -1,2712 +0,0 @@
|
|||||||
*vimshell.txt* Powerful shell implemented by VimScript
|
|
||||||
|
|
||||||
Version: 9.0
|
|
||||||
Author : Shougo <Shougo.Matsu@gmail.com>
|
|
||||||
License: MIT license {{{
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of this software and associated documentation files (the
|
|
||||||
"Software"), to deal in the Software without restriction, including
|
|
||||||
without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
the following conditions:
|
|
||||||
The above copyright notice and this permission notice shall be included
|
|
||||||
in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
}}}
|
|
||||||
|
|
||||||
CONTENTS *vimshell-contents*
|
|
||||||
|
|
||||||
Introduction |vimshell-introduction|
|
|
||||||
Install |vimshell-install|
|
|
||||||
Interface |vimshell-interface|
|
|
||||||
Commands |vimshell-commands|
|
|
||||||
Variables |vimshell-variables|
|
|
||||||
Functions |vimshell-functions|
|
|
||||||
Key mappings |vimshell-key-mappings|
|
|
||||||
Vimshell buffer key mappings |vimshell-buffer-key-mappings|
|
|
||||||
Interactive buffer key mappings |vimshell-interactive-buffer-key-mappings|
|
|
||||||
Examples |vimshell-examples|
|
|
||||||
Internal Commands |vimshell-internal-commands|
|
|
||||||
Special Commands |vimshell-special-commands|
|
|
||||||
Alter Command |vimshell-alter-command|
|
|
||||||
Hook |vimshell-hook|
|
|
||||||
Tips |vimshell-tips|
|
|
||||||
Unite sources |vimshell-unite-sources|
|
|
||||||
Create plugin |vimshell-create-plugin|
|
|
||||||
Changelog |vimshell-changelog|
|
|
||||||
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
INTRODUCTION *vimshell-introduction*
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
USAGE *vimshell-usage*
|
|
||||||
|
|
||||||
You can start vimshell in ":VimShell". Because vimshell works similar with
|
|
||||||
a common shell, you may operate it intuitively. But vimshell perform the
|
|
||||||
path appointment in '/'. Vimshell is misunderstood with escape sequence when
|
|
||||||
you use '\' by Windows for a path and do not work.
|
|
||||||
|
|
||||||
ToDo
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
INSTALL *vimshell-install*
|
|
||||||
|
|
||||||
vimshell needs |vimproc|
|
|
||||||
http://github.com/Shougo/vimproc
|
|
||||||
|
|
||||||
Please install vimproc Ver.5.0(or later) before use vimshell.
|
|
||||||
And make proc.so
|
|
||||||
|
|
||||||
Make method:
|
|
||||||
|
|
||||||
* Mingw: >
|
|
||||||
$ make -f make_mingw.mak
|
|
||||||
|
|
||||||
* Mac OS X: >
|
|
||||||
$ make -f make_mac.mak
|
|
||||||
|
|
||||||
* Linux BSD: >
|
|
||||||
$ make -f make_gcc.mak
|
|
||||||
|
|
||||||
* Visual Studio: >
|
|
||||||
$ make -f make_msvc.mak
|
|
||||||
|
|
||||||
* Cygwin: >
|
|
||||||
$ make -f make_cygwin.mak
|
|
||||||
|
|
||||||
After compile, copy autoload/vimproc.vim and autoload/vimproc/parser.vim and
|
|
||||||
autoload/proc.so(or proc.dll) to autoload directory.
|
|
||||||
Note: "proc.dll" compiled in Cygwin environment is only Cygwin Vim. Can't use
|
|
||||||
in Windows Vim.
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
INTERFACE *vimshell-interface*
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
COMMANDS *vimshell-commands*
|
|
||||||
|
|
||||||
:VimShell *:VimShell*
|
|
||||||
Run vimshell.
|
|
||||||
|
|
||||||
:VimShellCreate {path} *:VimShellCreate*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
:VimShellTab {path} *:VimShellTab*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
:VimShellPop {path} *:VimShellPop*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
:VimShellExecute {command} *:VimShellExecute*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
:VimShellInteractive [{command}] *:VimShellInteractive*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
:VimShellTerminal {command} *:VimShellTerminal*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
:VimShellSendString {string} *:VimShellSendString*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
:VimShellSendBuffer {bufname} *:VimShellSendBuffer*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
VARIABLES *vimshell-variables*
|
|
||||||
|
|
||||||
g:vimshell_prompt *g:vimshell_prompt*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_user_prompt *g:vimshell_user_prompt*
|
|
||||||
Todo
|
|
||||||
>
|
|
||||||
let g:vimshell_user_prompt = 'getcwd()'
|
|
||||||
<
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_right_prompt *g:vimshell_right_prompt*
|
|
||||||
Todo
|
|
||||||
>
|
|
||||||
g:vimshell_no_default_keymappings *g:vimshell_no_default_keymappings*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_ignore_case *g:vimshell_ignore_case*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_smart_case *g:vimshell_smart_case*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_max_list *g:vimshell_max_list*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_use_ckw *g:vimshell_use_ckw*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_split_height *g:vimshell_split_height*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_temporary_directory *g:vimshell_temporary_directory*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_max_command_history *g:vimshell_max_command_history*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_max_directory_stack *g:vimshell_max_directory_stack*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_vimshrc_path *g:vimshell_vimshrc_path*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_escape_colors *g:vimshell_escape_colors*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_disable_escape_highlight *g:vimshell_disable_escape_highlight*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_cat_command *g:vimshell_cat_command*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_environment_term *g:vimshell_environment_term*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_split_command *g:vimshell_split_command*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_cd_command *g:vimshell_cd_command*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_no_save_history_commands *g:vimshell_no_save_history_commands*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_interactive_no_save_history_commands *g:vimshell_interactive_no_save_history_commands*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_interactive_update_time *g:vimshell_interactive_update_time*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_interactive_command_options *g:vimshell_interactive_command_options*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_interactive_interpreter_commands *g:vimshell_interactive_interpreter_commands*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_interactive_encodings *g:vimshell_interactive_encodings*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_interactive_no_echoback_commands *g:vimshell_interactive_no_echoback_commands*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_terminal_cursor *g:vimshell_terminal_cursor*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_terminal_commands *g:vimshell_terminal_commands*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_interactive_cygwin_commands *g:vimshell_interactive_cygwin_commands*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_interactive_cygwin_path *g:vimshell_interactive_cygwin_path*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_interactive_cygwin_home *g:vimshell_interactive_cygwin_home*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
g:vimshell_interactive_monochrome_commands *g:vimshell_interactive_monochrome_commands*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
KEY MAPPINGS *vimshell-key-mappings*
|
|
||||||
|
|
||||||
<Plug>(vimshell_split_switch) *<Plug>(vimshell_split_switch)*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
<Plug>(vimshell_split_create) *<Plug>(vimshell_split_create)*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
<Plug>(vimshell_switch) *<Plug>(vimshell_switch)*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
<Plug>(vimshell_create) *<Plug>(vimshell_create)*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
VIMSHELL BUFFER KEY MAPPINGS *vimshell-buffer-key-mappings*
|
|
||||||
|
|
||||||
Normal mode key mappings.
|
|
||||||
|
|
||||||
<Plug>(vimshell_enter) *<Plug>(vimshell_enter)*
|
|
||||||
Execute command line.
|
|
||||||
|
|
||||||
<Plug>(vimshell_previous_prompt) *<Plug>(vimshell_previous_prompt)*
|
|
||||||
Move to previous prompt from cursor.
|
|
||||||
|
|
||||||
<Plug>(vimshell_next_prompt) *<Plug>(vimshell_next_prompt)*
|
|
||||||
Move to next prompt from cursor.
|
|
||||||
|
|
||||||
<Plug>(vimshell_delete_previous_output) *<Plug>(vimshell_delete_previous_output)*
|
|
||||||
Delete previous output form cursor.
|
|
||||||
|
|
||||||
<Plug>(vimshell_paste_prompt) *<Plug>(vimshell_paste_prompt)*
|
|
||||||
Paste cursor line to last prompt.
|
|
||||||
|
|
||||||
<Plug>(vimshell_move_end_argument) *<Plug>(vimshell_move_end_argument)*
|
|
||||||
Move to command end argument.
|
|
||||||
|
|
||||||
<Plug>(vimshell_hide) *<Plug>(vimshell_hide)*
|
|
||||||
Hide vimshell buffer.
|
|
||||||
|
|
||||||
<Plug>(vimshell_exit) *<Plug>(vimshell_exit)*
|
|
||||||
Quit vimshell buffer.
|
|
||||||
|
|
||||||
<Plug>(vimshell_change_line) *<Plug>(vimshell_change_line)*
|
|
||||||
Change whole line.
|
|
||||||
|
|
||||||
<Plug>(vimshell_delete_line) *<Plug>(vimshell_delete_line)*
|
|
||||||
Delete whole line.
|
|
||||||
|
|
||||||
<Plug>(vimshell_hangup) *<Plug>(vimshell_hangup)*
|
|
||||||
Terminate command.
|
|
||||||
|
|
||||||
<Plug>(vimshell_insert_head) *<Plug>(vimshell_insert_head)*
|
|
||||||
<Plug>(vimshell_insert_enter) *<Plug>(vimshell_insert_enter)*
|
|
||||||
<Plug>(vimshell_append_enter) *<Plug>(vimshell_append_enter)*
|
|
||||||
<Plug>(vimshell_append_end) *<Plug>(vimshell_append_end)*
|
|
||||||
Enter insert mode.
|
|
||||||
|
|
||||||
<Plug>(vimshell_clear) *<Plug>(vimshell_clear)*
|
|
||||||
Redraw vimshell buffer.
|
|
||||||
|
|
||||||
<Plug>(vimshell_move_head) *<Plug>(vimshell_move_head)*
|
|
||||||
Move to head.
|
|
||||||
|
|
||||||
<Plug>(vimshell_execute_by_background) *<Plug>(vimshell_execute_by_background)*
|
|
||||||
Execute command by iexe.
|
|
||||||
|
|
||||||
Visual mode key mappings.
|
|
||||||
<Plug>(vimshell_select_previous_prompt) *v_<Plug>(vimshell_select_previous_prompt)*
|
|
||||||
Select previous prompt from cursor.
|
|
||||||
|
|
||||||
<Plug>(vimshell_select_next_prompt) *v_<Plug>(vimshell_select_next_prompt)*
|
|
||||||
Select next prompt from cursor.
|
|
||||||
|
|
||||||
Insert mode key mappings.
|
|
||||||
|
|
||||||
<Plug>(vimshell_command_complete) *i_<Plug>(vimshell_command_complete)*
|
|
||||||
Start completion.
|
|
||||||
|
|
||||||
<Plug>(vimshell_push_current_line) *i_<Plug>(vimshell_push_current_line)*
|
|
||||||
Push current line command to command line stack.
|
|
||||||
|
|
||||||
<Plug>(vimshell_insert_last_word) *i_<Plug>(vimshell_insert_last_word)*
|
|
||||||
Insert command last word.
|
|
||||||
|
|
||||||
<Plug>(vimshell_run_help) *i_<Plug>(vimshell_run_help)*
|
|
||||||
View internal command help.
|
|
||||||
|
|
||||||
<Plug>(vimshell_move_head) *i_<Plug>(vimshell_move_head)*
|
|
||||||
Move to line head.
|
|
||||||
|
|
||||||
<Plug>(vimshell_delete_backward_line) *i_<Plug>(vimshell_delete_backward_line)*
|
|
||||||
Delete backward line from cursor.
|
|
||||||
|
|
||||||
<Plug>(vimshell_delete_backward_word) *i_<Plug>(vimshell_delete_backward_word)*
|
|
||||||
Delete backward word from cursor.
|
|
||||||
|
|
||||||
<Plug>(vimshell_enter) *i_<Plug>(vimshell_enter)*
|
|
||||||
Execute command.
|
|
||||||
|
|
||||||
<Plug>(vimshell_interrupt) *i_<Plug>(vimshell_interrupt)*
|
|
||||||
Send interrupt.
|
|
||||||
|
|
||||||
<Plug>(vimshell_move_previous_window) *i_<Plug>(vimshell_move_previous_window)*
|
|
||||||
Move to previous window.
|
|
||||||
|
|
||||||
<Plug>(vimshell_delete_backward_char) *i_<Plug>(vimshell_delete_backward_char)*
|
|
||||||
<Plug>(vimshell_another_delete_backward_char) *i_<Plug>(vimshell_another_delete_backward_char)*
|
|
||||||
Delete backward char from cursor.
|
|
||||||
|
|
||||||
<Plug>(vimshell_delete_forward_line) *i_<Plug>(vimshell_delete_forward_line)*
|
|
||||||
Delete forward line from cursor.
|
|
||||||
|
|
||||||
<Plug>(vimshell_clear) *i_<Plug>(vimshell_clear)*
|
|
||||||
Redraw vimshell buffer.
|
|
||||||
|
|
||||||
<Plug>(vimshell_execute_by_background) *i_<Plug>(vimshell_execute_by_background)*
|
|
||||||
Execute command by iexe.
|
|
||||||
|
|
||||||
Normal mode default key mappings.
|
|
||||||
{lhs} {rhs}
|
|
||||||
-------- -----------------------------
|
|
||||||
<CR> <Plug>(vimshell_enter)
|
|
||||||
q <Plug>(vimshell_hide)
|
|
||||||
Q <Plug>(vimshell_exit)
|
|
||||||
<C-p> <Plug>(vimshell_previous_prompt)
|
|
||||||
<C-n> <Plug>(vimshell_next_prompt)
|
|
||||||
<C-k> <Plug>(vimshell_delete_previous_output)
|
|
||||||
<C-y> <Plug>(vimshell_paste_prompt)
|
|
||||||
E <Plug>(vimshell_move_end_argument)
|
|
||||||
cc <Plug>(vimshell_change_line)
|
|
||||||
dd <Plug>(vimshell_delete_line)
|
|
||||||
I <Plug>(vimshell_insert_head)
|
|
||||||
A <Plug>(vimshell_append_end)
|
|
||||||
i <Plug>(vimshell_insert_enter)
|
|
||||||
a <Plug>(vimshell_append_enter)
|
|
||||||
^ <Plug>(vimshell_move_head)
|
|
||||||
<C-c> <Plug>(vimshell_hangup)
|
|
||||||
<C-l> <Plug>(vimshell_clear)
|
|
||||||
<C-z> <Plug>(vimshell_execute_by_background)
|
|
||||||
|
|
||||||
Visual mode default key mappings.
|
|
||||||
{lhs} {rhs}
|
|
||||||
-------- -----------------------------
|
|
||||||
<C-p> <Plug>(vimshell_select_previous_prompt)
|
|
||||||
<C-n> <Plug>(vimshell_select_next_prompt)
|
|
||||||
|
|
||||||
Insert mode default key mappings.
|
|
||||||
{lhs} {rhs}
|
|
||||||
-------- -----------------------------
|
|
||||||
<CR> <Plug>(vimshell_enter)
|
|
||||||
<C-l> Start vimshell/history source
|
|
||||||
<TAB> <Plug>(vimshell_command_complete)
|
|
||||||
<C-a> <Plug>(vimshell_move_head)
|
|
||||||
<C-u> <Plug>(vimshell_delete_backward_line)
|
|
||||||
<C-w> <Plug>(vimshell_delete_backward_word)
|
|
||||||
<C-z> (while execute) <Plug>(vimshell_execute_by_background)
|
|
||||||
(other) <Plug>(vimshell_push_current_line)
|
|
||||||
<C-t> <Plug>(vimshell_insert_last_word)
|
|
||||||
<C-x><C-h> <Plug>(vimshell_run_help)
|
|
||||||
<C-c> <Plug>(vimshell_interrupt)
|
|
||||||
<C-h> <Plug>(vimshell_delete_backward_char)
|
|
||||||
<BS> <Plug>(vimshell_delete_backward_char)
|
|
||||||
<C-k> <Plug>(vimshell_delete_forward_line)
|
|
||||||
<C-x> <Plug>(vimshell_move_previous_window)
|
|
||||||
|
|
||||||
VIMSHELL INTERACTIVE BUFFER KEY MAPPINGS *vimshell-interactive-buffer-key-mappings*
|
|
||||||
|
|
||||||
Normal mode key mappings.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_execute_line) *<Plug>(vimshell_int_execute_line)*
|
|
||||||
Execute cursor line.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_previous_prompt) *<Plug>(vimshell_int_previous_prompt)*
|
|
||||||
Move to previous prompt from cursor.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_next_prompt) *<Plug>(vimshell_int_next_prompt)*
|
|
||||||
Move to next prompt from cursor.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_paste_prompt) *<Plug>(vimshell_int_paste_prompt)*
|
|
||||||
Paste cursor line to last prompt.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_hangup) *<Plug>(vimshell_int_hangup)*
|
|
||||||
Exit executing command.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_exit) *<Plug>(vimshell_int_exit)*
|
|
||||||
Exit interactive buffer.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_restart_command) *<Plug>(vimshell_int_restart_command)*
|
|
||||||
Restart command.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_change_line) *<Plug>(vimshell_int_change_line)*
|
|
||||||
Change whole line.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_delete_line) *<Plug>(vimshell_int_delete_line)*
|
|
||||||
Delete whole line.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_insert_enter) *<Plug>(vimshell_int_insert_enter)*
|
|
||||||
<Plug>(vimshell_int_insert_head) *<Plug>(vimshell_int_insert_head)*
|
|
||||||
<Plug>(vimshell_int_append_enter) *<Plug>(vimshell_int_append_enter)*
|
|
||||||
<Plug>(vimshell_int_append_end) *<Plug>(vimshell_int_append_end)*
|
|
||||||
Enter insert mode.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_clear) *<Plug>(vimshell_int_clear)*
|
|
||||||
Redraw interactive buffer.
|
|
||||||
|
|
||||||
Insert mode key mappings.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_move_head) *i_<Plug>(vimshell_int_move_head)*
|
|
||||||
Move to line head.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_delete_backward_line) *i_<Plug>(vimshell_int_delete_backward_line)*
|
|
||||||
Delete backward line from cursor.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_delete_backward_word) *i_<Plug>(vimshell_int_delete_backward_word)*
|
|
||||||
Delete backward word from cursor.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_execute_line) *i_<Plug>(vimshell_int_execute_line)*
|
|
||||||
Execute current line.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_delete_backward_char) *i_<Plug>(vimshell_int_delete_backward_char)*
|
|
||||||
<Plug>(vimshell_int_another_delete_backward_char) *i_<Plug>(vimshell_int_another_delete_backward_char)*
|
|
||||||
Delete backward character from cursor.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_send_input) *i_<Plug>(vimshell_int_send_input)*
|
|
||||||
Send user input.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_interrupt) *i_<Plug>(vimshell_int_interrupt)*
|
|
||||||
Send interrupt to command.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_command_complete) *i_<Plug>(vimshell_int_command_complete)*
|
|
||||||
Start completion.
|
|
||||||
|
|
||||||
<Plug>(vimshell_int_delete_forward_line) *i_<Plug>(vimshell_int_delete_forward_line)*
|
|
||||||
Delete forward line from cursor.
|
|
||||||
|
|
||||||
Normal mode default key mappings.
|
|
||||||
{lhs} {rhs}
|
|
||||||
-------- -----------------------------
|
|
||||||
<C-p> <Plug>(vimshell_int_previous_prompt)
|
|
||||||
<C-n> <Plug>(vimshell_int_next_prompt)
|
|
||||||
<CR> <Plug>(vimshell_int_execute_line)
|
|
||||||
<C-y> <Plug>(vimshell_int_paste_prompt)
|
|
||||||
<C-z> <Plug>(vimshell_int_restart_command)
|
|
||||||
<C-c> <Plug>(vimshell_int_hangup)
|
|
||||||
q <Plug>(vimshell_int_exit)
|
|
||||||
cc <Plug>(vimshell_int_change_line)
|
|
||||||
dd <Plug>(vimshell_int_delete_line)
|
|
||||||
I <Plug>(vimshell_int_insert_head)
|
|
||||||
A <Plug>(vimshell_int_append_end)
|
|
||||||
i <Plug>(vimshell_int_insert_enter)
|
|
||||||
a <Plug>(vimshell_int_append_enter)
|
|
||||||
<C-l> <Plug>(vimshell_int_clear)
|
|
||||||
|
|
||||||
Insert mode default key mappings.
|
|
||||||
{lhs} {rhs}
|
|
||||||
-------- -----------------------------
|
|
||||||
<C-h> <Plug>(vimshell_int_delete_backward_char)
|
|
||||||
<BS> <Plug>(vimshell_int_delete_backward_char)
|
|
||||||
<C-a> <Plug>(vimshell_int_move_head)
|
|
||||||
<C-u> <Plug>(vimshell_int_delete_backward_line)
|
|
||||||
<C-w> <Plug>(vimshell_int_delete_backward_word)
|
|
||||||
<C-k> <Plug>(vimshell_int_delete_forward_line)
|
|
||||||
<CR> <Plug>(vimshell_int_execute_line)
|
|
||||||
<C-c> <Plug>(vimshell_int_interrupt)
|
|
||||||
<C-l> Start vimshell/history source
|
|
||||||
<C-v> <Plug>(vimshell_int_send_input)
|
|
||||||
<C-n> <C-n>
|
|
||||||
<TAB> Select candidate or start completion
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
FUNCTIONS *vimshell-functions*
|
|
||||||
|
|
||||||
vimshell#hook#set({hook-point}, {func-list}) *vimshell#hook#set()*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
vimshell#hook#get({hook-point}) *vimshell#hook#get()*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
vimshell#hook#add({hook-point}, {hook-name}, {func}) *vimshell#hook#add()*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
vimshell#hook#remove({hook-point}, {hook-name}) *vimshell#hook#remove()*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
EXAMPLES *vimshell-examples*
|
|
||||||
>
|
|
||||||
let g:vimshell_user_prompt = 'fnamemodify(getcwd(), ":~")'
|
|
||||||
"let g:vimshell_right_prompt = 'vcs#info("(%s)-[%b]", "(%s)-[%b|%a]")'
|
|
||||||
let g:vimshell_enable_smart_case = 1
|
|
||||||
|
|
||||||
if has('win32') || has('win64')
|
|
||||||
" Display user name on Windows.
|
|
||||||
let g:vimshell_prompt = $USERNAME."% "
|
|
||||||
else
|
|
||||||
" Display user name on Linux.
|
|
||||||
let g:vimshell_prompt = $USER."% "
|
|
||||||
|
|
||||||
call vimshell#set_execute_file('bmp,jpg,png,gif', 'gexe eog')
|
|
||||||
call vimshell#set_execute_file('mp3,m4a,ogg', 'gexe amarok')
|
|
||||||
let g:vimshell_execute_file_list['zip'] = 'zipinfo'
|
|
||||||
call vimshell#set_execute_file('tgz,gz', 'gzcat')
|
|
||||||
call vimshell#set_execute_file('tbz,bz2', 'bzcat')
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Initialize execute file list.
|
|
||||||
let g:vimshell_execute_file_list = {}
|
|
||||||
call vimshell#set_execute_file('txt,vim,c,h,cpp,d,xml,java', 'vim')
|
|
||||||
let g:vimshell_execute_file_list['rb'] = 'ruby'
|
|
||||||
let g:vimshell_execute_file_list['pl'] = 'perl'
|
|
||||||
let g:vimshell_execute_file_list['py'] = 'python'
|
|
||||||
call vimshell#set_execute_file('html,xhtml', 'gexe firefox')
|
|
||||||
|
|
||||||
autocmd FileType vimshell
|
|
||||||
\ call vimshell#altercmd#define('g', 'git')
|
|
||||||
\| call vimshell#altercmd#define('i', 'iexe')
|
|
||||||
\| call vimshell#altercmd#define('l', 'll')
|
|
||||||
\| call vimshell#altercmd#define('ll', 'ls -l')
|
|
||||||
\| call vimshell#hook#add('chpwd', 'my_chpwd', 'g:my_chpwd')
|
|
||||||
|
|
||||||
function! g:my_chpwd(args, context)
|
|
||||||
call vimshell#execute('ls')
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
autocmd FileType int-* call s:interactive_settings()
|
|
||||||
function! s:interactive_settings()
|
|
||||||
endfunction
|
|
||||||
<
|
|
||||||
Todo
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
INTERNAL COMMANDS *vimshell-internal-commands*
|
|
||||||
|
|
||||||
Todo
|
|
||||||
|
|
||||||
Note: Todo
|
|
||||||
>
|
|
||||||
vimshell% echo hello | vim
|
|
||||||
<
|
|
||||||
|
|
||||||
bg [{option}...] {command} *vimshell-internal-bg*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
vimshell% ls&
|
|
||||||
<
|
|
||||||
Todo
|
|
||||||
|
|
||||||
--filetype = {filetype-name}
|
|
||||||
Todo
|
|
||||||
|
|
||||||
cd {directory-path} [{substitute-pattern}] *vimshell-internal-cd*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
clear *vimshell-internal-clear*
|
|
||||||
Clear display.
|
|
||||||
|
|
||||||
dirs [{max}] *vimshell-internal-dirs*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
echo [{argument}...] *vimshell-internal-echo*
|
|
||||||
print arguments.
|
|
||||||
|
|
||||||
eval {expression} *vimshell-internal-eval*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
exe [{option}...] {command} *vimshell-internal-exe*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
*vimshell-execute-options*
|
|
||||||
--encoding = {encoding-name} *vimshell-execute-options-encoding*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
exit *vimshell-internal-exit*
|
|
||||||
Exit vimshell buffer.
|
|
||||||
|
|
||||||
gcd [{directory-path}] *vimshell-internal-gcd*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
gendoc {command} {args} *vimshell-internal-gendoc*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
gexe {command} *vimshell-internal-gexe*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
h [{pattern}] *vimshell-internal-h*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
histdel {history-number} *vimshell-internal-histdel*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
history [{search-string}] *vimshell-internal-history*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
iexe [{options}...] {command} *vimshell-internal-iexe*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
Note:
|
|
||||||
Todo
|
|
||||||
|
|
||||||
less [{options}...] {command} *vimshell-internal-less*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
ls [{argument}...] *vimshell-internal-ls*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
mkcd {directory-name} *vimshell-internal-mkcd*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
nop *vimshell-internal-nop*
|
|
||||||
No operation.
|
|
||||||
|
|
||||||
open {filename} *vimshell-internal-open*
|
|
||||||
Open {filename} by associated application.
|
|
||||||
|
|
||||||
popd [{directory-stack-number}] *vimshell-internal-popd*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
pwd *vimshell-internal-pwd*
|
|
||||||
Print vimshell working directory.
|
|
||||||
|
|
||||||
repeat {cnt} {command} *vimshell-internal-repeat*
|
|
||||||
Execute {command} {cnt} times.
|
|
||||||
|
|
||||||
shell *vimshell-internal-shell*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
source {files} *vimshell-internal-source*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
texe [{options}...] {command} *vimshell-internal-texe*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
Note: Todo
|
|
||||||
|
|
||||||
|
|
||||||
time {command} *vimshell-internal-time*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
view [{options}...] {filenames}... *vimshell-internal-view*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
vi [{options}...] [{filenames}...] *vimshell-internal-vi*
|
|
||||||
Same as |vimshell-internal-vim|.
|
|
||||||
|
|
||||||
vim [{options}...] [{filenames}...] *vimshell-internal-vim*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
vimdiff {filename1} {filename2} *vimshell-internal-vimdiff*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
vimsh [{filename}] *vimshell-internal-vimsh*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
which {command} *vimshell-internal-which*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
whereis {command} *vimshell-internal-whereis*
|
|
||||||
Print {command} by full path.
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
SPECIAL COMMANDS *vimshell-special-commands*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
alias {alias-name} = {command} *vimshell-special-alias*
|
|
||||||
Todo
|
|
||||||
>
|
|
||||||
vimshell% alias echo=':echo "$$args"'
|
|
||||||
vimshell% alias echo2=':echo "$$args[1]"'
|
|
||||||
vimshell% alias echo3=':echo "$$args[2:]"'
|
|
||||||
<
|
|
||||||
galias {global-alias-name} = {command} *vimshell-internal-galias*
|
|
||||||
Todo
|
|
||||||
>
|
|
||||||
vimshell% galias G = '|grep'
|
|
||||||
vimshell% ls G hoge
|
|
||||||
<
|
|
||||||
let ${var-name} = {expression} *vimshell-special-let*
|
|
||||||
Todo
|
|
||||||
>
|
|
||||||
vimshell% let $Hoge = $hoge
|
|
||||||
<
|
|
||||||
sexe {command} *vimshell-special-sexe*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
vexe {expression} *vimshell-special-vexe*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
Example:
|
|
||||||
>
|
|
||||||
:ls
|
|
||||||
<
|
|
||||||
==============================================================================
|
|
||||||
ALTER COMMAND *vimshell-alter-command*
|
|
||||||
|
|
||||||
Todo
|
|
||||||
>
|
|
||||||
autocmd FileType vimshell
|
|
||||||
\ call vimshell#altercmd#define('g', 'git')
|
|
||||||
<
|
|
||||||
==============================================================================
|
|
||||||
HOOK *vimshell-hook*
|
|
||||||
|
|
||||||
Todo
|
|
||||||
>
|
|
||||||
autocmd FileType vimshell
|
|
||||||
\ call vimshell#hook#add('chpwd', 'my_chpwd', 'g:my_chpwd')
|
|
||||||
|
|
||||||
function! g:my_chpwd(args, context)
|
|
||||||
call vimshell#execute('ls')
|
|
||||||
endfunction
|
|
||||||
<
|
|
||||||
Todo
|
|
||||||
|
|
||||||
chpwd *vimshell-hook-chpwd*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
preparse *vimshell-hook-preparse*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
preexec *vimshell-hook-preexec*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
postexec *vimshell-hook-postexec*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
emptycmd *vimshell-hook-emptycmd*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
notfound *vimshell-hook-notfound*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
preprompt *vimshell-hook-preprompt*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
preinput *vimshell-hook-preinput*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
postinput *vimshell-hook-postinput*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
Todo
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
TIPS *vimshell-tips*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
directory stack *vimshell-tips-directory-stack*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
auto_cd *vimshell-tips-auto_cd*
|
|
||||||
Todo
|
|
||||||
|
|
||||||
block *vimshell-tips-block*
|
|
||||||
Todo
|
|
||||||
>
|
|
||||||
vimshell% echo /hoge/piyo/{hoge,hogera}
|
|
||||||
-> /hoge/piyo/hoge /hoge/piyo/hogera
|
|
||||||
<
|
|
||||||
Todo
|
|
||||||
>
|
|
||||||
vimshell% echo {00..09}
|
|
||||||
-> 00 01 02 03 04 05 06 07 08 09
|
|
||||||
<
|
|
||||||
wild card *vimshell-tips-wildcard*
|
|
||||||
Todo
|
|
||||||
>
|
|
||||||
vimshell% ls *.htm
|
|
||||||
<
|
|
||||||
Todo
|
|
||||||
>
|
|
||||||
vimshell% ls *~*.htm
|
|
||||||
<
|
|
||||||
Todo
|
|
||||||
|
|
||||||
backquote *vimshell-tips-backquote*
|
|
||||||
コマンドの引数にコマンドの実行結果が使える。
|
|
||||||
>
|
|
||||||
vimshell% echo `ls`
|
|
||||||
<
|
|
||||||
Vim scriptの埋め込みもできる。
|
|
||||||
>
|
|
||||||
vimshell% echo `=3`
|
|
||||||
<
|
|
||||||
|
|
||||||
fakecygpty *vimshell-tips-fakecygpty*
|
|
||||||
Todo
|
|
||||||
>
|
|
||||||
> fakecygpty ssh
|
|
||||||
<
|
|
||||||
Todo
|
|
||||||
http://github.com/Shougo/fakecygpty
|
|
||||||
>
|
|
||||||
$ gcc fakecygpty.c -o fakecygpty.exe
|
|
||||||
<
|
|
||||||
Todo
|
|
||||||
>
|
|
||||||
==============================================================================
|
|
||||||
UNITE SOURCES *vimshell-unite-sources*
|
|
||||||
|
|
||||||
Todo
|
|
||||||
|
|
||||||
*vimshell-unite-source-vimshell-history*
|
|
||||||
vimshell/history
|
|
||||||
Todo
|
|
||||||
|
|
||||||
Exmaple:
|
|
||||||
>
|
|
||||||
inoremap <buffer> <expr><silent> <C-l> unite#sources#vimshell_history#start_complete()
|
|
||||||
<
|
|
||||||
|
|
||||||
actions:
|
|
||||||
|
|
||||||
vimshell/history *vimshell-unite-action-vimshell-history*
|
|
||||||
execute Execute history
|
|
||||||
edit Edit history
|
|
||||||
delete Delete history.
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
CREATE PLUGIN *vimshell-create-plugin*
|
|
||||||
|
|
||||||
In this clause, I comment on a method to make plugin of vimshell. The
|
|
||||||
ability of vimshell will spread by creating plugin by yourself.
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
CHANGELOG *vimshell-changelog*
|
|
||||||
|
|
||||||
2011-10-05
|
|
||||||
- Improved vimshell#terminal#print().
|
|
||||||
|
|
||||||
2011-10-04
|
|
||||||
- Improved earthquake syntax.
|
|
||||||
- Fixed history execution.
|
|
||||||
- Improved buffering.
|
|
||||||
- Fixed vimshell#interactive#exit().
|
|
||||||
- Refactored internal commands.
|
|
||||||
- Added g:vimshell_use_terminal_command option.
|
|
||||||
- Improved shell internal command.
|
|
||||||
|
|
||||||
2011-10-03
|
|
||||||
- Fixed :VimShellExecute and :VimShellInteractive split behavior.
|
|
||||||
- Improved earthquake syntax.
|
|
||||||
|
|
||||||
2011-09-28
|
|
||||||
- Added time internal command.
|
|
||||||
|
|
||||||
2011-09-25
|
|
||||||
- Fixed tags.
|
|
||||||
|
|
||||||
2011-09-24
|
|
||||||
- Improved documentation.
|
|
||||||
- Refactored mappings.
|
|
||||||
|
|
||||||
2011-09-23
|
|
||||||
- Improved documentation.
|
|
||||||
|
|
||||||
2011-09-19
|
|
||||||
- vim and view internal commands allow multiple files.
|
|
||||||
- Refactored local variable names.
|
|
||||||
- Fixed interactive output.
|
|
||||||
|
|
||||||
2011-09-18
|
|
||||||
- Fixed hangup bugs.
|
|
||||||
|
|
||||||
2011-09-17
|
|
||||||
- Improved vimshell initialize.
|
|
||||||
- Fixed vimshell examples.
|
|
||||||
|
|
||||||
2011-09-16
|
|
||||||
- Fixed stopinsert.
|
|
||||||
- Improved g:vimshell_split_command behavior.
|
|
||||||
- Fixed complete files.
|
|
||||||
- Fixed iexe.
|
|
||||||
|
|
||||||
2011-09-15
|
|
||||||
- Added <Plug>(vimshell_execute_by_background) keymapping.
|
|
||||||
|
|
||||||
2011-09-14
|
|
||||||
- Fixed next prompt.
|
|
||||||
- Fixed password input.
|
|
||||||
- Improved Japanese documentation.
|
|
||||||
|
|
||||||
2011-09-13
|
|
||||||
- Fixed history error.
|
|
||||||
|
|
||||||
2011-09-12
|
|
||||||
- Fixed inputsecret() error.
|
|
||||||
- Fixed tempname() problem.
|
|
||||||
- Deleted sudo internal command.
|
|
||||||
- Improved exe behavior.
|
|
||||||
|
|
||||||
2011-09-09
|
|
||||||
- Improved execute continuation.
|
|
||||||
- Improved commands history.
|
|
||||||
- Fixed terminal.
|
|
||||||
- Improved texe.
|
|
||||||
|
|
||||||
2011-09-08
|
|
||||||
- Supported vimproc Ver.6
|
|
||||||
- Improved error message.
|
|
||||||
- Supported iexe error output.
|
|
||||||
- exe use pty.
|
|
||||||
- Improved interactive.
|
|
||||||
|
|
||||||
2011-09-07
|
|
||||||
- Ver.9.0 development started.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
ChangeLog 8.0
|
|
||||||
|
|
||||||
2011-09-06
|
|
||||||
- Fixed vimfiler function error.
|
|
||||||
|
|
||||||
2011-09-04
|
|
||||||
- Improved buffer name.
|
|
||||||
- Renamed save_dir.
|
|
||||||
|
|
||||||
2011-09-01
|
|
||||||
- Use unite#start_complete().
|
|
||||||
|
|
||||||
2011-08-31
|
|
||||||
- Fixed interactive history completion.
|
|
||||||
- Fixed command completion.
|
|
||||||
- Fixed manual completion error.
|
|
||||||
|
|
||||||
2011-08-29
|
|
||||||
- Improved :VimShellPop behavior.
|
|
||||||
|
|
||||||
2011-08-27
|
|
||||||
- Fixed for gdb.
|
|
||||||
- Improved vimshell/history source.
|
|
||||||
|
|
||||||
2011-08-24
|
|
||||||
- Fixed vimshell get prompt error.
|
|
||||||
|
|
||||||
2011-08-23
|
|
||||||
- Fixed execute command behavior.
|
|
||||||
- Set winfixheight.
|
|
||||||
- Improved vimshell history error.
|
|
||||||
- Improved updatetime.
|
|
||||||
|
|
||||||
2011-08-22
|
|
||||||
- Fixed parser.
|
|
||||||
|
|
||||||
2011-08-21
|
|
||||||
- Improved clear.
|
|
||||||
- Improved :VimShellPop.
|
|
||||||
|
|
||||||
2011-08-20
|
|
||||||
- Improved documentation.
|
|
||||||
|
|
||||||
2011-08-16
|
|
||||||
- Added is_listed attribute.
|
|
||||||
|
|
||||||
2011-08-14
|
|
||||||
- Fixed context error.
|
|
||||||
|
|
||||||
2011-08-13
|
|
||||||
- Deleted bcd internal command.
|
|
||||||
|
|
||||||
2011-08-12
|
|
||||||
- Fixed for complete and echodoc error.
|
|
||||||
- Fixed documentation.
|
|
||||||
|
|
||||||
2011-08-10
|
|
||||||
- Improved internal commands initialize.
|
|
||||||
- Added vi internal command.
|
|
||||||
- Improved open file mapping.
|
|
||||||
|
|
||||||
2011-08-09
|
|
||||||
- Improved vimshell switch.
|
|
||||||
|
|
||||||
2011-08-03
|
|
||||||
- Improved documentation.
|
|
||||||
|
|
||||||
2011-07-23
|
|
||||||
- Deleted obsolute option.
|
|
||||||
|
|
||||||
2011-07-22
|
|
||||||
- Fixed color table.
|
|
||||||
|
|
||||||
2011-07-21
|
|
||||||
- Fixed vimshell initialize error.
|
|
||||||
|
|
||||||
2011-07-20
|
|
||||||
- Fixed complete error in interactive buffer.
|
|
||||||
- Improved set variables.
|
|
||||||
- Implemented interrupt in interactive buffer.
|
|
||||||
- Improved interrupt in vimshell buffer.
|
|
||||||
|
|
||||||
2011-07-13
|
|
||||||
- Fixed clear bug.
|
|
||||||
|
|
||||||
2011-07-12
|
|
||||||
- Fixed :VimShellSendString error.
|
|
||||||
|
|
||||||
2011-07-11
|
|
||||||
- Fixed save interactive history.
|
|
||||||
|
|
||||||
2011-07-10
|
|
||||||
- Fixed cd internal command.
|
|
||||||
|
|
||||||
2011-07-06
|
|
||||||
- Improved open cursor file.
|
|
||||||
|
|
||||||
2011-07-05
|
|
||||||
- Improved open cursor file.
|
|
||||||
|
|
||||||
2011-07-04
|
|
||||||
- Added <Plug>(vimshell_move_head) mapping.
|
|
||||||
- Improved <Plug>(vimshell_previous_prompt) and <Plug>(vimshell_next_prompt)
|
|
||||||
|
|
||||||
2011-07-02
|
|
||||||
- Fixed preinput bug.
|
|
||||||
|
|
||||||
2011-07-01
|
|
||||||
- Improved escape sequences.
|
|
||||||
- Close popup if output.
|
|
||||||
- Improved interactive output.
|
|
||||||
|
|
||||||
2011-06-25
|
|
||||||
- Changed <Plug>(vimshell_paste_prompt) behavior.
|
|
||||||
|
|
||||||
2011-06-16
|
|
||||||
- Fixed open_file().
|
|
||||||
- Supported earthquake command.
|
|
||||||
- Added g:vimshell_interactive_monochrome_commands option.
|
|
||||||
|
|
||||||
2011-06-15
|
|
||||||
- Fixed execute_line().
|
|
||||||
- Improved vimshell description.
|
|
||||||
|
|
||||||
2011-06-14
|
|
||||||
- Fixed filename completion.
|
|
||||||
- Fixed colorscheme problem.
|
|
||||||
- Fixed :VimShellInteractive error.
|
|
||||||
|
|
||||||
2011-06-12
|
|
||||||
- Improved open cursor file.
|
|
||||||
|
|
||||||
2011-06-10
|
|
||||||
- Fixed vital error.
|
|
||||||
|
|
||||||
2011-06-08
|
|
||||||
- Fixed restart keymapping.
|
|
||||||
|
|
||||||
2011-06-04
|
|
||||||
- Fixed terminal print error.
|
|
||||||
|
|
||||||
2011-06-03
|
|
||||||
- Improved hooks.
|
|
||||||
- Added some hook functions.
|
|
||||||
|
|
||||||
2011-06-02
|
|
||||||
- Added postinput hook.
|
|
||||||
- Changed input hook to preinput hook.
|
|
||||||
- Improved iexe and texe description.
|
|
||||||
|
|
||||||
2011-06-01
|
|
||||||
- Improved hook.
|
|
||||||
- Added input hook.
|
|
||||||
- Fixed exit error.
|
|
||||||
|
|
||||||
2011-05-30
|
|
||||||
- Fixed vimshell update bug.
|
|
||||||
- Improved examples.
|
|
||||||
- Improved previous/next prompt mappings in interactive.
|
|
||||||
|
|
||||||
2011-05-29
|
|
||||||
- Improved iexe completion.
|
|
||||||
- Improved description.
|
|
||||||
- Added source internal command.
|
|
||||||
- Improved :VimShellSendString command.
|
|
||||||
|
|
||||||
2011-05-20
|
|
||||||
- Fixed vimshell error problem.
|
|
||||||
|
|
||||||
2011-05-18
|
|
||||||
- Fixed vimshell completion error.
|
|
||||||
- Fixed mappings error.
|
|
||||||
|
|
||||||
2011-05-17
|
|
||||||
- Use neocomplcache filename_complete.
|
|
||||||
|
|
||||||
2011-05-15
|
|
||||||
- Fixed conceal problem.
|
|
||||||
- Fixed quote error.
|
|
||||||
|
|
||||||
2011-05-14
|
|
||||||
- Fixed man.
|
|
||||||
|
|
||||||
2011-05-13
|
|
||||||
- Use system_gui().
|
|
||||||
- Use vimproc Ver.5.2.
|
|
||||||
|
|
||||||
2011-05-11
|
|
||||||
- Supported hash tag in termtter syntax.
|
|
||||||
|
|
||||||
2011-05-10
|
|
||||||
- Supported clojure.
|
|
||||||
|
|
||||||
2011-05-08
|
|
||||||
- Fixed set nocompatible bug.
|
|
||||||
|
|
||||||
2011-04-27
|
|
||||||
- Fixed vimshell history source.
|
|
||||||
|
|
||||||
2011-04-16
|
|
||||||
- Fixed execute command line bug.
|
|
||||||
- Improved filename completion.
|
|
||||||
- Improved complete position.
|
|
||||||
|
|
||||||
2011-04-12
|
|
||||||
- Improved history source.
|
|
||||||
|
|
||||||
2011-04-05
|
|
||||||
- Supported sbt in Windows.
|
|
||||||
|
|
||||||
2011-04-01
|
|
||||||
- Improved vimshell/history source.
|
|
||||||
- Fixed interactive command bug.
|
|
||||||
- Supported fsi interpreter.
|
|
||||||
- Improved unite source split direction.
|
|
||||||
|
|
||||||
2011-03-25
|
|
||||||
- Implemented unite highlight.
|
|
||||||
- Deleted g:vimshell_external_history_path option.
|
|
||||||
- Fixed delete action.
|
|
||||||
- Improved vimproc check.
|
|
||||||
- Fixed completion error when using neocomplcache.
|
|
||||||
- Deleted obsolute completefuncs.
|
|
||||||
- Added edit and execute actions.
|
|
||||||
- Improved default_action.
|
|
||||||
- Added unite source description.
|
|
||||||
- Refactoringed vimshell history.
|
|
||||||
|
|
||||||
2011-03-23
|
|
||||||
- Implemented vimshell history source.
|
|
||||||
|
|
||||||
2011-03-16
|
|
||||||
- Improved concealed highlight.
|
|
||||||
|
|
||||||
2011-03-14
|
|
||||||
- Deleted highlight oneline option.
|
|
||||||
|
|
||||||
2011-03-13
|
|
||||||
- Implemented &.
|
|
||||||
- Improved parser.
|
|
||||||
|
|
||||||
2011-03-08
|
|
||||||
- Improved concealed color.
|
|
||||||
|
|
||||||
2011-03-07
|
|
||||||
- Improved print.
|
|
||||||
- Improved virtual file.
|
|
||||||
- Implemented alias arguments.
|
|
||||||
|
|
||||||
2011-03-06
|
|
||||||
- Use conceal when possible.
|
|
||||||
- Fixed output error.
|
|
||||||
|
|
||||||
2011-03-05
|
|
||||||
- Fixed : parse.
|
|
||||||
- Improved vexe description.
|
|
||||||
|
|
||||||
2011-03-03
|
|
||||||
- Fixed cmdline error.
|
|
||||||
|
|
||||||
2011-03-02
|
|
||||||
- Save last executed command line.
|
|
||||||
|
|
||||||
2011-02-26
|
|
||||||
- Fixed error_line() and print_line().
|
|
||||||
- Fixed : parse.
|
|
||||||
- Changed q keymapping behavior.
|
|
||||||
|
|
||||||
2011-02-25
|
|
||||||
- Implemented Vim command execution(example :ls).
|
|
||||||
|
|
||||||
2011-02-24
|
|
||||||
- Improved error output.
|
|
||||||
|
|
||||||
2011-02-23
|
|
||||||
- Fixed output position bug.
|
|
||||||
- Improved position restore.
|
|
||||||
|
|
||||||
2011-02-22
|
|
||||||
- Improved interactive buffer update.
|
|
||||||
|
|
||||||
2011-02-16
|
|
||||||
- Improved termtter syntax.
|
|
||||||
|
|
||||||
2011-02-15
|
|
||||||
- Fixed kill.
|
|
||||||
|
|
||||||
2011-02-13
|
|
||||||
- Fixed less initialization.
|
|
||||||
|
|
||||||
2011-02-12
|
|
||||||
- Improved documentation.
|
|
||||||
|
|
||||||
2011-02-11
|
|
||||||
- Improved timeout.
|
|
||||||
|
|
||||||
2011-02-10
|
|
||||||
- Check ls command.
|
|
||||||
|
|
||||||
2011-01-28
|
|
||||||
- Fixed hook#call().
|
|
||||||
|
|
||||||
2011-01-27
|
|
||||||
- Fixed hook error.
|
|
||||||
|
|
||||||
2011-01-26
|
|
||||||
- Implemented postexec hook.
|
|
||||||
|
|
||||||
2011-01-22
|
|
||||||
- Fixed vimshell#print_line() error.
|
|
||||||
|
|
||||||
2011-01-19
|
|
||||||
- Fixed move head bug.
|
|
||||||
- Improved hooks.
|
|
||||||
- Fixed history execution bug.
|
|
||||||
- Catch hook error.
|
|
||||||
|
|
||||||
2011-01-17
|
|
||||||
- Fixed error message position.
|
|
||||||
|
|
||||||
2011-01-16
|
|
||||||
- Fixed vimshell#get_current_args() error.
|
|
||||||
- Fixed search cursor file.
|
|
||||||
|
|
||||||
2011-01-12
|
|
||||||
- Fixed English help.
|
|
||||||
|
|
||||||
2011-01-11
|
|
||||||
- Fixed for Vim 7.0 bug.
|
|
||||||
|
|
||||||
2011-01-08
|
|
||||||
- Improved vimproc error message.
|
|
||||||
|
|
||||||
2010-12-26
|
|
||||||
- Improved history output(Experimental).
|
|
||||||
|
|
||||||
2010-12-25
|
|
||||||
- Fixed :VimShellSendString.
|
|
||||||
- Supported maxima in Windows.
|
|
||||||
|
|
||||||
2010-12-24
|
|
||||||
- Improved usage.
|
|
||||||
- Fixed :VimShellExecute complete function.
|
|
||||||
|
|
||||||
2010-12-23
|
|
||||||
- Supported echodoc.
|
|
||||||
- Added gendoc command.
|
|
||||||
|
|
||||||
2010-12-14
|
|
||||||
- Implemented set winsize behavior.
|
|
||||||
|
|
||||||
2010-12-08
|
|
||||||
- Restored cd behavior.
|
|
||||||
|
|
||||||
2010-12-07
|
|
||||||
- Fixed less highlight.
|
|
||||||
- Improved delete highlight.
|
|
||||||
|
|
||||||
2010-12-06
|
|
||||||
- Changed <Plug>(vimshell_another_delete_backward_char) mapping.
|
|
||||||
|
|
||||||
2010-12-05
|
|
||||||
- Fixed cd command.
|
|
||||||
|
|
||||||
2010-11-17
|
|
||||||
- Improved less keymappings.
|
|
||||||
- Improved view internal command.
|
|
||||||
- Improved less internal command.
|
|
||||||
|
|
||||||
2010-11-16
|
|
||||||
- Supported directory_mru.
|
|
||||||
|
|
||||||
2010-11-07
|
|
||||||
- Improved modeline.
|
|
||||||
|
|
||||||
2010-11-04
|
|
||||||
- Added g:vimshell_cd_command option.
|
|
||||||
|
|
||||||
2010-11-03
|
|
||||||
- Changed <Plug>(vimshell_delete_previous_output) default mapping.
|
|
||||||
|
|
||||||
2010-10-30
|
|
||||||
- Added g:vimshell_interactive_no_echoback_commands option.
|
|
||||||
- Fixed echoback.
|
|
||||||
|
|
||||||
2010-10-28
|
|
||||||
- Fixed doc tags.
|
|
||||||
- Fixed terminal bug.
|
|
||||||
- Improved util.vim.
|
|
||||||
|
|
||||||
2010-10-26
|
|
||||||
- Fixed typo.
|
|
||||||
- Improved change current directory.
|
|
||||||
|
|
||||||
2010-10-21
|
|
||||||
- Fixed escape bug.
|
|
||||||
- Fixed filename execution.
|
|
||||||
- Check t:unite_buffer_dictionary.
|
|
||||||
|
|
||||||
2010-10-19
|
|
||||||
- Improved interactive update.
|
|
||||||
- Added g:vimshell_terminal_commands option.
|
|
||||||
|
|
||||||
2010-10-14
|
|
||||||
- Improved execute line.
|
|
||||||
- Fixed delete backward line.
|
|
||||||
- Stopinsert in vimdiff.
|
|
||||||
|
|
||||||
2010-10-12
|
|
||||||
- Fixed switch directory bug.
|
|
||||||
|
|
||||||
2010-10-08
|
|
||||||
- Improved window move.
|
|
||||||
- Improved vimshell switch.
|
|
||||||
|
|
||||||
2010-10-07
|
|
||||||
- Don't resolve link.
|
|
||||||
|
|
||||||
2010-10-05
|
|
||||||
- Fixed modifiable error.
|
|
||||||
|
|
||||||
2010-10-02
|
|
||||||
- Fixed typo.
|
|
||||||
- Fixed variables name.
|
|
||||||
|
|
||||||
2010-10-01
|
|
||||||
- Deleted completion imdisable().
|
|
||||||
- Improved iskeyword.
|
|
||||||
- Fixed clear bug.
|
|
||||||
|
|
||||||
2010-09-30
|
|
||||||
- Improved clear.
|
|
||||||
|
|
||||||
2010-09-29
|
|
||||||
- Added g:vimshell_enable_auto_slash.
|
|
||||||
- Fixed vimshell switch bug.
|
|
||||||
- Improved <Plug>(vimshell_switch).
|
|
||||||
- Fixed abbr in command completion.
|
|
||||||
|
|
||||||
2010-09-28
|
|
||||||
- Fixed <Plug>(vimshell_delete_backward_line) error.
|
|
||||||
- Fixed glob().
|
|
||||||
- Fixed conceal cursor.
|
|
||||||
- Fixed glob().
|
|
||||||
- Implemented insert / (experimental).
|
|
||||||
|
|
||||||
2010-09-27
|
|
||||||
- Improved filename completion.
|
|
||||||
- Fixed complete executable.
|
|
||||||
|
|
||||||
2010-09-23
|
|
||||||
- Fixed send_string().
|
|
||||||
- Fixed completion error.
|
|
||||||
- Fixed eof.
|
|
||||||
- Refactoringed vimshell completion.
|
|
||||||
|
|
||||||
2010-09-21
|
|
||||||
- Supported b:interactive.is_close_immediately for iexe buffers.
|
|
||||||
- Fixed typo.
|
|
||||||
- Merged from ujihisa.
|
|
||||||
- Changed completion keymappings.
|
|
||||||
- Changed clear keymappings.
|
|
||||||
|
|
||||||
2010-09-16
|
|
||||||
- Improved command split behavior.
|
|
||||||
|
|
||||||
2010-09-15
|
|
||||||
- Fixed japanese documentation.
|
|
||||||
|
|
||||||
2010-09-09
|
|
||||||
- Implemented <Plug>(vimshell_int_clear).
|
|
||||||
|
|
||||||
2010-09-05
|
|
||||||
- Ver.8.0 development started.
|
|
||||||
- Use vimproc Ver.5.
|
|
||||||
- Changed completion keymappings.
|
|
||||||
- Fixed for scala.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
ChangeLog 7.2
|
|
||||||
|
|
||||||
2010-09-04
|
|
||||||
- Deleted VimShellBang and VimShellRead commands.
|
|
||||||
|
|
||||||
2010-09-03
|
|
||||||
- Fixed cursor.
|
|
||||||
|
|
||||||
2010-09-02
|
|
||||||
- Improved insert enter.
|
|
||||||
- Improved interactive cursor.
|
|
||||||
- Improved interactive update.
|
|
||||||
|
|
||||||
2010-09-01
|
|
||||||
- Improved insert enter.
|
|
||||||
- Improved output.
|
|
||||||
|
|
||||||
2010-08-29
|
|
||||||
- Improved syntax.
|
|
||||||
|
|
||||||
2010-08-26
|
|
||||||
- Supported grep pattern.
|
|
||||||
- Added syntax highlight.
|
|
||||||
|
|
||||||
2010-08-25
|
|
||||||
- Fixed filename completion.
|
|
||||||
|
|
||||||
2010-08-23
|
|
||||||
- Fixed alias parse.
|
|
||||||
- Fixed texe error.
|
|
||||||
- Improved save variables.
|
|
||||||
|
|
||||||
2010-08-22
|
|
||||||
- Improved iexe mappings.
|
|
||||||
- Improved vimshell mappings.
|
|
||||||
- Improved get_cur_text.
|
|
||||||
- Fixed prompt bug.
|
|
||||||
|
|
||||||
2010-08-20
|
|
||||||
- Stop insert when execute exit.
|
|
||||||
|
|
||||||
2010-08-19
|
|
||||||
- Improved column.
|
|
||||||
- Fixed update.
|
|
||||||
- Improved interactive completion.
|
|
||||||
|
|
||||||
2010-08-18
|
|
||||||
- Fixed initialization error check.
|
|
||||||
- Fixed environment variables.
|
|
||||||
- Fixed output bug.
|
|
||||||
|
|
||||||
2010-08-17
|
|
||||||
- Implemented which internal command.
|
|
||||||
- Implemented wherereis internal command.
|
|
||||||
|
|
||||||
2010-08-15
|
|
||||||
* Ver.7.2 development started.
|
|
||||||
- Improved wildcard.
|
|
||||||
- Fixed wildcard parse.
|
|
||||||
- Implemented file modifier.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
ChangeLog 7.1:
|
|
||||||
2010-08-15
|
|
||||||
- Improved error detection.
|
|
||||||
|
|
||||||
2010-08-13
|
|
||||||
- Supported set syntax in bg and less command.
|
|
||||||
- Fixed less parse.
|
|
||||||
- Improved terminal highlight.
|
|
||||||
- Implemented user syntax.
|
|
||||||
- Fixed :VimShellBang and :VimShellRead error.
|
|
||||||
|
|
||||||
2010-08-08
|
|
||||||
- Improved redirection.
|
|
||||||
- Fixed conceal parse.
|
|
||||||
|
|
||||||
2010-08-07
|
|
||||||
- Improved vimshell#switch_shell().
|
|
||||||
- Implemented <Plug>(vimshell_move_previous_window).
|
|
||||||
|
|
||||||
2010-08-05
|
|
||||||
- Improved iexe completion.
|
|
||||||
- Improved right prompt.
|
|
||||||
- Improved cursor word check.
|
|
||||||
- Fixed delete line bug.
|
|
||||||
- Improved change line.
|
|
||||||
- Improved process exists check.
|
|
||||||
- No change $SHELL.
|
|
||||||
- Improved default settings.
|
|
||||||
|
|
||||||
2010-08-04
|
|
||||||
- Improved send_string().
|
|
||||||
- Check interactive command.
|
|
||||||
- Implemented print exit value.
|
|
||||||
|
|
||||||
2010-08-03
|
|
||||||
- Changed history mappings.
|
|
||||||
- Improved mappings name.
|
|
||||||
- Fixed conditional code bug.
|
|
||||||
- Ignore ** pattern when completion.
|
|
||||||
|
|
||||||
2010-08-02
|
|
||||||
- Implemented interactive command completion.
|
|
||||||
- Improved mappings.
|
|
||||||
- Improved send string.
|
|
||||||
- Fixed col.
|
|
||||||
- Fixed filename completion.
|
|
||||||
|
|
||||||
2010-08-01
|
|
||||||
- Deleted interactive command complete.
|
|
||||||
- Deleted terminal filter.
|
|
||||||
|
|
||||||
2010-07-31
|
|
||||||
- Fixed pipe parse bug.
|
|
||||||
- Added less internal command.
|
|
||||||
- Improved buffer name.
|
|
||||||
- Implemented <Plug>(vimshell_less_next_half_screen).
|
|
||||||
- Fixed tags error.
|
|
||||||
|
|
||||||
2010-07-30
|
|
||||||
- Set wrap.
|
|
||||||
- Improved <Plug>(vimshell_clear).
|
|
||||||
- Fixed h internal command.
|
|
||||||
- Implemented <Plug>(vimshell_select_previous_prompt) and <Plug>(vimshell_select_next_prompt) mappings.
|
|
||||||
|
|
||||||
2010-07-27
|
|
||||||
- Improved documentation.
|
|
||||||
- Fixed s:send_region().
|
|
||||||
- Fixed execute continuation.
|
|
||||||
|
|
||||||
2010-07-26
|
|
||||||
- Fixed documentation.
|
|
||||||
- Supported conceal feature in Vim 7.3.
|
|
||||||
|
|
||||||
2010-07-25
|
|
||||||
- Fixed error print.
|
|
||||||
- Added g:vimshell_interactive_interpreter_commands option.
|
|
||||||
- Fixed texe filetype.
|
|
||||||
- Improved interpreter commands.
|
|
||||||
- Improved :VimShellInteractive, :VimshellTerminal, :VimShellExecute behavior.
|
|
||||||
- Fixed get type.
|
|
||||||
- Implemented <Plug>(vimshell_interrupt).
|
|
||||||
- Fixed don't call preexec bug.
|
|
||||||
- Improved vimshell#system().
|
|
||||||
- Improved vimshell#set_dictionary_helper().
|
|
||||||
|
|
||||||
2010-07-24
|
|
||||||
- Fixed caching check.
|
|
||||||
- Implemented asyncronous exe.
|
|
||||||
- Fixed :VimShellInteractive, :VimshellTerminal, :VimShellExecute error.
|
|
||||||
- Clear previous highlight.
|
|
||||||
|
|
||||||
2010-07-23
|
|
||||||
- Implemented g:vimshell_vcs_print_null option.
|
|
||||||
- Implemented timeout in vcs.
|
|
||||||
- Improved documentation.
|
|
||||||
- Improved drawing character set.
|
|
||||||
- Improved scroll down.
|
|
||||||
- Implemented wrap around bs.
|
|
||||||
- Implemented key mappings helper function.
|
|
||||||
- Fixed default mappings bug.
|
|
||||||
|
|
||||||
2010-07-22
|
|
||||||
- Improved search cursor file.
|
|
||||||
- Added :VimShellSendBuffer command.
|
|
||||||
- Changed terminal filetype.
|
|
||||||
- Improved multibyte.
|
|
||||||
- Optimized escape sequence.
|
|
||||||
- Improved scroll region.
|
|
||||||
- Implemented reset escape sequence.
|
|
||||||
- Improved interactive.
|
|
||||||
- Fixed expand alias.
|
|
||||||
- Improved parser.
|
|
||||||
|
|
||||||
2010-07-21
|
|
||||||
- Improved initialize autoload.
|
|
||||||
|
|
||||||
2010-07-18
|
|
||||||
- Fixed <Plug>(vimshell_int_send_input) error.
|
|
||||||
|
|
||||||
2010-07-17
|
|
||||||
- Improved killed message.
|
|
||||||
- Implemented pipe.
|
|
||||||
- Optimized head match.
|
|
||||||
- Improved print error.
|
|
||||||
|
|
||||||
2010-07-15
|
|
||||||
- Improved tilde substitution.
|
|
||||||
|
|
||||||
2010-07-14
|
|
||||||
- Changed list and wrap settings.
|
|
||||||
|
|
||||||
2010-07-13
|
|
||||||
- Improved terminal update.
|
|
||||||
- Fixed scrolling region.
|
|
||||||
|
|
||||||
2010-07-12
|
|
||||||
- Fixed history count.
|
|
||||||
- Fixed for neocomplcache Ver.5.1.
|
|
||||||
- Improved eskk and vimproc check.
|
|
||||||
- Improved output check.
|
|
||||||
- Fixed 256 colors highlight bug.
|
|
||||||
- Implemented magic equal completion.
|
|
||||||
- Implemented change cursor shape.
|
|
||||||
- Added g:vimshell_terminal_cursor.
|
|
||||||
- Added some keys.
|
|
||||||
- Implemented multibyte cursor move.
|
|
||||||
|
|
||||||
2010-07-11
|
|
||||||
- ReFixed listchars.
|
|
||||||
- Improved highlight.
|
|
||||||
- Improved g:vimshell_escape_colors.
|
|
||||||
- Improved output check.
|
|
||||||
|
|
||||||
2010-07-10
|
|
||||||
- Fixed listchars.
|
|
||||||
|
|
||||||
2010-07-09
|
|
||||||
- Fixed interactive position.
|
|
||||||
- Fixed output bug.
|
|
||||||
- Fixed interactive history error.
|
|
||||||
- Improved texe update.
|
|
||||||
- Fixed iexe execute bug.
|
|
||||||
- Fixed texe mappings.
|
|
||||||
- Fixed some error.
|
|
||||||
- Added <Plug>(vimshell_term_execute_line) mapping.
|
|
||||||
- Improved listchars.
|
|
||||||
- Fixed command line completion.
|
|
||||||
- Fixed initialize bug.
|
|
||||||
- Deleted screen internal command.
|
|
||||||
- Improved commands.
|
|
||||||
- Improved args complete.
|
|
||||||
- Improved helper function name.
|
|
||||||
- Improved internal helper function.
|
|
||||||
|
|
||||||
2010-07-07
|
|
||||||
* Ver.7.1 development started.
|
|
||||||
- Fixed documentation.
|
|
||||||
- Using dictionary.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
ChangeLog 7.0:
|
|
||||||
2010-07-07
|
|
||||||
- Fixed auto completion bug.
|
|
||||||
- Improved :VimShellInteractive and :VimShellExecute and :VimShellTerminal commands.
|
|
||||||
- Improved termtter syntax.
|
|
||||||
|
|
||||||
2010-07-06
|
|
||||||
- Fixed directory compltion bug.
|
|
||||||
|
|
||||||
2010-07-05
|
|
||||||
- Improved texe update.
|
|
||||||
|
|
||||||
2010-07-04
|
|
||||||
- Improved history.
|
|
||||||
- Added g:vimshell_external_history_path option.
|
|
||||||
- Improved history and h command.
|
|
||||||
- Highlights history output.
|
|
||||||
- Implemented texe completion.
|
|
||||||
- Improved commands completion.
|
|
||||||
- Check window size.
|
|
||||||
|
|
||||||
2010-07-03
|
|
||||||
- Improved texe update.
|
|
||||||
- Fixed terminal clear bug.
|
|
||||||
- Improved escape highlight.
|
|
||||||
- Added g:vimshell_disable_escape_highlight option.
|
|
||||||
- Detect g:neocomplcache_enable_auto_select option.
|
|
||||||
|
|
||||||
2010-07-02
|
|
||||||
- Set $COLUMNS and $LINES.
|
|
||||||
- Set $VIMSHELL_TERM.
|
|
||||||
- Added g:vimshell_environment_term option.
|
|
||||||
- Improved interactive history.
|
|
||||||
- Set nomodifiable in texe.
|
|
||||||
- Implemented send input.
|
|
||||||
- Implemented texe auto update.
|
|
||||||
|
|
||||||
2010-07-01
|
|
||||||
- Added :VimShellTerminal command.
|
|
||||||
- Improved split window.
|
|
||||||
- Fixed <Plug>(vimshell_clear) bug.
|
|
||||||
- Improved texe.
|
|
||||||
- Fixed escape error in texe.
|
|
||||||
- Fixed initial output in texe.
|
|
||||||
- Supported scroll.
|
|
||||||
|
|
||||||
2010-06-30
|
|
||||||
- Improved cursor move.
|
|
||||||
|
|
||||||
2010-06-29
|
|
||||||
- Fixed texe update.
|
|
||||||
|
|
||||||
2010-06-28
|
|
||||||
- Fixed repeat error.
|
|
||||||
- Refactoringed interactive.
|
|
||||||
- Improved update timing.
|
|
||||||
- Fixed print error.
|
|
||||||
- Improved <Plug>(vimshell_int_execute_line) behavior.
|
|
||||||
- Fixed print bug.
|
|
||||||
- Merged hamaco's change.
|
|
||||||
- Fixed dirs and bcd and clear error.
|
|
||||||
- Fixed open cursor file.
|
|
||||||
- Fixed cursor position in texe.
|
|
||||||
|
|
||||||
2010-06-27
|
|
||||||
- Added g:vimshell_split_command option.
|
|
||||||
- Improved terminal mappings.
|
|
||||||
|
|
||||||
2010-06-26
|
|
||||||
- Fixed output for gosh.
|
|
||||||
|
|
||||||
2010-06-25
|
|
||||||
- Improved mappings.
|
|
||||||
- Changed background filetype.
|
|
||||||
- Implemented change title escape sequence.
|
|
||||||
- Improved terminal information.
|
|
||||||
- Added g:vimshell_interactive_no_save_history_commands option.
|
|
||||||
- Fixed append history.
|
|
||||||
- Implemented few escape sequences.
|
|
||||||
- Implemented texe.
|
|
||||||
|
|
||||||
2010-06-24
|
|
||||||
- Fixed auto update.
|
|
||||||
|
|
||||||
2010-06-22
|
|
||||||
- Improved gexe.
|
|
||||||
- Improved iexe filetype.
|
|
||||||
- Improved command completion.
|
|
||||||
- Fixed directory stack completion.
|
|
||||||
- Added g:vimshell_interactive_encodings option.
|
|
||||||
- Changed g:vimshell_history_max_size as g:vimshell_max_command_history.
|
|
||||||
- Added g:vimshell_max_directory_stack option.
|
|
||||||
- Improved append history.
|
|
||||||
- Improved popd and cd.
|
|
||||||
|
|
||||||
2010-06-21
|
|
||||||
- Fixed command completion bug.
|
|
||||||
- Added fakecygpty description.
|
|
||||||
|
|
||||||
2010-06-20
|
|
||||||
- Use vimproc Ver.4.1.
|
|
||||||
- Added g:vimshell_interactive_command_options and g:vimshell_interactive_cygwin_commands.
|
|
||||||
- Added g:vimshell_interactive_cygwin_path and g:vimshell_interactive_cygwin_home.
|
|
||||||
- Improved vimproc check.
|
|
||||||
- Revised help file.
|
|
||||||
|
|
||||||
2010-06-19
|
|
||||||
- Improved get cur_text.
|
|
||||||
- Fixed filename completion bug.
|
|
||||||
- Fixed PATH_SEPARATOR error.
|
|
||||||
- Fixed command complete.
|
|
||||||
|
|
||||||
2010-06-18
|
|
||||||
- Fixed expand glob bug.
|
|
||||||
- Improved escape filter.
|
|
||||||
- Added g:vimshell_cat_command option.
|
|
||||||
- Refactoringed.
|
|
||||||
- Improved imdisable.
|
|
||||||
- Fixed fatal print bug.
|
|
||||||
- Fixed cdpath complete.
|
|
||||||
|
|
||||||
2010-06-16
|
|
||||||
- Improved vimshell#complete#helper#files() and vimshell#complete#helper#cdpath_directories().
|
|
||||||
- Improved highlight sequences.
|
|
||||||
- Fixed print_prompt() bug.
|
|
||||||
- Implemented delete_backword_char escape sequence.
|
|
||||||
- Added some escape sequences support.
|
|
||||||
- Improved echoback check.
|
|
||||||
|
|
||||||
2010-06-15
|
|
||||||
- Improved interactive update.
|
|
||||||
- Optimized escape sequence.
|
|
||||||
- Optimized highlight escape sequence.
|
|
||||||
- Improved highlight escape sequence.
|
|
||||||
- Improved skip prompt.
|
|
||||||
- Fixed context bug.
|
|
||||||
- Fixed window split bug.
|
|
||||||
- Fixed keyword filter error.
|
|
||||||
- Fixed escape parse bug.
|
|
||||||
|
|
||||||
2010-06-14
|
|
||||||
- Overwrite text in vimshell#terminal#print().
|
|
||||||
- Changed hook specification.
|
|
||||||
- Improved parse alias.
|
|
||||||
- Deleted auto_popd.
|
|
||||||
- Implemented vimshell#hook#get().
|
|
||||||
|
|
||||||
2010-06-13
|
|
||||||
- Fixed vimsh error.
|
|
||||||
- Improved print_prompt() behavior.
|
|
||||||
- Deleted hide internal command.
|
|
||||||
- Improved error message.
|
|
||||||
- Improved escape sequence.
|
|
||||||
|
|
||||||
2010-06-12
|
|
||||||
- Added <Plug>(vimshell_change_line) and <Plug>(vimshell_delete_line) keymappings.
|
|
||||||
- Improved auto update.
|
|
||||||
- Added <Plug>(vimshell_int_delete_word) and <Plug>(vimshell_insert_head) keymappings.
|
|
||||||
- Refactoringed mappings.
|
|
||||||
- Set $EDITOR to cat.
|
|
||||||
- Detect blocked time.
|
|
||||||
- Improved another <Plug>(vimshell_another_delete_backword_char).
|
|
||||||
- Improved popd.
|
|
||||||
- Implemented popd completion.
|
|
||||||
- Optimized filter.
|
|
||||||
- Supported symbolic link and Win32 shortcut.
|
|
||||||
- Improved resolve.
|
|
||||||
|
|
||||||
2010-06-11
|
|
||||||
- Improved undo.
|
|
||||||
- Changed <Plug>(vimshell_int_restart_command) default keymappings.
|
|
||||||
|
|
||||||
2010-06-10
|
|
||||||
- Improved iskeyword for altercmd.
|
|
||||||
- Improved skk.vim check.
|
|
||||||
- Fixed <Plug>(vimshell_int_restart_command) command.
|
|
||||||
|
|
||||||
2010-06-09
|
|
||||||
- Fixed auto update and escape sequence error bug.
|
|
||||||
- Fixed change position bug when auto update.
|
|
||||||
|
|
||||||
2010-06-08
|
|
||||||
- Call explorer in vim and view.
|
|
||||||
|
|
||||||
2010-06-07
|
|
||||||
- Optimized control sequences check.
|
|
||||||
- Refactoringed terminal functions.
|
|
||||||
- Fixed <C-g>u bug.
|
|
||||||
|
|
||||||
2010-06-06
|
|
||||||
- Fixed escape bug.
|
|
||||||
- Fixed update cursor move bug.
|
|
||||||
- Improved output routine.
|
|
||||||
- Improved highlight.
|
|
||||||
- Added some escape sequence functions.
|
|
||||||
|
|
||||||
2010-06-04
|
|
||||||
- Improved URL open in iexe.
|
|
||||||
- Improved iexe buffer update.
|
|
||||||
- Improved open file in vimshell buffer.
|
|
||||||
- Improved append history timing.
|
|
||||||
|
|
||||||
2010-06-01
|
|
||||||
- Fixed error when exe.
|
|
||||||
- Fixed popd error.
|
|
||||||
|
|
||||||
2010-05-30
|
|
||||||
- Improved update iexe buffer.
|
|
||||||
|
|
||||||
2010-05-30
|
|
||||||
- Improved echoback.
|
|
||||||
- Improved multiline input.
|
|
||||||
- Improved Japanese help.
|
|
||||||
- sudo supported Windows.
|
|
||||||
- Implemented interactive history complete.
|
|
||||||
- Added g:vimshell_no_save_history_programs variable.
|
|
||||||
- Added g:vimshell_interactive_update_time variable.
|
|
||||||
- Improved update iexe buffer.
|
|
||||||
- Fixed prompt history bug.
|
|
||||||
|
|
||||||
2010-05-29
|
|
||||||
- Improved run help.
|
|
||||||
- Check exists('*SkkDisable').
|
|
||||||
- Improved dummy move in iexe.
|
|
||||||
|
|
||||||
2010-05-28
|
|
||||||
- Disable ime when execute <Plug>(vimshell_int_execute_line).
|
|
||||||
- Supported eskk.vim.
|
|
||||||
|
|
||||||
2010-05-26
|
|
||||||
- Fixed eval back quote.
|
|
||||||
|
|
||||||
2010-05-25
|
|
||||||
- Improved iexe update.
|
|
||||||
|
|
||||||
2010-05-24
|
|
||||||
- Improved open.
|
|
||||||
- Improved vimshell#system().
|
|
||||||
- Set interactive filetype when iexe buffer is initialized.
|
|
||||||
- Added <Plug>(vimshell_interactive_another_delete_backword_char) <Plug>(vimshell_delete_backword_char) and <Plug>(vimshell_another_delete_backword_char) mappings.
|
|
||||||
- Fixed error.
|
|
||||||
|
|
||||||
2010-05-23
|
|
||||||
- Fixed cd error.
|
|
||||||
- Fixed <C-e> behavior in iexe.
|
|
||||||
- Improved interactive complete.
|
|
||||||
- Improved alias parse.
|
|
||||||
- Added :VimShellRead command.
|
|
||||||
|
|
||||||
2010-05-19
|
|
||||||
- Fixed error in output check.
|
|
||||||
- Fixed output.
|
|
||||||
- Improved error line.
|
|
||||||
|
|
||||||
2010-05-18
|
|
||||||
- Added :VimShellBang command.
|
|
||||||
- Fixed output check error.
|
|
||||||
- Improved output check.
|
|
||||||
- Improved autocmd.
|
|
||||||
|
|
||||||
2010-05-15
|
|
||||||
* Improved output check.
|
|
||||||
* Improved Cygwin detect.
|
|
||||||
|
|
||||||
2010-05-14
|
|
||||||
* Improved disable bell.
|
|
||||||
|
|
||||||
2010-05-13
|
|
||||||
* Improved environment detect.
|
|
||||||
* Deleted g:vimshell_history_path option.
|
|
||||||
* Added g:vimshell_temporary_directory option.
|
|
||||||
* Revised help file.
|
|
||||||
* Fixed h bug.
|
|
||||||
* Changed history path.
|
|
||||||
|
|
||||||
2010-05-11
|
|
||||||
* Changed variables name.
|
|
||||||
|
|
||||||
2010-05-10
|
|
||||||
* Fixed error in output check.
|
|
||||||
* Improved :VimShellSendString.
|
|
||||||
|
|
||||||
2010-05-09
|
|
||||||
* vimshell disables bell.
|
|
||||||
* Fixed <CR> bug in iexe.
|
|
||||||
* Added <Plug>(vimshell_interactive_restart_command) mapping.
|
|
||||||
* Improved :VimShellSendString.
|
|
||||||
* Improved highlight clear.
|
|
||||||
|
|
||||||
2010-05-05
|
|
||||||
* Improved encoding.
|
|
||||||
* sexe is special command.
|
|
||||||
* Added <Plug>(vimshell_exit) mapping.
|
|
||||||
* Improved exit and open.
|
|
||||||
|
|
||||||
2010-05-04
|
|
||||||
* Improved system().
|
|
||||||
|
|
||||||
2010-05-02
|
|
||||||
* Improved galias and alias parse.
|
|
||||||
* Implemented vimshell#set_alias() and vimshell#set_galias().
|
|
||||||
* Fixed wildcard.
|
|
||||||
* Fixed convert encoding.
|
|
||||||
|
|
||||||
2010-05-01
|
|
||||||
* Fixed alias parse bug.
|
|
||||||
* Deleted obsolute mappings.
|
|
||||||
* Implemented some escape sequence functions.
|
|
||||||
|
|
||||||
2010-04-30
|
|
||||||
* Improved interactive keymappings.
|
|
||||||
* Improved interactive behavior.
|
|
||||||
* Fixed bg bug.
|
|
||||||
* Ignore escape sequences.
|
|
||||||
* Improved highlight.
|
|
||||||
|
|
||||||
2010-04-27
|
|
||||||
* Fixed vimshell#print().
|
|
||||||
* Improved g:vimshell_no_default_keymappings.
|
|
||||||
* Nestable vexe.
|
|
||||||
* Deleted g:VimShell_MaxKeywordWidth.
|
|
||||||
* Fixed bcd bugs.
|
|
||||||
|
|
||||||
2010-04-26
|
|
||||||
* Improved auto complete behavior in iexe buffer.
|
|
||||||
|
|
||||||
2010-04-25
|
|
||||||
* vimshell#execute returns exit status.
|
|
||||||
* Improved prompt check.
|
|
||||||
* Added vimshell#version().
|
|
||||||
* Fixed iexe args.
|
|
||||||
* Deleted g:VimShell_EnableInteractive.
|
|
||||||
|
|
||||||
2010-04-24
|
|
||||||
* Fixed prompt check error.
|
|
||||||
* Fixed mapping <CR>.
|
|
||||||
|
|
||||||
2010-04-20
|
|
||||||
* Ver.7 development started.
|
|
||||||
* Supported vimproc Ver.4.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
ChangeLog 6.50:
|
|
||||||
2010-04-20
|
|
||||||
* Marked as ver.6.50.
|
|
||||||
* Implemented .vimshrc quote.
|
|
||||||
* Revised Japanese help.
|
|
||||||
|
|
||||||
2010-04-18
|
|
||||||
* Implemented include Vim Script syntax.
|
|
||||||
|
|
||||||
2010-04-17
|
|
||||||
* Improved update behavior on insert mode.
|
|
||||||
* Fixed g:vimshell_ignore_case default value.
|
|
||||||
* Improved g:vimshell_ignore_case behavior.
|
|
||||||
* Detect head matches each prompt pattern.
|
|
||||||
* Fixed searchpos() bug.
|
|
||||||
* Improved prompt syntax highlight.
|
|
||||||
|
|
||||||
2010-04-16
|
|
||||||
* Improved iexe update.
|
|
||||||
* Add history when parse passed.
|
|
||||||
* Improved vimshell exception and error mechanism.
|
|
||||||
* Improved auto update behavior.
|
|
||||||
* Improved directory completion.
|
|
||||||
* Improved error catch.
|
|
||||||
|
|
||||||
2010-04-14
|
|
||||||
* Improved vimshell#start_insert().
|
|
||||||
* Implemented multiline quote.
|
|
||||||
* Improved echo.
|
|
||||||
* Improved syntax of string.
|
|
||||||
* Fixed print and vexe split <CR> bugs.
|
|
||||||
|
|
||||||
2010-04-13
|
|
||||||
* Improved quote parser.
|
|
||||||
* Revised Japanese help.
|
|
||||||
* Improved output check.
|
|
||||||
* Changed vexe as special command.
|
|
||||||
* Added eval internal command.
|
|
||||||
* Deleted ev internal command.
|
|
||||||
* Fixed vimshell#print_line().
|
|
||||||
* Improved alias and galias error message.
|
|
||||||
* Improved alias parse.
|
|
||||||
* Changed hook specification.
|
|
||||||
* Improved context.
|
|
||||||
|
|
||||||
2010-04-12
|
|
||||||
* Fixed command_complete bug.
|
|
||||||
* Improved expand wildcard.
|
|
||||||
|
|
||||||
2010-04-08
|
|
||||||
* Fixed output check when program exited.
|
|
||||||
* Call hook functions if interactive only.
|
|
||||||
* Implemented emptycmd, precmd, preexec hooks.
|
|
||||||
* Deleted g:VimShell_EnableAutoLs option.
|
|
||||||
* Fixed s:check_output() error.
|
|
||||||
* Improved vimshell#print_prompt().
|
|
||||||
|
|
||||||
2010-04-06
|
|
||||||
* Fixed help file.
|
|
||||||
* Changed galias as special command.
|
|
||||||
* Fixed popd error.
|
|
||||||
* Disable output when inputing in iexe.
|
|
||||||
* Implemented hook.
|
|
||||||
* Added chpwd hook.
|
|
||||||
|
|
||||||
2010-04-03
|
|
||||||
* Fixed autocd.
|
|
||||||
* Refactoringed.
|
|
||||||
* Implemented recursive altercmd and alias.
|
|
||||||
* Fixed auto complete bug when path contains blanks.
|
|
||||||
* Added execute option description.
|
|
||||||
* Improved bg.
|
|
||||||
* Fixed :VimShellSendString bug.
|
|
||||||
|
|
||||||
2010-04-02
|
|
||||||
* Fixed vimshell#altercmd.
|
|
||||||
|
|
||||||
2010-04-01
|
|
||||||
* Interpret escape sequence(experimental).
|
|
||||||
* Added internal command description.
|
|
||||||
* Fixed escape color.
|
|
||||||
|
|
||||||
2010-03-19
|
|
||||||
* Fixed interrupt error.
|
|
||||||
* Supported comment in .vimshrc.
|
|
||||||
* Implemented altercmd.
|
|
||||||
|
|
||||||
2010-03-03
|
|
||||||
* Improved restore current directory.
|
|
||||||
* Added scala support in iexe.
|
|
||||||
* Improved gcd command.
|
|
||||||
* Supported fakecygpty.
|
|
||||||
* Fixed error message in interactive.vim.
|
|
||||||
* Improved cd.
|
|
||||||
|
|
||||||
2010-03-02
|
|
||||||
* Fixed interactive_command_complete error.
|
|
||||||
* Fixed vimshell#interactive#get_cur_text().
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
ChangeLog 6.00-:
|
|
||||||
2010-02-26
|
|
||||||
* Print lines if one screen in view.
|
|
||||||
* Fixed nomodifiable error in view.
|
|
||||||
* Revised internal vim command.
|
|
||||||
* Marked As Ver.6.05.
|
|
||||||
|
|
||||||
2010-02-24
|
|
||||||
* Fixed interactive filetype.
|
|
||||||
* Ignore .gitignore in vcs_git.
|
|
||||||
* Added g:vimshell_right_prompt variable.
|
|
||||||
* Improved parse in argument complete.
|
|
||||||
* Fixed command parse.
|
|
||||||
* Implemented history output execution.
|
|
||||||
|
|
||||||
2010-02-18
|
|
||||||
* Fixed "E121: Undefined variable: b:prompt_history" error.
|
|
||||||
* Fixed args_complete compltion pos bug.
|
|
||||||
* Fixed filename pattern.
|
|
||||||
* Fixed s:hist_size error.
|
|
||||||
* Renamed interactive_complete.vim.
|
|
||||||
|
|
||||||
2010-02-17
|
|
||||||
* Added vimshrc syntax file.
|
|
||||||
* setlocal nolist in vimshell buffer.
|
|
||||||
|
|
||||||
6.05 : *Supported vimproc Ver.3 or later*
|
|
||||||
- Improved update timing in iexe and bg.
|
|
||||||
- Optimized history completion.
|
|
||||||
- Changed history completion keymappings.
|
|
||||||
- Improved execute line in iexe.
|
|
||||||
- Fixed <Plug>(vimshell_interactive_previous_prompt).
|
|
||||||
- Fixed no prompt behavior bug in iexe.
|
|
||||||
- Improved interactive in Windows.
|
|
||||||
- Fixed interactive option bug in iexe.
|
|
||||||
- Improved prompt in iexe.
|
|
||||||
- Improved prompt syntax.
|
|
||||||
- Fixed parse filename modifier bug.
|
|
||||||
- Improved split nicely.
|
|
||||||
- Fixed hang up bug.
|
|
||||||
- Implemented background execution and interrupt in exe.
|
|
||||||
- Fixed paste prompt bug in iexe.
|
|
||||||
- Implemented --encoding in exe and bg and iexe.
|
|
||||||
- Added :VimShellSendString command.
|
|
||||||
- Implemented vimshell#interactive#send_string().
|
|
||||||
- Fixed convert encoding in redirecting.
|
|
||||||
- Improved terminal compatiblity.
|
|
||||||
- Deleted g:VimShell_UsePopen2 option.
|
|
||||||
- Improved redraw in executing.
|
|
||||||
|
|
||||||
6.04 :
|
|
||||||
- Fixed history_complete bug.
|
|
||||||
- Truncate many candidates in history_complete.
|
|
||||||
- Changed g:vimshell_split_height default value.
|
|
||||||
- Optimized complete file.
|
|
||||||
- Improved autocmd.
|
|
||||||
- Changed buffer name.
|
|
||||||
- Improved enter directory.
|
|
||||||
- Improved move to drive.
|
|
||||||
- Implemented auto update.
|
|
||||||
- Fixed multibyte input bug.
|
|
||||||
- Improved termtter syntax.
|
|
||||||
- Fixed sexe error.
|
|
||||||
- Implemented interactive mappings.
|
|
||||||
- Improved prompt move.
|
|
||||||
- Changed omni complete keymappings.
|
|
||||||
- Improved close popup.
|
|
||||||
- Improved buffer search in <Plug>(vimshell_split_create).
|
|
||||||
- Improved detect for mac in open.
|
|
||||||
- Improved filtype and update in bg.
|
|
||||||
- Reimplemented vimshell#internal#iexe#vimshell_iexe().
|
|
||||||
- Added :VimShellExecute and :VimShellInteractive commands.
|
|
||||||
- Implemented bg and iexe and sudo completions.
|
|
||||||
- Improved execute line in Normal mode.
|
|
||||||
- Improved keymappings.
|
|
||||||
- Implemented CursorHold event in iexe.
|
|
||||||
|
|
||||||
6.03 :
|
|
||||||
- Refactoringed.
|
|
||||||
- Improved environment detect in open.
|
|
||||||
- Fixed delete escape sequence bug.
|
|
||||||
- Improved interactive print.
|
|
||||||
- Implemented execute line in iexe buffer.
|
|
||||||
- Open URI when press <Enter>.
|
|
||||||
- Improved password input.
|
|
||||||
- Implemented interactive termtter syntax.
|
|
||||||
- Fixed syntax error.
|
|
||||||
- Fixed alias parse.
|
|
||||||
- Improved start in Windows.
|
|
||||||
- Improved irb option in iexe.
|
|
||||||
- Improved vimshell split switch.
|
|
||||||
- Added :VimShellPop command.
|
|
||||||
|
|
||||||
6.02 :
|
|
||||||
- Improved autocommand in iexe.
|
|
||||||
- Improved completion in iexe.
|
|
||||||
- Improved highlight escape sequence.
|
|
||||||
- Fixed echo in iexe.
|
|
||||||
- Improved password input.
|
|
||||||
- Fixed timer.
|
|
||||||
- Added powershell.exe and cmd.exe support.
|
|
||||||
- Improved vimshell buffer settings.
|
|
||||||
- Fixed <Plug>(vimshell_delete_previous_output) error.
|
|
||||||
- Delete control sequences.
|
|
||||||
- Improved complete pattern.
|
|
||||||
- Set completion timeout.
|
|
||||||
- Fixed interactive prompt bug.
|
|
||||||
- Deleted syntax keyword.
|
|
||||||
- Improved interactive print.
|
|
||||||
- Renamed interactive_complete.
|
|
||||||
- Fixed interactive process error.
|
|
||||||
- Fixed expand tilde bug.
|
|
||||||
|
|
||||||
6.01 :
|
|
||||||
- Improved error handling.
|
|
||||||
- Improved head match.
|
|
||||||
- Use completefunc_complete if available.
|
|
||||||
- Fixed trunk string.
|
|
||||||
- Escape complete candidates.
|
|
||||||
- Improved Windows pty support.
|
|
||||||
- Improved password input.
|
|
||||||
- Improved echo back.
|
|
||||||
- Improved encoding.
|
|
||||||
- Implemented next_prompt() in iexe.
|
|
||||||
- Implemented arguments completion.
|
|
||||||
- Set interactive option in Windows iexe.
|
|
||||||
- Fixed force exit error.
|
|
||||||
|
|
||||||
6.00 :
|
|
||||||
- Deleted plugin/interactive.vim.
|
|
||||||
- Deleted ftplugin/vimshell.vim.
|
|
||||||
- Implemented vimshell#system().
|
|
||||||
- Implemented VCS information support.
|
|
||||||
- Deleted pipe inout.
|
|
||||||
- Implemented completion helper.
|
|
||||||
- Improved command completion.
|
|
||||||
- Implemented argument completion.
|
|
||||||
- Implemented expand wildcard.
|
|
||||||
- Improved get prompt.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
ChangeLog 5.30-:
|
|
||||||
5.38 :
|
|
||||||
- Fixed stdout flush bug.
|
|
||||||
- Append last line when interactive error.
|
|
||||||
- Syntax clear in clear command.
|
|
||||||
- Ignore interactive exit error.
|
|
||||||
- Use vimproc.vim.
|
|
||||||
- Fixed error in readonly buffer.
|
|
||||||
- Deleted interactive pty code.
|
|
||||||
- Use updatetime in iexe.
|
|
||||||
- Deleted CursorHold event in iexe.
|
|
||||||
- Deleted echo in iexe.
|
|
||||||
- Fixed iexe for echoback.
|
|
||||||
- Improved filetype in iexe.
|
|
||||||
- Improved read time.
|
|
||||||
- Improved iexe wait.
|
|
||||||
- Implemented bcd internal command.
|
|
||||||
- Implemented Windows pty support.
|
|
||||||
- Fixed popd.
|
|
||||||
- Improved completion.
|
|
||||||
|
|
||||||
5.37 :
|
|
||||||
- Added g:vimshell_no_default_keymappings option.
|
|
||||||
- Unique key mappings.
|
|
||||||
- Improved echo when executing.
|
|
||||||
- Fixed delete_line error.
|
|
||||||
- Implemented pseudo device '/dev/clip'.
|
|
||||||
- Improved command completion in Windows.
|
|
||||||
- Implemented mkcd internal command.
|
|
||||||
- Append last line.
|
|
||||||
|
|
||||||
5.36 :
|
|
||||||
- Added syntax keywords.
|
|
||||||
- Echo error when you use old Vim.
|
|
||||||
- Splitted mapping functions.
|
|
||||||
- Improved run_help.
|
|
||||||
- Implemented insert history completion.
|
|
||||||
- Improved completion.
|
|
||||||
|
|
||||||
5.35 :
|
|
||||||
- Improved open behavior.
|
|
||||||
- Fixed completion column bug.
|
|
||||||
- Implemented <Plug>(vimshell_move_end_argument).
|
|
||||||
- Fixed environment variables parse bug.
|
|
||||||
- Accept null wildcard.
|
|
||||||
- Substitute modifier.
|
|
||||||
- Added VimShellCreate command.
|
|
||||||
- Save prompt variables when vimshell is initialized.
|
|
||||||
- Implemented vimshell#push_and_execute() function.
|
|
||||||
|
|
||||||
5.34 :
|
|
||||||
- Improved execute internal command.
|
|
||||||
- Fixed wildcard parse bug.
|
|
||||||
- Use startinsert!.
|
|
||||||
- Implemented vimdiff command.
|
|
||||||
- Fixed cursor pos bug in completion.
|
|
||||||
- Implemented 'vexe' and 'open' command.
|
|
||||||
- Fixed command completion bug.
|
|
||||||
|
|
||||||
5.33 :
|
|
||||||
- Deleted one command.
|
|
||||||
- Changed default prompt.
|
|
||||||
- Improved kill processes(Thanks Nico).
|
|
||||||
- Send interrupt when press <C-c> in iexe(Thanks Nico).
|
|
||||||
- Improved tab completion in iexe.
|
|
||||||
- Fixed tilde parse bug.
|
|
||||||
- Don't select in completion.
|
|
||||||
- Implemented 'cd -' and '-' command.
|
|
||||||
- Improved popd behavior.
|
|
||||||
- Don't print prompt when switch to vimshell.
|
|
||||||
- Setlocal bufhidden=hide.
|
|
||||||
- Implemented 'cd name1 name2'.
|
|
||||||
- Fixed empty argument bug.
|
|
||||||
|
|
||||||
5.32 :
|
|
||||||
- Fixed delete_line when cursor pos is end.
|
|
||||||
- Escape g:VimShell_Prompt.
|
|
||||||
- Shell escape in sexe.
|
|
||||||
- Implemented clear key-mapping.
|
|
||||||
- Improved delete previous output.
|
|
||||||
- Implemented multiline user prompt.
|
|
||||||
- Fixed suffix execution bug.
|
|
||||||
- Overwrite highlight Normal in escape sequence range.
|
|
||||||
- Execute cursor file.
|
|
||||||
|
|
||||||
5.31 :
|
|
||||||
- Check cd path.
|
|
||||||
- Mark executable file.
|
|
||||||
- Improved completion.
|
|
||||||
- Deleted normal iexe.
|
|
||||||
- Splitted complete functions.
|
|
||||||
- Catch error in vim and view.
|
|
||||||
|
|
||||||
5.30 :
|
|
||||||
- Improved execute message.
|
|
||||||
- Implemented sexe command.
|
|
||||||
- Setfiletype iexe in iexe.
|
|
||||||
- Improved key-mappings.
|
|
||||||
- Fixed expand filename bug.
|
|
||||||
- Improved command search.
|
|
||||||
- Close window in exit.
|
|
||||||
- Implemented delete line.
|
|
||||||
- Implemented delete line and move head in iexe.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
ChangeLog 5.10-5.29
|
|
||||||
5.29 :
|
|
||||||
- Implemented filename expantion.
|
|
||||||
- Supported neocomplcache omni completion.
|
|
||||||
- Improved block expantion.
|
|
||||||
- Improved highlight of escape sequence.
|
|
||||||
- Create g:vimshell_history_path's parent directory if not exists.
|
|
||||||
- Create g:vimshell_vimshrc_path's parent directory if not exists.
|
|
||||||
- Check 'cdpath' when cd.
|
|
||||||
- Used plugin key-mappings insetead of key-mappings option.
|
|
||||||
|
|
||||||
5.28 :
|
|
||||||
- Fixed tail space bug(Thanks Nico).
|
|
||||||
- Fixed prompt history bug(Thanks Nico).
|
|
||||||
- Supported escape sequence in cd.
|
|
||||||
- Print all error.
|
|
||||||
- Improved error print format.
|
|
||||||
- Optimized print.
|
|
||||||
- Implemented user prompt.
|
|
||||||
- Implemented exclude wildcard.
|
|
||||||
- Implemented global alias.
|
|
||||||
|
|
||||||
5.27 :
|
|
||||||
- Fixed parse error.
|
|
||||||
- Optimized output.
|
|
||||||
- Deleted long lines error.
|
|
||||||
- Implemented paste prompt.
|
|
||||||
- Extend current directory.
|
|
||||||
- Applyed backspace patch(Thanks Nico!).
|
|
||||||
- Added g:VimShell_PromptPrevKey, g:VimShell_PromptNextKey, g:VimShell_PastePromptKey options.
|
|
||||||
- Improved run_help and push_current_line.
|
|
||||||
|
|
||||||
5.26 :
|
|
||||||
- Implemented iexe completion.
|
|
||||||
- Implemented iexe prompt.
|
|
||||||
- <C-c> as <C-v><C-d>.
|
|
||||||
- Added g:VimShell_HistoryPrevKey, g:VimShell_HistoryNextKey, g:VimShell_TabCompletionKey options.
|
|
||||||
- Improved pty response.
|
|
||||||
- Set filetype.
|
|
||||||
- Improved initialize on pty.
|
|
||||||
- Improved syntax highlight.
|
|
||||||
- Improved run_help.
|
|
||||||
|
|
||||||
5.25 :
|
|
||||||
- Catch kill error.
|
|
||||||
- Improved prompt in background pty(Thanks Nico!).
|
|
||||||
- Supported input empty.
|
|
||||||
- Supported completion on pty.
|
|
||||||
- Improved output in dirs command.
|
|
||||||
- Implemented command history on pty(Thanks Nico!).
|
|
||||||
- . and .. were excluded from a wildcard expand result.
|
|
||||||
|
|
||||||
5.24 :
|
|
||||||
- Improved parser.
|
|
||||||
- Fixed append_history() bug.
|
|
||||||
- Implemented block.
|
|
||||||
- Supported multiple statements.
|
|
||||||
- Fixed alias parse bug.
|
|
||||||
- Implemented repeat.
|
|
||||||
- Improved pushd timing.
|
|
||||||
|
|
||||||
5.23 :
|
|
||||||
- Improved completion.
|
|
||||||
- Added g:VimShell_EnableAutoLs option.
|
|
||||||
- Move to parent directory if argument isn't directory in cd command.
|
|
||||||
- Implemented force kill processes.
|
|
||||||
|
|
||||||
5.22 :
|
|
||||||
- Improved share history.
|
|
||||||
- Improved run_help.
|
|
||||||
- Improved alias.
|
|
||||||
- Fixed parse bug.
|
|
||||||
- Changed run_help key mappings.
|
|
||||||
- Implemented sudo vim.
|
|
||||||
- Improved iexe and bg(Tanks Nico!).
|
|
||||||
|
|
||||||
5.21 :
|
|
||||||
- Improved error highlight.
|
|
||||||
- Implemented password input.
|
|
||||||
- Implemented sudo internal command.
|
|
||||||
- Added g:VimShell_SecondaryPrompt option.
|
|
||||||
- Set COLUMNS and LINES environment variables.
|
|
||||||
- Remove dup history.
|
|
||||||
- Improved history commands.
|
|
||||||
- Splitted parser.
|
|
||||||
- Reduce blanks when append history.
|
|
||||||
- Implemented insert last word keymapping.
|
|
||||||
- Improved iexe.
|
|
||||||
- Implemented run_help.
|
|
||||||
|
|
||||||
5.20 :
|
|
||||||
- Added g:VimShell_UsePopen2 option.
|
|
||||||
- Openable directory in vim command.
|
|
||||||
- Improved bg command.
|
|
||||||
- Fixed escape sequence.
|
|
||||||
- Improved highlight timing.
|
|
||||||
- Implemented error highlight.
|
|
||||||
- Refactoringed interactive.vim.
|
|
||||||
|
|
||||||
5.19 :
|
|
||||||
- Improved variables path.
|
|
||||||
- Implemented h string.
|
|
||||||
- Added space when command completed.
|
|
||||||
- Improved escape sequence support.
|
|
||||||
|
|
||||||
5.18 :
|
|
||||||
- Improved command completion.
|
|
||||||
- Changed alias syntax.
|
|
||||||
- Improved stdin read.
|
|
||||||
- Improved pipe in external command.
|
|
||||||
|
|
||||||
5.17 :
|
|
||||||
- Fixed error when bg or iexe terminated.
|
|
||||||
- Implemented gexe command.
|
|
||||||
- Implemented pipe.
|
|
||||||
- Check pipe in ls command.
|
|
||||||
- Improved wildcard.
|
|
||||||
- Fully pipe implemented.
|
|
||||||
|
|
||||||
5.16 :
|
|
||||||
- Implemented back quote and vim quote.
|
|
||||||
- Implemented double quote escape.
|
|
||||||
- Implemented expand home directory.
|
|
||||||
- Fixed stdin redirection bug.
|
|
||||||
- Get status.
|
|
||||||
|
|
||||||
5.15 :
|
|
||||||
- Fixed for ATOK X3.
|
|
||||||
- Improved error catch.
|
|
||||||
- Implemented redirection.
|
|
||||||
- Implemented /dev/null virtual device.
|
|
||||||
- Implemented special functions.
|
|
||||||
- Improved let and ev.
|
|
||||||
|
|
||||||
5.14 :
|
|
||||||
- Implemented echo.
|
|
||||||
- Implemented wildcard.
|
|
||||||
- Executable one liner in Windows.
|
|
||||||
- Improved command search.
|
|
||||||
- Implemented command completion.
|
|
||||||
- Fixed g:vimshell_execute_file_list bug.
|
|
||||||
|
|
||||||
5.13 :
|
|
||||||
- Added command vimshell_delete_previous_prompt.
|
|
||||||
- Fixed lcd escape bug.
|
|
||||||
- Deleted process.vim.
|
|
||||||
- Deleted ! execution.
|
|
||||||
- Added gcd command.
|
|
||||||
- Optimized parse in alias and let commands.
|
|
||||||
|
|
||||||
5.12 Changed command behavior:
|
|
||||||
- Added g:VimShell_EnableInteractive option.
|
|
||||||
- Changed command behavior.
|
|
||||||
- Added exe command.
|
|
||||||
- Convert encoding for system().
|
|
||||||
- Fixed name conversion.
|
|
||||||
- Added g:vimshell_split_height option.
|
|
||||||
|
|
||||||
5.11:
|
|
||||||
- Added VimShellExecute and VimShellInteractive commands.
|
|
||||||
|
|
||||||
5.10:
|
|
||||||
- Implemented iexe.
|
|
||||||
- Improved bg.
|
|
||||||
- Improved print_prompt().
|
|
||||||
- Use neocomplcache#manual_filename_complete().
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
ChangeLog 5.9-4.0
|
|
||||||
5.9:
|
|
||||||
- Fixed background execution.
|
|
||||||
- Fixed auto_cd bug.
|
|
||||||
- Fixed error in screen command.
|
|
||||||
|
|
||||||
5.8:
|
|
||||||
- Fixed !! error.
|
|
||||||
- Implemented filename completion.
|
|
||||||
- Implemented exchange ~ into $HOME.
|
|
||||||
|
|
||||||
5.7:
|
|
||||||
- Implemented g:vimshell_execute_file_list.
|
|
||||||
- Refactoring.
|
|
||||||
- Added screen, bg internal command.
|
|
||||||
|
|
||||||
5.6:
|
|
||||||
- Escape prompt when prompt search.
|
|
||||||
- Fixed auto cd error.
|
|
||||||
|
|
||||||
5.5:
|
|
||||||
- Created ftplugin/vimshell.vim
|
|
||||||
- Added command vimshell_previous_prompt and vimshell_next_prompt.
|
|
||||||
|
|
||||||
5.4:
|
|
||||||
- Fixed alias, cd, histdel bug.
|
|
||||||
|
|
||||||
5.3:
|
|
||||||
- Improved autocmds.
|
|
||||||
- Refactoring plugin call.
|
|
||||||
|
|
||||||
5.2:
|
|
||||||
- Plugin interface changed.
|
|
||||||
- Converted special commands into internal commands.
|
|
||||||
- Deleted quick match.
|
|
||||||
|
|
||||||
5.1:
|
|
||||||
- Improved key-mappings and autocmd.
|
|
||||||
- Implemented command line stack.
|
|
||||||
|
|
||||||
5.0:
|
|
||||||
- Return previous buffer when call vimshell#switch_shell on vimshell.
|
|
||||||
- Implemented vimshell#error_line.
|
|
||||||
- Error when iexe execute without python interface.
|
|
||||||
|
|
||||||
4.9:
|
|
||||||
- Implemented exit command.
|
|
||||||
- Implemented hide command.
|
|
||||||
- Added g:vimshell_smart_case option.
|
|
||||||
|
|
||||||
4.8:
|
|
||||||
- Implemented comment.
|
|
||||||
- Not escape when cd command.
|
|
||||||
- Eval environment variables.
|
|
||||||
|
|
||||||
4.7:
|
|
||||||
- Improved vimshell#switch_shell.
|
|
||||||
- Implemented one command.
|
|
||||||
- Implemented ev command.
|
|
||||||
|
|
||||||
4.6:
|
|
||||||
- Implemented h command.
|
|
||||||
- Implemented VimShell buffer current directory.
|
|
||||||
- History execution was implemented with h command.
|
|
||||||
- Change VimShell current directory when vimshell#switch_shell.
|
|
||||||
|
|
||||||
4.5:
|
|
||||||
- Fixed popd and history bugs.
|
|
||||||
- Implemented history arguments.
|
|
||||||
- Implemented internal command.
|
|
||||||
- Improved syntax color.
|
|
||||||
|
|
||||||
4.4:
|
|
||||||
- Changed s:alias_table into b:vimshell_alias_table.
|
|
||||||
- Interpret cd of no argument as cd $HOME
|
|
||||||
- Added pwd command.
|
|
||||||
- Improved ls on Windows.
|
|
||||||
- Load ~/.vimshrc on init.
|
|
||||||
- Improved escape.
|
|
||||||
|
|
||||||
4.3:
|
|
||||||
- Implemented zsh like cd.
|
|
||||||
- Make built-in command autoload.
|
|
||||||
- Optimized special commands.
|
|
||||||
- Implemented popd, dirs command.
|
|
||||||
|
|
||||||
4.2:
|
|
||||||
- Implemented alias command.
|
|
||||||
- Implemented VimShell script.
|
|
||||||
- Optimized vimshell#process_enter.
|
|
||||||
|
|
||||||
4.1:
|
|
||||||
- Implemented history command.
|
|
||||||
- Implemented histdel command.
|
|
||||||
- Implemented nop command.
|
|
||||||
- Ignore empty command line.
|
|
||||||
|
|
||||||
4.0:
|
|
||||||
- Implemented shell background execution.
|
|
||||||
- Added g:VimShell_UseCkw option.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
ChangeLog 3.9-1.0
|
|
||||||
3.9:
|
|
||||||
- Implemented background execution on Linux.
|
|
||||||
- Improved print prompt.
|
|
||||||
- Fixed cd bug.
|
|
||||||
- Fixed background execution bug.
|
|
||||||
|
|
||||||
3.8:
|
|
||||||
- Implemented background execution on Windows.
|
|
||||||
- Implemented shell execution.
|
|
||||||
- Implemented shell command.
|
|
||||||
- Implemented exit command.
|
|
||||||
|
|
||||||
3.7:
|
|
||||||
- Not escape quotation.
|
|
||||||
- Implemented command completion.
|
|
||||||
|
|
||||||
3.6:
|
|
||||||
- Improved command execute.
|
|
||||||
- Fixed execute program bug.
|
|
||||||
|
|
||||||
3.5:
|
|
||||||
- Implemented by autoload.
|
|
||||||
- Fixed non-Windows platform error.
|
|
||||||
- Improved history executed.
|
|
||||||
- Fixed many bugs.
|
|
||||||
|
|
||||||
3.4:
|
|
||||||
- Fixed filename escape bug.
|
|
||||||
- Fixed vimshell buffer clear when hide.
|
|
||||||
- No setlocal lazyredraw.
|
|
||||||
- Filename escape when cd.
|
|
||||||
- Implemented pseudo shell variables.
|
|
||||||
|
|
||||||
3.3:
|
|
||||||
- Changed escape sequence into \<ESC>.
|
|
||||||
- Changed autocmd timing.
|
|
||||||
- Added filename escape.
|
|
||||||
- Added vimshell_split_switch, vimshell_switch, vimshell_split_create, vimshell_create.
|
|
||||||
- Can have multiple Vimshell instance.
|
|
||||||
|
|
||||||
3.2:
|
|
||||||
- Fixed space name command bug.
|
|
||||||
- Fixed quick match bug.
|
|
||||||
- Implemented vim and view command.
|
|
||||||
|
|
||||||
3.1:
|
|
||||||
- Fixed ATOK X3 is ON when startinsert.
|
|
||||||
- Silent message if exit code isn't 0.
|
|
||||||
|
|
||||||
3.0:
|
|
||||||
- Do startinsert! after command executed.
|
|
||||||
- Added g:vimshell_QuickMatchmax_lists option.
|
|
||||||
- Added g:VimShell_QuickMatchEnable option.
|
|
||||||
- Implemented two digits quick match.
|
|
||||||
|
|
||||||
2.9:
|
|
||||||
- Trial implemented highlight escape sequence.
|
|
||||||
- Fixed history bug.
|
|
||||||
- Convert cd to lcd.
|
|
||||||
|
|
||||||
2.8:
|
|
||||||
- Dup check when quick match.
|
|
||||||
- Due to optimize, filtering len(cur_keyword_str) >.
|
|
||||||
- Ignore head spaces when completion.
|
|
||||||
|
|
||||||
2.7:
|
|
||||||
- Implemented shell history completion by omnifunc.
|
|
||||||
- Mapping omnifunc <C-j>.
|
|
||||||
- Implemented quick match.
|
|
||||||
- Improved escape.
|
|
||||||
|
|
||||||
2.6:
|
|
||||||
- Implemented shell history.
|
|
||||||
|
|
||||||
2.5:
|
|
||||||
- Set lazyredraw in vimshell buffer.
|
|
||||||
- Refactoring.
|
|
||||||
|
|
||||||
2.3:
|
|
||||||
- Code cleanup.
|
|
||||||
|
|
||||||
2.2:
|
|
||||||
- Fix syntax highlight at pipe command.
|
|
||||||
- Fix quotation highlight.
|
|
||||||
|
|
||||||
2.1:
|
|
||||||
- Fix syntax highlights.
|
|
||||||
|
|
||||||
2.0:
|
|
||||||
- Implemented syntax highlight.
|
|
||||||
|
|
||||||
1.0:
|
|
||||||
- Initial version.
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:noet:fen:fdl=0:isk+=-:
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
3.0
|
|
||||||
{'vimshell': {'checked_time': 1706045295, 'installed_uri': 'https://github.com/Shougo/vimshell.git', 'installed_path': '/Users/joshp/.vim/bundle/vimshell_3787e5', 'revisions': {'1317805056': '3787e52766812d8b99a93ccdda57517bc2a0bab6'}, 'updated_time': '1317805056'}, 'neosnippet.vim': {'checked_time': 1706045295, 'installed_uri': 'https://github.com/Shougo/neosnippet.vim.git', 'installed_path': '/Users/joshp/.vim/bundle/neosnippet.vim', 'revisions': {'1690076198': 'efb2a615df2e6df9364087686dacca223fcfa16a'}, 'updated_time': '1690076198'}, 'vim-colorschemes': {'checked_time': 1706045295, 'installed_uri': 'https://github.com/flazz/vim-colorschemes.git', 'installed_path': '/Users/joshp/.vim/bundle/vim-colorschemes', 'revisions': {'1589579820': 'fd8f122cef604330c96a6a6e434682dbdfb878c9'}, 'updated_time': '1589579820'}, 'neobundle.vim': {'checked_time': 1706045293, 'installed_uri': 'https://github.com/Shougo/neobundle.vim.git', 'installed_path': '/Users/joshp/.vim/bundle/neobundle.vim', 'revisions': {}, 'updated_time': 1706045293}, 'neosnippet-snippets': {'checked_time': 1706045295, 'installed_uri': 'https://github.com/Shougo/neosnippet-snippets.git', 'installed_path': '/Users/joshp/.vim/bundle/neosnippet-snippets', 'revisions': {'1648787969': '725c989f18e9c134cddd63a7c6b15bed5c244657'}, 'updated_time': '1648787969'}, 'ctrlp.vim': {'checked_time': 1706045295, 'installed_uri': 'https://github.com/ctrlpvim/ctrlp.vim.git', 'installed_path': '/Users/joshp/.vim/bundle/ctrlp.vim', 'revisions': {'1689470507': '7c972cb19c8544c681ca345c64ec39e04f4651cc'}, 'updated_time': '1689470507'}, 'vim-fugitive': {'checked_time': 1706045295, 'installed_uri': 'https://github.com/tpope/vim-fugitive.git', 'installed_path': '/Users/joshp/.vim/bundle/vim-fugitive', 'revisions': {'1705705285': '854a8df0d06b8d3fcb30fa7f2b08c62b553eee3b'}, 'updated_time': '1705705285'}, 'vim-nerdtree-syntax-highlight': {'checked_time': 1706045484, 'installed_uri': 'https://github.com/tiagofumo/vim-nerdtree-syntax-highlight.git', 'installed_path': '/Users/joshp/.vim/bundle/vim-nerdtree-syntax-highlight', 'revisions': {'1688700398': '35e70334a2ff6e89b82a145d1ac889e82d1ddb4e'}, 'updated_time': '1688700398'}}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
neobundle.vim
|
|
||||||
neosnippet-snippets
|
|
||||||
neosnippet.vim
|
|
||||||
vim-colorschemes
|
|
||||||
vim-fugitive
|
|
||||||
vim-nerdtree-syntax-highlight
|
|
||||||
vimshell
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
NeoBundleLock ctrlp.vim 7c972cb19c8544c681ca345c64ec39e04f4651cc
|
|
||||||
NeoBundleLock neobundle.vim 1306c131ff0a6cc094b7ff0727350e442b5427f1
|
|
||||||
NeoBundleLock neosnippet-snippets 725c989f18e9c134cddd63a7c6b15bed5c244657
|
|
||||||
NeoBundleLock neosnippet.vim efb2a615df2e6df9364087686dacca223fcfa16a
|
|
||||||
NeoBundleLock vim-colorschemes fd8f122cef604330c96a6a6e434682dbdfb878c9
|
|
||||||
NeoBundleLock vim-fugitive 854a8df0d06b8d3fcb30fa7f2b08c62b553eee3b
|
|
||||||
NeoBundleLock vim-nerdtree-syntax-highlight 35e70334a2ff6e89b82a145d1ac889e82d1ddb4e
|
|
||||||
NeoBundleLock vimshell 3787e52766812d8b99a93ccdda57517bc2a0bab6
|
|
||||||
Submodule vim/.vim/bundle/ctrlp.vim deleted from 7c972cb19c
Submodule vim/.vim/bundle/neobundle.vim deleted from 1306c131ff
Submodule vim/.vim/bundle/neosnippet-snippets deleted from 725c989f18
Submodule vim/.vim/bundle/neosnippet.vim deleted from efb2a615df
Submodule vim/.vim/bundle/vim-colorschemes deleted from fd8f122cef
Submodule vim/.vim/bundle/vim-fugitive deleted from 854a8df0d0
Submodule vim/.vim/bundle/vim-nerdtree-syntax-highlight deleted from 35e70334a2
Submodule vim/.vim/bundle/vimshell_3787e5 deleted from 3787e52766
35
vim/.vimrc
35
vim/.vimrc
@@ -1,38 +1,3 @@
|
|||||||
"NeoBundle Scripts----------------------------- {{{
|
|
||||||
if &compatible
|
|
||||||
set nocompatible " Be iMproved
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Required:
|
|
||||||
set runtimepath+=/Users/joshp/.vim/bundle/neobundle.vim/
|
|
||||||
|
|
||||||
" Required:
|
|
||||||
call neobundle#begin(expand('/Users/joshp/.vim/bundle'))
|
|
||||||
|
|
||||||
" Let NeoBundle manage NeoBundle
|
|
||||||
" Required:
|
|
||||||
NeoBundleFetch 'Shougo/neobundle.vim'
|
|
||||||
|
|
||||||
" Add or remove your Bundles here:
|
|
||||||
NeoBundle 'Shougo/neosnippet.vim'
|
|
||||||
NeoBundle 'Shougo/neosnippet-snippets'
|
|
||||||
NeoBundle 'tpope/vim-fugitive'
|
|
||||||
NeoBundle 'flazz/vim-colorschemes'
|
|
||||||
NeoBundle 'tiagofumo/vim-nerdtree-syntax-highlight'
|
|
||||||
" You can specify revision/branch/tag.
|
|
||||||
NeoBundle 'Shougo/vimshell', { 'rev' : '3787e5' }
|
|
||||||
|
|
||||||
" Required:
|
|
||||||
call neobundle#end()
|
|
||||||
|
|
||||||
" Required:
|
|
||||||
filetype plugin indent on
|
|
||||||
|
|
||||||
" If there are uninstalled bundles found on startup,
|
|
||||||
" this will conveniently prompt you to install them.
|
|
||||||
NeoBundleCheck
|
|
||||||
"End NeoBundle Scripts------------------------- }}}
|
|
||||||
|
|
||||||
" PLUGINS ----------------------------------------- {{{
|
" PLUGINS ----------------------------------------- {{{
|
||||||
|
|
||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
|
|||||||
Reference in New Issue
Block a user