Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #2295 > unrolled thread
| Started by | "Ryan C." <rclark.sf@gmail.com> |
|---|---|
| First post | 2011-04-05 00:31 -0500 |
| Last post | 2011-04-05 03:21 -0500 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.ruby
Vim Plugin Issue "Ryan C." <rclark.sf@gmail.com> - 2011-04-05 00:31 -0500
Re: Vim Plugin Issue Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-05 00:45 -0500
Re: Vim Plugin Issue Marc Weber <marco-oweber@gmx.de> - 2011-04-05 03:21 -0500
| From | "Ryan C." <rclark.sf@gmail.com> |
|---|---|
| Date | 2011-04-05 00:31 -0500 |
| Subject | Vim Plugin Issue |
| Message-ID | <af43c4463e0b7400bdcde54d355fea83@ruby-forum.com> |
Anyone here use Vim? I'm trying to get my first plugin, NERD_tree to work and can't seem to figure it out or find the solution anywhere online. I unzipped the .zip from Vim.org into ~/.vim and it created the doc, nerdtree_plugin, and plugin directories. Then I went into Vim and tried a ton of different commands to no avail. I get one of the two following examples: :NERD_tree E464: Ambiguous use of user-defined command :nerdtree (or any command other than the above) E492: Not an editor command: nerdtree I'm new to Vim and am not sure what steps to take to get past this. Any help is hugely appreciated. Thanks, Ryan -- Posted via http://www.ruby-forum.com/.
[toc] | [next] | [standalone]
| From | Phillip Gawlowski <cmdjackryan@googlemail.com> |
|---|---|
| Date | 2011-04-05 00:45 -0500 |
| Message-ID | <BANLkTikOy5zi3pMAy3B-yhBQzOb4U681RQ@mail.gmail.com> |
| In reply to | #2295 |
On Tue, Apr 5, 2011 at 7:31 AM, Ryan C. <rclark.sf@gmail.com> wrote: > Anyone here use Vim? I'm trying to get my first plugin, NERD_tree to > work and can't seem to figure it out or find the solution anywhere > online. I don't remember where I found this hint, I was advised to put the following line into my .vimrc: nmap <silent> <c-n> :NERDTreeToggle<CR> Control+N now opens a buffer of tree navigation goodness (replace c-n with what makes sense for you, obviously). Otherwise, you'll have to peruse the NERDtree documentation via :help NERD_tree.txt -- Phillip Gawlowski Though the folk I have met, (Ah, how soon!) they forget When I've moved on to some other place, There may be one or two, When I've played and passed through, Who'll remember my song or my face.
[toc] | [prev] | [next] | [standalone]
| From | Marc Weber <marco-oweber@gmx.de> |
|---|---|
| Date | 2011-04-05 03:21 -0500 |
| Message-ID | <1301991366-sup-2948@nixos> |
| In reply to | #2295 |
Hi Ryan, <c-d> means ctrl-d 1) there is a dedicated Vim mailinglist (-> vim.sf.net -> commmunity) 2) most plugins ship with a doc/*.txt file which contains all information about its usage. In this case you want to read section 2.1 "Global Commands" 3) learn how to use completion. Eg try Nerd<tab> or Nerd<c-d> The command you tried does not exist. The error message you got is confusing though. 4) If you want to give many plugins a try use vim-addon-manager. Installing a plugin such as nerdtree can be done easily: :ActivateAddons The_NERD_tree Probably you'd like to use InstallAddon, review code, put name into your .vimrc. github.com/MarcWeber/vim-addon-manager. (last lines of doc/*.txt contains a script you can copy paste into your shell to install it) 5) Start using tags. Look them up using :h tag<c-d> (in particular :tjump command) This is way faster than nerdtree for most cases. HTH Marc Weber
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.ruby
csiph-web