Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
2a3f7eee
Commit
2a3f7eee
authored
19 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.0205
parent
df1bdc92
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
runtime/doc/todo.txt
+10
-27
10 additions, 27 deletions
runtime/doc/todo.txt
runtime/doc/version7.txt
+2
-1
2 additions, 1 deletion
runtime/doc/version7.txt
src/ex_cmds.c
+17
-7
17 additions, 7 deletions
src/ex_cmds.c
src/ex_cmds.h
+10
-2
10 additions, 2 deletions
src/ex_cmds.h
with
39 additions
and
37 deletions
runtime/doc/todo.txt
+
10
−
27
View file @
2a3f7eee
*todo.txt* For Vim version 7.0aa. Last change: 2006 Feb 2
2
*todo.txt* For Vim version 7.0aa. Last change: 2006 Feb 2
3
VIM REFERENCE MANUAL by Bram Moolenaar
VIM REFERENCE MANUAL by Bram Moolenaar
...
@@ -30,34 +30,17 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
...
@@ -30,34 +30,17 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs*
*known-bugs*
-------------------- Known bugs and current work -----------------------
-------------------- Known bugs and current work -----------------------
Completion: When back at the original word behave like after BS.
:tablast
:tabfirst
Completion: When to get out of the BS state when the user keeps on typing?
Also support:
:tabdup split the tab with all its windows.
TabLineMod, TabLineModSel hl when a buffer is modified in a tab.
:tab ball tab page for each buffer
Command(s) to reorder tabs? ":tabmove N".
:tab all tab page for each argument
Open new tab by double click in tab line.
:tabdo cmd ":tabdo windo cmd" should also work
"gT", ":tpNext" and ":tpprev" to go to previous tab?
":tab" -> ":tpnext".
In GUI: right click can popup a menu to close a specific tab.
":tab" or ":tabpage" modifier to open new window in new tab.
E.g., ":tab help gt"
Keep a few commands as shortcuts:
:tpnew :tab new
:tpedit -
:tpclose :tab close
:tponly :tab only
:tpnext -
:tpprevious -
:tpNext -
:tplast -
:tpfirst -
":tab!" to open it at the end, ":0tab" to open at the start.
":tab split" opens tab with window same as current window.
":tpsplit" would split the tab with all its windows.
In GUI: right click can popup menu to close a specific tab.
Option to put tab line at the left or right? Need an option to specify its
Option to put tab line at the left or right? Need an option to specify its
witdh. It's like a separate window with ":tabs" output.
witdh. It's like a separate window with ":tabs" output.
:tabdo ":tabdo windo cmd" should also work
Add an argument to search functions to stop at a certain line number.
Add an argument to search functions to stop at a certain line number.
search('{', 'b', line('w0'))
search('{', 'b', line('w0'))
...
...
This diff is collapsed.
Click to expand it.
runtime/doc/version7.txt
+
2
−
1
View file @
2a3f7eee
*version7.txt* For Vim version 7.0aa. Last change: 2006 Feb 2
2
*version7.txt* For Vim version 7.0aa. Last change: 2006 Feb 2
3
VIM REFERENCE MANUAL by Bram Moolenaar
VIM REFERENCE MANUAL by Bram Moolenaar
...
@@ -657,6 +657,7 @@ different value.
...
@@ -657,6 +657,7 @@ different value.
VHDL indent file (Gerald Lai)
VHDL indent file (Gerald Lai)
MGL syntax file. (Gero Kuhlmann)
New Keymaps: ~
New Keymaps: ~
...
...
This diff is collapsed.
Click to expand it.
src/ex_cmds.c
+
17
−
7
View file @
2a3f7eee
...
@@ -5300,13 +5300,21 @@ ex_help(eap)
...
@@ -5300,13 +5300,21 @@ ex_help(eap)
/*
/*
* Re-use an existing help window or open a new one.
* Re-use an existing help window or open a new one.
* Always open a new one for ":tab help".
*/
*/
if
(
!
curwin
->
w_buffer
->
b_help
)
if
(
!
curwin
->
w_buffer
->
b_help
#ifdef FEAT_WINDOWS
||
cmdmod
.
tab
!=
0
#endif
)
{
{
#ifdef FEAT_WINDOWS
#ifdef FEAT_WINDOWS
for
(
wp
=
firstwin
;
wp
!=
NULL
;
wp
=
wp
->
w_next
)
if
(
cmdmod
.
tab
!=
0
)
if
(
wp
->
w_buffer
!=
NULL
&&
wp
->
w_buffer
->
b_help
)
wp
=
NULL
;
break
;
else
for
(
wp
=
firstwin
;
wp
!=
NULL
;
wp
=
wp
->
w_next
)
if
(
wp
->
w_buffer
!=
NULL
&&
wp
->
w_buffer
->
b_help
)
break
;
if
(
wp
!=
NULL
&&
wp
->
w_buffer
->
b_nwindows
>
0
)
if
(
wp
!=
NULL
&&
wp
->
w_buffer
->
b_nwindows
>
0
)
win_enter
(
wp
,
TRUE
);
win_enter
(
wp
,
TRUE
);
else
else
...
@@ -5325,19 +5333,21 @@ ex_help(eap)
...
@@ -5325,19 +5333,21 @@ ex_help(eap)
#ifdef FEAT_WINDOWS
#ifdef FEAT_WINDOWS
/* Split off help window; put it at far top if no position
/* Split off help window; put it at far top if no position
* specified, the current window is vertically split and narrow. */
* specified, the current window is vertically split and
* narrow. */
n
=
WSP_HELP
;
n
=
WSP_HELP
;
# ifdef FEAT_VERTSPLIT
# ifdef FEAT_VERTSPLIT
if
(
cmdmod
.
split
==
0
&&
curwin
->
w_width
!=
Columns
if
(
cmdmod
.
split
==
0
&&
curwin
->
w_width
!=
Columns
&&
curwin
->
w_width
<
80
)
&&
curwin
->
w_width
<
80
)
n
|=
WSP_TOP
;
n
|=
WSP_TOP
;
# endif
# endif
if
(
win_split
(
0
,
n
)
==
FAIL
)
if
(
win_split
(
0
,
n
)
==
FAIL
)
goto
erret
;
#else
#else
/* use current window */
/* use current window */
if
(
!
can_abandon
(
curbuf
,
FALSE
))
if
(
!
can_abandon
(
curbuf
,
FALSE
))
#endif
goto
erret
;
goto
erret
;
#endif
#ifdef FEAT_WINDOWS
#ifdef FEAT_WINDOWS
if
(
curwin
->
w_height
<
p_hh
)
if
(
curwin
->
w_height
<
p_hh
)
...
...
This diff is collapsed.
Click to expand it.
src/ex_cmds.h
+
10
−
2
View file @
2a3f7eee
...
@@ -877,18 +877,26 @@ EX(CMD_tag, "tag", ex_tag,
...
@@ -877,18 +877,26 @@ EX(CMD_tag, "tag", ex_tag,
RANGE
|
NOTADR
|
BANG
|
WORD1
|
TRLBAR
|
ZEROR
),
RANGE
|
NOTADR
|
BANG
|
WORD1
|
TRLBAR
|
ZEROR
),
EX
(
CMD_tags
,
"tags"
,
do_tags
,
EX
(
CMD_tags
,
"tags"
,
do_tags
,
TRLBAR
|
CMDWIN
),
TRLBAR
|
CMDWIN
),
EX
(
CMD_tab
,
"tab"
,
ex_
tab
,
EX
(
CMD_tab
,
"tab"
,
ex_
wrongmodifier
,
RANGE
|
NOTADR
|
COUNT
|
TRLBAR
),
NEEDARG
|
EXTRA
|
NOTRLCOM
),
EX
(
CMD_tabclose
,
"tabclose"
,
ex_tabclose
,
EX
(
CMD_tabclose
,
"tabclose"
,
ex_tabclose
,
RANGE
|
NOTADR
|
COUNT
|
BANG
|
TRLBAR
|
CMDWIN
),
RANGE
|
NOTADR
|
COUNT
|
BANG
|
TRLBAR
|
CMDWIN
),
EX
(
CMD_tabedit
,
"tabedit"
,
ex_splitview
,
EX
(
CMD_tabedit
,
"tabedit"
,
ex_splitview
,
BANG
|
FILE1
|
RANGE
|
NOTADR
|
EDITCMD
|
ARGOPT
|
TRLBAR
),
BANG
|
FILE1
|
RANGE
|
NOTADR
|
EDITCMD
|
ARGOPT
|
TRLBAR
),
EX
(
CMD_tabfind
,
"tabfind"
,
ex_splitview
,
EX
(
CMD_tabfind
,
"tabfind"
,
ex_splitview
,
BANG
|
FILE1
|
RANGE
|
NOTADR
|
EDITCMD
|
ARGOPT
|
NEEDARG
|
TRLBAR
),
BANG
|
FILE1
|
RANGE
|
NOTADR
|
EDITCMD
|
ARGOPT
|
NEEDARG
|
TRLBAR
),
EX
(
CMD_tabmove
,
"tabmove"
,
ex_tabmove
,
RANGE
|
NOTADR
|
COUNT
|
TRLBAR
|
ZEROR
),
EX
(
CMD_tabnext
,
"tabnext"
,
ex_tabnext
,
RANGE
|
NOTADR
|
COUNT
|
TRLBAR
),
EX
(
CMD_tabnew
,
"tabnew"
,
ex_splitview
,
EX
(
CMD_tabnew
,
"tabnew"
,
ex_splitview
,
BANG
|
FILE1
|
RANGE
|
NOTADR
|
EDITCMD
|
ARGOPT
|
TRLBAR
),
BANG
|
FILE1
|
RANGE
|
NOTADR
|
EDITCMD
|
ARGOPT
|
TRLBAR
),
EX
(
CMD_tabonly
,
"tabonly"
,
ex_tabonly
,
EX
(
CMD_tabonly
,
"tabonly"
,
ex_tabonly
,
TRLBAR
|
CMDWIN
),
TRLBAR
|
CMDWIN
),
EX
(
CMD_tabprevious
,
"tabprevious"
,
ex_tabprevious
,
RANGE
|
NOTADR
|
COUNT
|
TRLBAR
),
EX
(
CMD_tabNext
,
"tabNext"
,
ex_tabprevious
,
RANGE
|
NOTADR
|
COUNT
|
TRLBAR
),
EX
(
CMD_tabs
,
"tabs"
,
ex_tabs
,
EX
(
CMD_tabs
,
"tabs"
,
ex_tabs
,
TRLBAR
|
CMDWIN
),
TRLBAR
|
CMDWIN
),
EX
(
CMD_tcl
,
"tcl"
,
ex_tcl
,
EX
(
CMD_tcl
,
"tcl"
,
ex_tcl
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment