*conque_term.txt* Vim version 7.3 Last change: 2013 April 18
The ConqueTerm plugin will turn a Vim buffer into a terminal emulator, allowing
you to run and interact with a shell or shell application inside the buffer.
This version of the Conque Term plugin ships with the Conque GDB plugin.
It is an improvement of Conque Term 2.3. It contains aditional options
and supports updating terminal buffers which are not in focus.
==============================================================================
Contents
1. Installation |conque-setup|
1.1 Requirements for Unix |conque-requirements|
1.2 Requirements for Windows |conque-windows|
1.3 Installation |conque-installation|
2. Usage |conque-usage|
2.1 General Usage |conque-gen-usage|
2.2 Special keys |conque-special-keys|
2.2.1 Send text to Conque |conque-send|
2.2.2 Toggle terminal input mode |conque-input-mode|
2.2.3 Sending the <Esc> key press |conque-esc|
2.2.4 Sending interrupt <C-c> |conque-interrupt|
3. Options |conque-options|
3.1 General |conque-general|
3.1.1 Python version |ConqueTerm_PyVersion|
3.1.2 Fast mode |ConqueTerm_FastMode|
3.1.3 Color support |ConqueTerm_Color|
3.1.4 Keep updating terminal buffer |ConqueTerm_ReadUnfocused|
3.1.5 Insert mode when entering buffer |ConqueTerm_InsertOnEnter|
3.1.6 Close buffer when program exits |ConqueTerm_CloseOnEnd|
3.1.7 Hide start messages |ConqueTerm_StartMessages|
3.1.8 Regex for prompt highlighting |ConqueTerm_PromptRegex|
3.1.9 Syntax type |ConqueTerm_Syntax|
3.1.10 The bell Vim message |ConqueTerm_ShowBell|
3.1.11 Unfocused update time |ConqueTerm_UnfocusedUpdateTime|
3.1.12 Focused update time |ConqueTerm_FocusedUpdateTime|
3.2 Keyboard |conque-keyboard|
3.3.1 The <Esc> key |ConqueTerm_EscKey|
3.3.2 The <C-c> mapping |ConqueTerm_Interrupt|
3.3.3 Toggle terminal input mode |ConqueTerm_ToggleKey|
3.3.4 Enable <C-w> in insert mode |ConqueTerm_CWInsert|
3.3.5 Execute current file in Conque |ConqueTerm_ExecFileKey|
3.3.6 Send file contents to Conque |ConqueTerm_SendFileKey|
3.3.7 Send selected text to Conque |ConqueTerm_SendVisKey|
3.3.8 Function Keys |ConqueTerm_SendFunctionKeys|
3.3 Unix |conque-config-unix|
3.4.1 Choose your terminal type |ConqueTerm_TERM|
3.4 Windows |conque-config-windows|
3.5.1 Python executable |ConqueTerm_PyExe|
3.5.2 Windows character code page |ConqueTerm_CodePage|
3.5.3 Terminal color method |ConqueTerm_ColorMode|
4. VimScript API |conque-api|
4.1 conque_term#open() |conque-open|
4.2 conque_term#subprocess() |conque-subprocess|
4.3 conque_term#get_instance() |conque-get-instance|
4.4 CONQUE_OBJECT.write() |conque-write|
4.5 CONQUE_OBJECT.writeln() |conque-writeln|
4.6 CONQUE_OBJECT.read() |conque-read|
4.7 CONQUE_OBJECT.set_callback() |conque-set-callback|
4.8 CONQUE_OBJECT.close() |conque-close|
4.9 Registering functions |conque-events|
5. Misc |conque-misc|
5.1 Known bugs |conque-bugs|
5.2 Contribute |conque-contribute|
5.3 Feedback |conque-feedback|
==============================================================================
1. Installation *conque-setup*
Conque is designed for both Unix and Windows operating systems, however the
requirements are slightly different. Please check section below corresponding
to your installed OS.
Please do also take a look at the Installation section in the Conque GDB
specific help file |conque_gdb.txt|.
1.1 Requirements for Unix *conque-requirements*
* [G]Vim 7.0+ with +python
* Python 2.3+
* Unix-like OS: Linux, OS X, Solaris, Cygwin, etc
The most common stumbling block is getting a version of Vim which has the
python interface enabled. Most all software package managers will have a copy
of Vim with Python support, so that is often the easiest way to get it. If
you're compiling Vim from source, be sure to use the --enable-pythoninterp
option, or --enable-python3interp for Python 3. On OS X the best option is
MacVim, which installs with Python support by default.
1.2 Requirements for Windows *conque-windows*
* [G]Vim 7.3 with +python
* Python 2.7
* Modern Windows OS (XP or later)
Conque only officially supports the latest GVim 7.3 Windows installer
available at www.vim.org. If you are currently using Vim 7.2 or earlier you
will need to upgrade to 7.3 for Windows support. The Windows installer already
has the +python interface built in.
The official 7.3 release of Vim for Windows only works with Python versions
2.7 and/or 3.1. You can download and install Python from their website
http://www.python.org/download
If you are compiling Vim + Python from source on Windows, the requirements
become only Vim 7.3+ and Python 2.7+.
1.3 Installation *conque-installation*
Download the latest vimball from http://www.vim.org
Open the .vmb file with Vim and run the following commands:
>
:so %
:q
<
That's it! The :ConqueTerm* commands will be available the next time you start
Vim. You can delete the .vmb file when you've verified Conque was successfully
installed.
==============================================================================
2. Usage *conque-usage*
For Conque GDB usage, take check the |conque_gdb.txt| help file.
2.1 General Usage *conque-gen-usage*
*ConqueTerm* *ConqueTermSplit* *ConqueTermVSplit* *ConqueTermTab*
Type :ConqueTerm <command> to launch an application in the current window. Eg:
>
:ConqueTerm bash
:ConqueTerm mysql -h localhost -u joe_lunchbox Menu
:ConqueTerm Powershell.exe
<
Use :ConqueTermSplit or :ConqueTermVSplit to open Conque in a new horizontal
or vertical buffer. Use :ConqueTermTab to open Conque in a new tab.
In insert mode you can interact with the shell as you would expect in a
normal terminal. All key presses will be sent to the terminal, including
control characters. See |conque-special-keys| for more information,
particularly regarding the <Esc> and <C-c> mappings.
In normal mode you can use Vim commands to browse your terminal output and
scroll back through the history. Most all Vim functionality will work, such
as searching, yanking or highlighting text.
2.2 Special keys *conque-special-keys*
There are several keys which can be configured to have special behavior with
Conque.
2.2.1 Send text to Conque *conque-send*
Conque gives you three different commands to send text from a different
buffer, probably a source code file, to the Conque terminal buffer. All three
are configurable to use your choice of key combinations.
To send a visually selected r
没有合适的资源?快使用搜索试试~ 我知道了~
(G)Vim中的GDB命令行界面和终端仿真器。.zip
共24个文件
py:13个
vim:5个
gdb:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 70 浏览量
2023-03-23
21:33:17
上传
评论
收藏 84KB ZIP 举报
温馨提示
(G)Vim中的GDB命令行界面和终端仿真器。
资源推荐
资源详情
资源评论
收起资源包目录
(G)Vim中的GDB命令行界面和终端仿真器。.zip (24个子文件)
Conque-GDB-master
README 1KB
doc
conque_term.txt 28KB
conque_gdb.txt 16KB
autoload
conque_term.vim 63KB
conque_term
conque.py 35KB
conque_globals.py 14KB
conque_sole.py 15KB
conque_sole_communicator.py 5KB
conque_win32_util.py 11KB
conque_subprocess.py 6KB
conque_sole_subprocess.py 21KB
conque_screen.py 7KB
conque_sole_shared_memory.py 6KB
conque_sole_wrapper.py 9KB
conque_gdb
conque_gdb_gdb.py 446B
gdbinit_confirm.gdb 415B
gdbinit_no_confirm.gdb 382B
conque_gdb.gdb 217B
conque_gdb.py 10KB
conque_sole_gdb.py 3KB
conque_gdb.vim 18KB
plugin
conque_term.vim 8KB
conque_gdb.vim 4KB
syntax
conque_term.vim 6KB
共 24 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9156
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功