|
3 | 3 |
|
4 | 4 | == Requirements ==
|
5 | 5 |
|
6 |
| - * Vim 7.0+ |
7 |
| - * Linux-like system with pty libraries |
| 6 | + * Python-enabled Vim 7.0+ |
| 7 | + * Some functionality only available on Linux-like system with pty libraries |
8 | 8 |
|
9 | 9 | == Installation Instructions ==
|
10 | 10 |
|
11 | 11 | Copy files from conque/ into your .vim directory, for example:
|
12 | 12 |
|
13 |
| -$HOME/.vim/autoload/conque.vim |
14 |
| -$HOME/.vim/autoload/proc.vim |
15 |
| -$HOME/.vim/autoload/proc.so |
16 | 13 | $HOME/.vim/plugin/conque.vim
|
17 | 14 | $HOME/.vim/syntax/conque.vim
|
| 15 | +$HOME/.vim/autoload/conque.vim |
| 16 | +$HOME/.vim/autoload/subprocess.vim |
| 17 | +$HOME/.vim/autoload/subprocess/proc_py.vim |
18 | 18 |
|
19 | 19 | == Usage ==
|
20 | 20 |
|
21 | 21 | Type :Conque <command> to run your command in vim, for example:
|
22 | 22 |
|
23 | 23 | :Conque bash
|
24 | 24 |
|
| 25 | +To open Conque in a new horizontal or vertical buffer use: |
| 26 | + |
| 27 | +:ConqueSplit <command> |
| 28 | +or |
| 29 | +:ConqueVSplit <command> |
| 30 | + |
25 | 31 | == Troubleshooting ==
|
26 | 32 |
|
27 |
| -The most likely cause of trouble will be an incompatible proc.so binary. The provided file should work on most Linux installations, but if you are having trouble it can be built by hand. |
| 33 | +The most common problem will be not having Python enabled in your installation of Vim. Recent versions of Vim should come with Python enabled by default. To check for Python, run the ":version" command and check for "+python". If instead you see "-python" or "+python/dyn", it may mean you will need to install it. |
| 34 | + |
| 35 | + - Windows - |
| 36 | + |
| 37 | +The default installation of GVim on Windows comes with "+python/dyn", which means python can be installed independently of Vim and loaded at runtime. Towards the bottom of the ":version" command in the "Compilation" section, look for a config option that looks something like -DDYNAMIC_PYTHON_DLL="python24.dll". This will let you know which version of python you need to install, in this case version 2.4. Go to http://www.python.org/ to download the version that your installation of Vim requires. NOTE: installing an earlier or newer version will probably not work. |
| 38 | + |
| 39 | + - Mac - |
| 40 | + |
| 41 | +The latest version of MacVim will have Python enabled. See http://code.google.com/p/macvim/ |
| 42 | + |
| 43 | + - Linux - |
28 | 44 |
|
29 |
| -Go to the vimproc/ directory and run the command 'make'. Then copy the resulting proc.so from vimproc/autoload/proc.so to $HOME/.vim/autoload/proc.so |
| 45 | +Most installations of Vim 7+ these days come built with Python. |
30 | 46 |
|
0 commit comments