Home
last modified time | relevance | path

Searched +refs:vi +refs:substitute +refs:lines (Results 1 – 25 of 1236) sorted by relevance

12345678910>>...50

/dports/editors/2bsd-vi/ex-050325/catd/
H A Den_US1 $ Message catalogue for ex/vi
21 16 "Not that many lines@in buffer"
139 128 "No previous substitute re|No previous substitute to repeat"
143 132 " on %d lines"
146 135 "No previous substitute re|No previous substitute regular expression"
183 170 "%d lines"
186 173 "No lines@in the buffer"
233 220 "No lines in buffer"
239 226 "Q gets ex command mode, :q leaves vi"
269 5 " Not enough core for lines"
[all …]
/dports/editors/vigor/vigor-0.016/docs/
H A Dhelp44 ^Y page up by lines
80 J join lines
88 S substitute for the line(s)
116 s substitute character
129 ^D: scroll lines
173 quit: exit ex/vi
178 s: substitute on lines matching an RE
197 visual: enter visual (vi) mode from ex mode
198 [Vv]isual: edit another file (from vi mode only)
199 viusage: display vi key usage statement
[all …]
H A DTODO8 We need to rework all of vi to have three return values:
11 1: vi error, continue
83 in v_init -- screens get events from vi, vi gets events queued up from
95 E_START, /* Start ex/vi. */
96 E_STOP, /* Stop ex/vi. */
121 interactive substitute.
124 video. This isn't going to be easy, currently only full lines can
127 TK: We currently permit the user to change the lines, columns and term
144 VI: Think about setting a dirty/inuse bits on the lines of the SMAP
145 structure. That way the message routines could steal lines and
[all …]
H A Dchangelog84 lines in the file during substitution commands.
570 + Fix global substitute code, `\\' wasn't handled correctly.
608 + Allow +/- flags after substitute commands, make line (flag)
722 + Fix substitute bug where could malloc 0 bytes (AIX breaks).
790 lines were different than everything else).
941 + Fix 'r' substitute option to set the RE to the last RE, not the
942 last substitute RE.
943 + Fix 'c' and 'g' substitute options to always toggle, and fix
953 of waiting for the lines to be resolved.
958 + Add System V substitute command replacement pattern semantics,
[all …]
/dports/editors/vigor/vigor-0.016/docs/tutorial/
H A Dvi.advanced63 34.3 invoking vi from within vi: {:e} {:vi}
267 rate) not all 24 lines of the screen would be used by vi. In addition, there
296 commands that delete text, including the change operator {c}, the substitute
471 Section 34.3: invoking vi from within vi: {:e} {:vi}
563 lines with as many words as would fit in eighty columns. There is no such vi
707 The straightforward colon-substitute command looks like the substitute
724 try the following substitute, which will do almost the same thing:
766 replacement pattern: {:s/123/456/g^M} will substitute EVERY occurrence
808 range of the substitute was limited by the address specification {/^Line
823 In overview, the substitute looks for a particular pattern made up of
[all …]
H A Dvi.beginner8 uses the vi editor itself as the means of presentation.
27 number of lines in the file. Throughout the remainder of the tutorial when
418 command level in Unix, and you invoke vi with {vi foo} where foo is the name
451 screen, and 5L puts you five lines from the bottom of the screen.
536 Line 3: These lines are examples for the 'a' command.
602 If you would like to now change the 'would' into 'should', use the substitute
605 (substitute) substitutes the current character with a string, ended with an
688 make two lines into one line (Join) {J}
700 substitute a single character with text {s ...text... ^[}
701 substitute n characters with text {ns ...text... ^[}
[all …]
/dports/editors/emacs-devel/emacs-4d1968b/etc/refcards/
H A Dvipcard.tex270 This card explains only vi mode and insert mode.
274 \key{from emacs mode to vi mode}{C-z}
275 \key{from vi mode to emacs mode}{C-z}
277 \key{from insert mode to vi mode}{ESC}
295 \key{go back to vi mode}{ESC}
328 lines.
556 \threecol{substitute characters}{s}{x i}
557 \threecol{substitute line}{S}{c c}
597 (define-key vip-mode-map "s" 'vip-substitute)
600 (define-key vip-mode-map "S" 'vip-substitute-line)
[all …]
H A DviperCard.tex286 \key{from emacs state to vi state}{C-z}
287 \key{from vi state to emacs state}{C-z}
290 \metax{from vi state to replace state}{c, C, R}
298 \metax{go back to vi state}{ESC}
342 lines.
574 \key{{\bf join} lines}{J}
640 In vi state, an Ex command is entered by typing:
666 Avoid Ex text manipulation commands except substitute.
690 \key{{\bf substitute} {\sl repl} for first string on line matching {\sl pat}}{:s /{\sl pat}/{\sl re…
693 \key{repeat previous substitute with previous search pattern as {\sl pat}}{:\~{}}
[all …]
/dports/editors/emacs/emacs-27.2/etc/refcards/
H A Dvipcard.tex270 This card explains only vi mode and insert mode.
274 \key{from emacs mode to vi mode}{C-z}
275 \key{from vi mode to emacs mode}{C-z}
277 \key{from insert mode to vi mode}{ESC}
295 \key{go back to vi mode}{ESC}
328 lines.
556 \threecol{substitute characters}{s}{x i}
557 \threecol{substitute line}{S}{c c}
597 (define-key vip-mode-map "s" 'vip-substitute)
600 (define-key vip-mode-map "S" 'vip-substitute-line)
[all …]
H A DviperCard.tex286 \key{from emacs state to vi state}{C-z}
287 \key{from vi state to emacs state}{C-z}
290 \metax{from vi state to replace state}{c, C, R}
298 \metax{go back to vi state}{ESC}
342 lines.
574 \key{{\bf join} lines}{J}
640 In vi state, an Ex command is entered by typing:
666 Avoid Ex text manipulation commands except substitute.
690 \key{{\bf substitute} {\sl repl} for first string on line matching {\sl pat}}{:s /{\sl pat}/{\sl re…
693 \key{repeat previous substitute with previous search pattern as {\sl pat}}{:\~{}}
[all …]
/dports/editors/vim/vim-8.2.3745/src/testdir/
H A Dtest_ex_mode.vim66 " Test substitute confirmation prompt :%s/pat/str/c in Ex mode
96 call term_sendkeys(buf, ":vi\<CR>")
102 " Test for displaying lines from an empty buffer in Ex mode
137 " Test for :g/pat/visual to run vi commands in Ex mode
150 call feedkeys("gQlet l = \"a\\\<kEnter>b\"\<cr>vi\<cr>", 'xt')
205 let lines =<< trim END
212 g/^/vi|HJ
216 call writefile(lines, 'Xexmodescript')
230 let lines =<< trim END
232 v9|9silent! vi|333333233333y32333333%O
[all …]
/dports/editors/2bsd-vi/ex-050325/
H A DChanges2 * vi no longer dies with a segmentation fault if a line does not fit on the
17 was continued after vi had been stopped by ^Z, with the cursor positioned
20 * Made multicolumn characters work in lines longer than the screen width in
48 printed lines anymore.
53 * The 'substitute' ex command can now be abbreviated as 'sub', 'subst' etc.
94 * Fixed an old vi bug: If a vi command that yanked or deleted part of a line
96 following 'p' vi command pasted the text affected by the former vi command.
109 * If the replacement part of a substitute command consists of a single '%',
111 used. This is compatible with SVR4 vi and is specified by POSIX.
165 * Passing beyond EOL in <count>~ vi command is not an error (P).
[all …]
/dports/editors/vim/vim-8.2.3745/runtime/autoload/
H A Dgetscript.vim14 " expecting vim to be in its vi-compatible mode!
20 echoerr "GetLatestVimScripts is not vi-compatible; not loaded (you need to set nocp)"
72 " by default, allow autoinstall lines to work
210 let firstdir = substitute(&rtp,',.*$','','')
217 " via GetLatestVimScripts: ... lines
273 " call Decho(".deleting lines: ".llp1.",$d")
398 " When looking for :AutoInstall: lines, skip scripts that have 0 0 scriptname
545 let firstdir= substitute(&rtp,',.*$','','')
559 let sname= substitute(sname,'\.bz2$','','')
564 let sname= substitute(sname,'\.gz$','','')
[all …]
/dports/editors/vigor/vigor-0.016/catalog/
H A Denglish.base41 042 "Screen lines too small, less than %d"
110 116 "No filename to substitute for %%"
111 117 "No filename to substitute for #"
125 131 "No following lines to join"
142 148 "%s: %lu lines, %lu characters"
144 150 "The script command is only available in vi mode"
150 156 "The #, l and p flags may not be combined with the c flag in vi mode"
197 204 "%s isn't a vi command"
224 232 "vi: temporary buffer not released"
249 257 "%s: %lu lines, %lu characters"
[all …]
H A Denglish42 Screen lines too small, less than %dX
43 Screen lines too large, greater than %dX
116 No filename to substitute for %%X
117 No filename to substitute for #X
131 No following lines to joinX
148 %s: %lu lines, %lu charactersX
150 The script command is only available in vi modeX
156 The #, l and p flags may not be combined with the c flag in vi modeX
204 %s isn't a vi commandX
232 vi: temporary buffer not releasedX
[all …]
/dports/shells/zsh/zsh-5.8.1/Src/Zle/
H A Diwidgets.list8 # `#' starts a comment. Blank lines are ignored.
128 "vi-add-eol", viaddeol, 0
129 "vi-add-next", viaddnext, 0
140 "vi-change-eol", vichangeeol, 0
142 "vi-cmd-mode", vicmdmode, 0
161 "vi-goto-mark", vigotomark, 0
166 "vi-insert", viinsert, 0
168 "vi-join", vijoin, 0
182 "vi-replace", vireplace, 0
188 "vi-substitute", visubstitute, 0
[all …]
/dports/lang/munger/munger-5.12/
H A Dview.munger27 ; Munger. It behaves similarly to vi when that program is invoked as "view".
31 ; Almost all of the vi cursor-motion and buffer-scrolling commands are
33 ; Not all work exactly as they do in vi, although. Some have been simplified
51 ; Unlike vi, newlines are displayed as spaces at the ends of lines on screen.
67 (setq num_lines (lines))
120 (setq num_lines (lines))
192 (print (substitute basename_rx "\2" filename)
/dports/editors/emacs-devel/emacs-4d1968b/doc/misc/
H A Dvip.texi198 @cindex vi mode
274 then you will be in vi mode.
479 will be in vi mode again.
586 vi mode again.
1518 Join two lines. Given count, join that many lines. A space will be
1582 kill lines backward (@code{kill-line}).
1660 This key will take you back to vi mode (@code{vip-change-mode-to-vi}).
1784 Move specified lines after @var{addr}.
1858 Repeat the previous @kbd{substitute} command using previous search pattern
1933 (define-key vip-command-mode-map "s" 'vip-substitute)
[all …]
/dports/editors/emacs/emacs-27.2/doc/misc/
H A Dvip.texi198 @cindex vi mode
274 then you will be in vi mode.
479 will be in vi mode again.
586 vi mode again.
1518 Join two lines. Given count, join that many lines. A space will be
1582 kill lines backward (@code{kill-line}).
1660 This key will take you back to vi mode (@code{vip-change-mode-to-vi}).
1784 Move specified lines after @var{addr}.
1858 Repeat the previous @kbd{substitute} command using previous search pattern
1933 (define-key vip-command-mode-map "s" 'vip-substitute)
[all …]
/dports/editors/vigor/vigor-0.016/clib/
H A Dtags174 GO_LINES ../common/gs.h /^#define GO_LINES 1 \/* Global options: lines. *\//
236 L_ADDED ../common/screen.h /^#define L_ADDED 0 \/* Added lines. *\/$/
237 L_CHANGED ../common/screen.h /^#define L_CHANGED 1 \/* Changed lines. *\/$/
238 L_DELETED ../common/screen.h /^#define L_DELETED 2 \/* Deleted lines. *\/$/
239 L_JOINED ../common/screen.h /^#define L_JOINED 3 \/* Joined lines. *\/$/
240 L_MOVED ../common/screen.h /^#define L_MOVED 4 \/* Moved lines. *\/$/
242 L_SHIFT ../common/screen.h /^#define L_SHIFT 5 \/* Shift lines. *\/$/
246 L_YANKED ../common/screen.h /^#define L_YANKED 6 \/* Yanked lines. *\/$/
337 RE_C_SUBST ../common/screen.h /^#define RE_C_SUBST 0x0008 \/* Compile substitute /
578 cl_resize ../cl/cl_read.c /^cl_resize(sp, lines, columns)$/
[all …]
/dports/editors/vigor/vigor-0.016/include/
H A Dtags174 GO_LINES ../common/gs.h /^#define GO_LINES 1 \/* Global options: lines. *\//
236 L_ADDED ../common/screen.h /^#define L_ADDED 0 \/* Added lines. *\/$/
237 L_CHANGED ../common/screen.h /^#define L_CHANGED 1 \/* Changed lines. *\/$/
238 L_DELETED ../common/screen.h /^#define L_DELETED 2 \/* Deleted lines. *\/$/
239 L_JOINED ../common/screen.h /^#define L_JOINED 3 \/* Joined lines. *\/$/
240 L_MOVED ../common/screen.h /^#define L_MOVED 4 \/* Moved lines. *\/$/
242 L_SHIFT ../common/screen.h /^#define L_SHIFT 5 \/* Shift lines. *\/$/
246 L_YANKED ../common/screen.h /^#define L_YANKED 6 \/* Yanked lines. *\/$/
337 RE_C_SUBST ../common/screen.h /^#define RE_C_SUBST 0x0008 \/* Compile substitute /
578 cl_resize ../cl/cl_read.c /^cl_resize(sp, lines, columns)$/
[all …]
/dports/editors/vigor/vigor-0.016/tk/
H A Dtags174 GO_LINES ../common/gs.h /^#define GO_LINES 1 \/* Global options: lines. *\//
236 L_ADDED ../common/screen.h /^#define L_ADDED 0 \/* Added lines. *\/$/
237 L_CHANGED ../common/screen.h /^#define L_CHANGED 1 \/* Changed lines. *\/$/
238 L_DELETED ../common/screen.h /^#define L_DELETED 2 \/* Deleted lines. *\/$/
239 L_JOINED ../common/screen.h /^#define L_JOINED 3 \/* Joined lines. *\/$/
240 L_MOVED ../common/screen.h /^#define L_MOVED 4 \/* Moved lines. *\/$/
242 L_SHIFT ../common/screen.h /^#define L_SHIFT 5 \/* Shift lines. *\/$/
246 L_YANKED ../common/screen.h /^#define L_YANKED 6 \/* Yanked lines. *\/$/
337 RE_C_SUBST ../common/screen.h /^#define RE_C_SUBST 0x0008 \/* Compile substitute /
578 cl_resize ../cl/cl_read.c /^cl_resize(sp, lines, columns)$/
[all …]
/dports/editors/vigor/vigor-0.016/vi/
H A Dtags174 GO_LINES ../common/gs.h /^#define GO_LINES 1 \/* Global options: lines. *\//
236 L_ADDED ../common/screen.h /^#define L_ADDED 0 \/* Added lines. *\/$/
237 L_CHANGED ../common/screen.h /^#define L_CHANGED 1 \/* Changed lines. *\/$/
238 L_DELETED ../common/screen.h /^#define L_DELETED 2 \/* Deleted lines. *\/$/
239 L_JOINED ../common/screen.h /^#define L_JOINED 3 \/* Joined lines. *\/$/
240 L_MOVED ../common/screen.h /^#define L_MOVED 4 \/* Moved lines. *\/$/
242 L_SHIFT ../common/screen.h /^#define L_SHIFT 5 \/* Shift lines. *\/$/
246 L_YANKED ../common/screen.h /^#define L_YANKED 6 \/* Yanked lines. *\/$/
337 RE_C_SUBST ../common/screen.h /^#define RE_C_SUBST 0x0008 \/* Compile substitute /
578 cl_resize ../cl/cl_read.c /^cl_resize(sp, lines, columns)$/
[all …]
/dports/editors/vigor/vigor-0.016/common/
H A Dtags174 GO_LINES ../common/gs.h /^#define GO_LINES 1 \/* Global options: lines. *\//
236 L_ADDED ../common/screen.h /^#define L_ADDED 0 \/* Added lines. *\/$/
237 L_CHANGED ../common/screen.h /^#define L_CHANGED 1 \/* Changed lines. *\/$/
238 L_DELETED ../common/screen.h /^#define L_DELETED 2 \/* Deleted lines. *\/$/
239 L_JOINED ../common/screen.h /^#define L_JOINED 3 \/* Joined lines. *\/$/
240 L_MOVED ../common/screen.h /^#define L_MOVED 4 \/* Moved lines. *\/$/
242 L_SHIFT ../common/screen.h /^#define L_SHIFT 5 \/* Shift lines. *\/$/
246 L_YANKED ../common/screen.h /^#define L_YANKED 6 \/* Yanked lines. *\/$/
337 RE_C_SUBST ../common/screen.h /^#define RE_C_SUBST 0x0008 \/* Compile substitute /
578 cl_resize ../cl/cl_read.c /^cl_resize(sp, lines, columns)$/
[all …]
/dports/editors/vigor/vigor-0.016/ip/
H A Dtags174 GO_LINES ../common/gs.h /^#define GO_LINES 1 \/* Global options: lines. *\//
236 L_ADDED ../common/screen.h /^#define L_ADDED 0 \/* Added lines. *\/$/
237 L_CHANGED ../common/screen.h /^#define L_CHANGED 1 \/* Changed lines. *\/$/
238 L_DELETED ../common/screen.h /^#define L_DELETED 2 \/* Deleted lines. *\/$/
239 L_JOINED ../common/screen.h /^#define L_JOINED 3 \/* Joined lines. *\/$/
240 L_MOVED ../common/screen.h /^#define L_MOVED 4 \/* Moved lines. *\/$/
242 L_SHIFT ../common/screen.h /^#define L_SHIFT 5 \/* Shift lines. *\/$/
246 L_YANKED ../common/screen.h /^#define L_YANKED 6 \/* Yanked lines. *\/$/
337 RE_C_SUBST ../common/screen.h /^#define RE_C_SUBST 0x0008 \/* Compile substitute /
578 cl_resize ../cl/cl_read.c /^cl_resize(sp, lines, columns)$/
[all …]

12345678910>>...50