1 *ConqueTerm* Plugin to run a shell in a buffer
3 The ConqueTerm plugin will convert a buffer into a terminal emulator, allowing
4 you to run a shell or shell application in the buffer.
8 Type :ConqueTerm <command> to launch an application in the current buffer. E.g.
11 :ConqueTerm mysql -h localhost -u joe_lunchbox Menu
14 Use :ConqueTermSplit or :ConqueTermVSplit to open Conque in a new horizontal
17 Keys pressed in insert mode will be sent to the shell, along with output from
18 the 'p' command in normal mode.
20 Press the <Esc> key twice to send a single <Esc> to the shell. Pressing this
21 key once will leave insert mode like normal.
23 Press <F9> in any buffer to send a visual selection to the shell.
26 *conque_term-settings*
28 Set the following in your .vimrc (default values shown)
30 " Enable colors. Setting this to 0 will make your terminal faster.
31 let g:ConqueTerm_Color = 1
33 " Set your terminal type. I strong recommend leaving this as vt100,
34 " however more features may be enabled with xterm.
35 let g:ConqueTerm_TERM = 'vt100'
37 " Set buffer syntax. Conque has highlighting for MySQL, but not much else.
38 let g:ConqueTerm_Syntax = 'conque'
40 " Continue updating shell when it's not the current, focused buffer
41 let g:ConqueTerm_ReadUnfocused = 1
44 *conque_term-requirements*
46 The following minimum requirements are needed to run Conque. Conque will not
47 run on Windows without a Cygwin-like environment.
51 - Supported operating systems: *nix, Mac, or Cygwin
54 - Vim 7.2 / Python 2.6 / Ubuntu 9.10 (Gnome & GTK)
55 - Vim 7.2 / Python 2.6 / FreeBSD 8.0 (GTK)
56 - Vim 7.1 / Python 2.6 / FreeBSD 8.0 (GTK)
57 x Vim 7.0 / Python 2.6 / FreeBSD 8.0 (GTK)
58 * feedkeys() doesn't restart updatetime
59 - Vim 7.2 / Python 2.4 / OpenSolaris 2009.06 (Gnome)
60 - Vim 7.2 / Python 2.4 / CentOS 5.3 (no GUI)
61 - Vim 7.1 / Python 2.3 / RHEL 4 (no GUI)
62 - Vim 7.2 / Python 2.5 / Cygwin (Windows Vista 64b)
63 - MacVim 7.2 / Python 2.3 / OS X 10.6.2
67 The following are known limitations:
69 - Font/color highlighting is imperfect and slow. If you don't care about
70 color in your shell, set g:ConqueTerm_Color = 0 in your .vimrc
71 - Conque only supports the extended ASCII character set for input, not utf-8.
72 - VT100 escape sequence support is not complete.
73 - Alt/Meta key support in Vim isn't great in general, and conque is no
74 exception. Pressing <Esc><Esc>x or <Esc><M-x> instead of <M-x> works in
79 - Fix pasting from named registers
80 - Polling unfucused conque buffers (Top explodes when window resizes)
81 - Enable graphics character set
82 - Consider supporting xterm escapes
84 - Find a solution to UTF-8 input (See InsertCharPre in Vim todo.txt)
85 - Find an alternative to updatetime polling (See Vim todo.txt)
86 - Find a graceful solution to Meta key input
88 (See PyConsole http://www.vim.org/scripts/script.php?script_id=1974)
89 - Always: look for performance improvements
92 *conque_term-contribute*
94 The two contributions most in need are improvements to Vim itself. I currently
95 use hacks to simulate a key press event and repeating CursorHold event. The
96 Vim todo.txt document lists proposed improvements to give users this behavior
97 without hacks. Having a key press event should allow Conque to work with multi-
98 byte input. If you are a Vim developer, please consider prioritizing these two
101 - todo.txt (Autocommands, line ~3137)
102 8 Add an event like CursorHold that is triggered repeatedly, not just
103 once after typing something.
105 - todo.txt (Autocommands, proposed event list, line ~3189)
106 InsertCharPre - user typed character Insert mode, before inserting the
107 char. Pattern is matched with text before the cursor. Set v:char to the
108 character, can be changed. (not triggered when 'paste' is set).
110 Bugs, suggestions and patches are all welcome.
112 For more information visit http://conque.googlecode.com
114 Check out the latest from svn at http://conque.googlecode.com/svn/trunk/
116 *conque_term-changelog*
119 * Complete python rewrite
120 * Add support for ncurses based applications
121 * Add continuous polling, instead of using <Tab>
123 * Improve syntax highlighting
126 * Fix GVim errors with non-english locale
127 * No functional changes
130 * Various performance enhancements and bugfixes.
131 * Rewritten escape sequence processing
134 * Improved history and tab completion
135 * Fix escape sequence formatting and improve highlighting
136 * Send selected text to shell from any buffer
137 * Add special handling of "vi" and "man" commands
138 * Improve error handling
139 * Add key mappings for <C-p> <C-n> <C-l> <C-j>
143 * Apply escape sequence coloring to output, e.g. ls --color
144 * Clean up syntax files for portability
145 * Fix several Vim 7.1 bugs
146 * Bugfixes for multiple shell buffers
147 * Add experimental shell folding option
150 * Rewritten subprocess management module in python instead of c
151 * Added support for OS X, partial support for Windows
152 * Improved tab completion