Skip to content

Patch v0.16 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions autoload/conque_gdb.vim
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,8 @@ function! s:get_unix_gdb()
return ''
endif

sil let l:gdb_py_support = system(l:gdb_exe . ' -q -batch -ex "python print(\"PYYES\")"')
let pyresp = "'PYYES'"
sil let l:gdb_py_support = system(l:gdb_exe . ' -q -batch -ex "python print(' . pyresp . ')"')
if l:gdb_py_support =~ ".*PYYES\n.*"
" Gdb has python support
let g:conque_gdb_gdb_py_support = 1
Expand Down Expand Up @@ -430,7 +431,7 @@ function! conque_gdb#open(...)
let s:is_gdb_startup = 1
try
let s:gdb = conque_term#open(l:gdb_cmd, l:start_cmds, get(a:000, 2, 0), get(a:000, 3, 1), s:term_object)
sil exe 'file ConqueGDB\#' . s:gdb.idx
sil exe 'file ConqueGDB\#' . s:gdb.idx
catch
endtry
let s:is_gdb_startup = 0
Expand Down
5 changes: 5 additions & 0 deletions doc/conque_term.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Contents
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.1.13 Pasting text |ConqueTermPaste|
3.2 Keyboard |conque-keyboard|
3.3.1 The <Esc> key |ConqueTerm_EscKey|
3.3.2 The <C-c> mapping |ConqueTerm_Interrupt|
Expand Down Expand Up @@ -329,6 +330,10 @@ mode.
>
let g:ConqueTerm_FocusedUpdateTime = 80
>
3.1.13 Pasting *ConqueTermPaste*

Use the ConqueTermPaste command to paste the previously yanked text.

3.2 Keyboard *conque-config-keyboard*

3.2.1 The <Esc> key *ConqueTerm_EscKey*
Expand Down
5 changes: 5 additions & 0 deletions plugin/conque_term.vim
Original file line number Diff line number Diff line change
Expand Up @@ -235,4 +235,9 @@ endif

" }}}

" Command for pasting contents of previous register.
command! -nargs=0 ConqueTermPaste sil exe ':normal a' . @"
" Command for pasting contents of clipboard register: +.
command! -nargs=0 ConqueClip sil exe ':normal a' . @+

" vim:foldmethod=marker