Skip to content

Commit 7a648b7

Browse files
andreaslynvim-scripts
authored andcommitted
Version 0.5
* Disable session support * Better name for Conque GDB buffer
1 parent c387c36 commit 7a648b7

File tree

3 files changed

+21
-35
lines changed

3 files changed

+21
-35
lines changed

autoload/conque_gdb.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ function! conque_gdb#open(...)
420420
catch
421421
endtry
422422
let s:is_gdb_startup = 0
423+
file ConqueGDB
423424
endif
424425
endfunction
425426

autoload/conque_term.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,6 +1382,8 @@ endfunction "}}}
13821382

13831383
" called on SessionLoadPost event
13841384
function! conque_term#resume_session() " {{{
1385+
" Session support is currently not working
1386+
return
13851387
if g:ConqueTerm_SessionSupport == 1
13861388

13871389
" make sure terminals exist
@@ -1406,7 +1408,6 @@ function! conque_term#resume_session() " {{{
14061408
" reopen command
14071409
call conque_term#open(s:saved_terminals[idx].command)
14081410

1409-
return
14101411
endfor
14111412

14121413
endif

doc/conque_term.txt

Lines changed: 18 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,15 @@ Contents
2727
3.1.1 Python version |ConqueTerm_PyVersion|
2828
3.1.2 Fast mode |ConqueTerm_FastMode|
2929
3.1.3 Color support |ConqueTerm_Color|
30-
3.1.4 Session Support |ConqueTerm_SessionSupport|
31-
3.1.5 Keep updating terminal buffer |ConqueTerm_ReadUnfocused|
32-
3.1.6 Insert mode when entering buffer |ConqueTerm_InsertOnEnter|
33-
3.1.7 Close buffer when program exits |ConqueTerm_CloseOnEnd|
34-
3.1.8 Hide start messages |ConqueTerm_StartMessages|
35-
3.1.9 Regex for prompt highlighting |ConqueTerm_PromptRegex|
36-
3.1.10 Syntax type |ConqueTerm_Syntax|
37-
3.1.11 The bell Vim message |ConqueTerm_ShowBell|
38-
3.1.12 Unfocused update time |ConqueTerm_UnfocusedUpdateTime|
39-
3.1.13 Focused update time |ConqueTerm_FocusedUpdateTime|
30+
3.1.4 Keep updating terminal buffer |ConqueTerm_ReadUnfocused|
31+
3.1.5 Insert mode when entering buffer |ConqueTerm_InsertOnEnter|
32+
3.1.6 Close buffer when program exits |ConqueTerm_CloseOnEnd|
33+
3.1.7 Hide start messages |ConqueTerm_StartMessages|
34+
3.1.8 Regex for prompt highlighting |ConqueTerm_PromptRegex|
35+
3.1.9 Syntax type |ConqueTerm_Syntax|
36+
3.1.10 The bell Vim message |ConqueTerm_ShowBell|
37+
3.1.11 Unfocused update time |ConqueTerm_UnfocusedUpdateTime|
38+
3.1.12 Focused update time |ConqueTerm_FocusedUpdateTime|
4039
3.2 Keyboard |conque-keyboard|
4140
3.3.1 The <Esc> key |ConqueTerm_EscKey|
4241
3.3.2 The <C-c> mapping |ConqueTerm_Interrupt|
@@ -258,37 +257,22 @@ Note: Color support is automatically disabled in "fast mode".
258257
>
259258
let g:ConqueTerm_Color = 1
260259
<
261-
3.1.4 Session Support *ConqueTerm_SessionSupport*
262-
263-
Vim's :mksession command allows you to save your current buffer configuration
264-
to a file, which can be loaded at a later time after you've closed Vim.
265-
266-
By default, Conque buffers are not restored. This is mostly for safety
267-
reasons; you may not want Vim to automatically re-run a destructive command.
268-
269-
However, if you're not working with missile launch code, and want Vim to
270-
restart your Conque buffers when you load a session file, set this variable
271-
to 1. Note your original subprocess and shell output will not be restored, but
272-
the same command will be started in your buffer.
273-
>
274-
let g:ConqueTerm_SessionSupport = 0
275-
<
276-
3.1.5 Keep updating terminal buffer *ConqueTerm_ReadUnfocused*
260+
3.1.4 Keep updating terminal buffer *ConqueTerm_ReadUnfocused*
277261

278262
If set to 1 then your Conque buffers will continue to update after you've
279263
switched to another buffer.
280264
>
281265
let g:ConqueTerm_ReadUnfocused = 0
282266
<
283-
3.1.6 Insert mode when entering buffer *ConqueTerm_InsertOnEnter*
267+
3.1.5 Insert mode when entering buffer *ConqueTerm_InsertOnEnter*
284268

285269
If set to 1 then you will automatically go into insert mode when you enter the
286270
buffer. This diverges from normal Vim behavior. If 0 you will still be in
287271
normal mode.
288272
>
289273
let g:ConqueTerm_InsertOnEnter = 0
290274
<
291-
3.1.7 Close buffer when program exits *ConqueTerm_CloseOnEnd*
275+
3.1.6 Close buffer when program exits *ConqueTerm_CloseOnEnd*
292276

293277
If you want your terminal buffer to be closed and permanently deleted when the
294278
program running inside of it exits, set this option to 1. Otherwise the buffer
@@ -297,14 +281,14 @@ program output in insert mode.
297281
>
298282
let g:ConqueTerm_CloseOnEnd = 0
299283
<
300-
3.1.8 Show start messages *ConqueTerm_StartMessages*
284+
3.1.7 Show start messages *ConqueTerm_StartMessages*
301285

302286
Display warning messages when starting up ConqueTerm if your system is
303287
configured incorrectly.
304288
>
305289
let g:ConqueTerm_StartMessages = 1
306290
<
307-
3.1.9 Regex for highlighting your prompt *ConqueTerm_PromptRegex*
291+
3.1.8 Regex for highlighting your prompt *ConqueTerm_PromptRegex*
308292

309293
Use this regular expression for sytax highlighting your terminal prompt. Your
310294
terminal will generally run faster if you use Vim highlighting instead of
@@ -313,21 +297,21 @@ syntax highlighting for the prompt line.
313297
>
314298
let g:ConqueTerm_PromptRegex = '^\w\+@[0-9A-Za-z_.-]\+:[0-9A-Za-z_./\~,:-]\+\$'
315299
<
316-
3.1.10 Choose Vim syntax type *ConqueTerm_Syntax*
300+
3.1.9 Choose Vim syntax type *ConqueTerm_Syntax*
317301

318302
Set the buffer syntax. The default has highlighting for MySQL,
319303
but not much else.
320304
>
321305
let g:ConqueTerm_Syntax = 'conque_term'
322306
<
323-
3.1.11 The bell Vim message *ConqueTerm_ShowBell*
307+
3.1.10 The bell Vim message *ConqueTerm_ShowBell*
324308

325309
You can choose whether you want Conque to echo the warning message 'BELL!'
326310
whenever the bell character is written to a Conque terminal.
327311
>
328312
let g:ConqueTerm_ShowBell = 0
329313
<
330-
3.1.12 Unfocused update time *ConqueTerm_UnfocusedUpdateTime*
314+
3.1.11 Unfocused update time *ConqueTerm_UnfocusedUpdateTime*
331315

332316
Use this option to define how often in milliseconds you want Conque to
333317
update your terminals when you are not in insert mode. The value 0 (zero)
@@ -336,7 +320,7 @@ when you are in normal mode.
336320
>
337321
let g:ConqueTerm_UnfocusedUpdateTime = 500
338322
>
339-
3.1.13 Focused update time *ConqueTerm_FocusedUpdateTime*
323+
3.1.12 Focused update time *ConqueTerm_FocusedUpdateTime*
340324

341325
Use this option to define how often in milliseconds you want Conque to
342326
update the terminal in focus when you are in insert mode. The value 0 (zero)

0 commit comments

Comments
 (0)