- Improved documentation.
This commit is contained in:
parent
9c5ac40e9d
commit
839509337c
25
README.md
25
README.md
@ -6,7 +6,8 @@ small templates for commonly used code that you can fill in on the
|
|||||||
fly. To use snippets can increase your productivity in Vim a lot.
|
fly. To use snippets can increase your productivity in Vim a lot.
|
||||||
The functionality of this plug-in is quite similar to plug-ins like
|
The functionality of this plug-in is quite similar to plug-ins like
|
||||||
snipMate.vim or snippetsEmu.vim. But since you can choose snippets with the
|
snipMate.vim or snippetsEmu.vim. But since you can choose snippets with the
|
||||||
[Neocomplcache](https://github.com/Shougo/neocomplcache) interface, you might
|
[neocomplcache](https://github.com/Shougo/neocomplcache.vim) /
|
||||||
|
[neocomplete](https://github.com/Shougo/neocomplete.vim) interface, you might
|
||||||
have less trouble using them, because you do not have to remember each snippet
|
have less trouble using them, because you do not have to remember each snippet
|
||||||
name.
|
name.
|
||||||
|
|
||||||
@ -24,17 +25,24 @@ required files into your `.vim` folder.
|
|||||||
|
|
||||||
### Manual (not recommended)
|
### Manual (not recommended)
|
||||||
|
|
||||||
1. Install the [Neocomplcache](https://github.com/Shougo/neocomplcache) plugin first.
|
1. Install the
|
||||||
|
[neocomplcache](https://github.com/Shougo/neocomplcache.vim)/
|
||||||
|
[neocomplete](https://github.com/Shougo/neocomplete.vim) plugin first.
|
||||||
2. Put files in your Vim directory (usually `~/.vim/` or
|
2. Put files in your Vim directory (usually `~/.vim/` or
|
||||||
`%PROGRAMFILES%/Vim/vimfiles` on Windows).
|
`%PROGRAMFILES%/Vim/vimfiles` on Windows).
|
||||||
|
|
||||||
### Vundle
|
### Vundle
|
||||||
|
|
||||||
1. Setup the [vundle](https://github.com/gmarik/vundle) package manager
|
1. Setup the [vundle](https://github.com/gmarik/vundle) package manager
|
||||||
2. Set the bundles for [Neocomplcache](https://github.com/Shougo/neocomplcache) and [Neosnippet](https://github.com/Shougo/neosnippet)
|
2. Set the bundles for [Neocomplcache](https://github.com/Shougo/neocomplcache)
|
||||||
|
or [neocomplete](https://github.com/Shougo/neocomplete.vim)
|
||||||
|
And [Neosnippet](https://github.com/Shougo/neosnippet)
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
Bundle 'Shougo/neocomplcache'
|
Bundle 'Shougo/neocomplcache'
|
||||||
|
or
|
||||||
|
Bundle 'Shougo/neocomplete'
|
||||||
|
|
||||||
Bundle 'Shougo/neosnippet'
|
Bundle 'Shougo/neosnippet'
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -43,10 +51,15 @@ required files into your `.vim` folder.
|
|||||||
### Neobundle
|
### Neobundle
|
||||||
|
|
||||||
1. Setup the [neobundle](https://github.com/Shougo/neobundle.vim) package manager
|
1. Setup the [neobundle](https://github.com/Shougo/neobundle.vim) package manager
|
||||||
2. Set the bundles for [Neocomplcache](https://github.com/Shougo/neocomplcache) and [Neosnippet](https://github.com/Shougo/neosnippet)
|
2. Set the bundles for [Neocomplcache](https://github.com/Shougo/neocomplcache)
|
||||||
|
or [neocomplete](https://github.com/Shougo/neocomplete.vim)
|
||||||
|
And [Neosnippet](https://github.com/Shougo/neosnippet)
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
NeoBundle 'Shougo/neocomplcache'
|
NeoBundle 'Shougo/neocomplcache'
|
||||||
|
or
|
||||||
|
NeoBundle 'Shougo/neocomplete'
|
||||||
|
|
||||||
NeoBundle 'Shougo/neosnippet'
|
NeoBundle 'Shougo/neosnippet'
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -54,7 +67,7 @@ required files into your `.vim` folder.
|
|||||||
|
|
||||||
### VAM (vim-addon-manager)
|
### VAM (vim-addon-manager)
|
||||||
|
|
||||||
1. Setup the [vim-addon-manager](https://github.com/MarcWeber/vim-addon-manager)
|
1. Setup the [vim-addon-manager](https://github.com/MarcWeber/vim-addon-manager)
|
||||||
package manager.
|
package manager.
|
||||||
2. Add `neosnippet` to the list of addons in your vimrc:
|
2. Add `neosnippet` to the list of addons in your vimrc:
|
||||||
|
|
||||||
|
@ -52,9 +52,10 @@ INSTALL *neosnippet-install*
|
|||||||
(usually ~/.vim/ or Program Files/Vim/vimfiles on Windows).
|
(usually ~/.vim/ or Program Files/Vim/vimfiles on Windows).
|
||||||
|
|
||||||
Note: If you want to complete snippets, you must install neocomplcache
|
Note: If you want to complete snippets, you must install neocomplcache
|
||||||
(https://github.com/Shougo/neocomplcache).
|
(https://github.com/Shougo/neocomplcache.vim) or
|
||||||
|
neocomplete(https://github.com/Shougo/neocomplete.vim).
|
||||||
|
|
||||||
Note: neocomplcache is NOT required! But recommended.
|
Note: neocomplcache or neocomplete is NOT required! But recommended.
|
||||||
|
|
||||||
Extra snippets files are available in:
|
Extra snippets files are available in:
|
||||||
https://github.com/honza/vim-snippets
|
https://github.com/honza/vim-snippets
|
||||||
@ -721,6 +722,9 @@ A: You can use |:NeoSnippetSource| for it.
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
CHANGELOG *neosnippet-changelog*
|
CHANGELOG *neosnippet-changelog*
|
||||||
|
|
||||||
|
2013-06-05
|
||||||
|
- Improved documentation.
|
||||||
|
|
||||||
2013-06-04
|
2013-06-04
|
||||||
- Deleted compatibility features.
|
- Deleted compatibility features.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user