Mercurial > vim
comparison runtime/doc/index.txt @ 7092:64e30831fa42 v7.4.858
commit https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 8 18:46:31 2015 +0200
patch 7.4.858
Problem: It's a bit clumsy to execute a command on a list of matches.
Solution: Add the ":ldo", ":lfdo", ":cdo" and ":cfdo" commands. (Yegappan
Lakshmanan)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 08 Sep 2015 19:00:05 +0200 |
parents | 3af822eb4da5 |
children | f717d96a39b3 |
comparison
equal
deleted
inserted
replaced
7091:0f1600f46238 | 7092:64e30831fa42 |
---|---|
1136 |:catch| :cat[ch] part of a :try command | 1136 |:catch| :cat[ch] part of a :try command |
1137 |:cbuffer| :cb[uffer] parse error messages and jump to first error | 1137 |:cbuffer| :cb[uffer] parse error messages and jump to first error |
1138 |:cc| :cc go to specific error | 1138 |:cc| :cc go to specific error |
1139 |:cclose| :ccl[ose] close quickfix window | 1139 |:cclose| :ccl[ose] close quickfix window |
1140 |:cd| :cd change directory | 1140 |:cd| :cd change directory |
1141 |:cdo| :cdo execute command in each valid error list entry | |
1142 |:cfdo| :cfd[o] execute command in each file in error list | |
1141 |:center| :ce[nter] format lines at the center | 1143 |:center| :ce[nter] format lines at the center |
1142 |:cexpr| :cex[pr] read errors from expr and jump to first | 1144 |:cexpr| :cex[pr] read errors from expr and jump to first |
1143 |:cfile| :cf[ile] read file with error messages and jump to first | 1145 |:cfile| :cf[ile] read file with error messages and jump to first |
1144 |:cfirst| :cfir[st] go to the specified error, default first one | 1146 |:cfirst| :cfir[st] go to the specified error, default first one |
1145 |:cgetbuffer| :cgetb[uffer] get errors from buffer | 1147 |:cgetbuffer| :cgetb[uffer] get errors from buffer |
1294 |:lbuffer| :lb[uffer] parse locations and jump to first location | 1296 |:lbuffer| :lb[uffer] parse locations and jump to first location |
1295 |:lcd| :lc[d] change directory locally | 1297 |:lcd| :lc[d] change directory locally |
1296 |:lchdir| :lch[dir] change directory locally | 1298 |:lchdir| :lch[dir] change directory locally |
1297 |:lclose| :lcl[ose] close location window | 1299 |:lclose| :lcl[ose] close location window |
1298 |:lcscope| :lcs[cope] like ":cscope" but uses location list | 1300 |:lcscope| :lcs[cope] like ":cscope" but uses location list |
1301 |:ldo| :ld[o] execute command in valid location list entries | |
1302 |:lfdo| :lfd[o] execute command in each file in location list | |
1299 |:left| :le[ft] left align lines | 1303 |:left| :le[ft] left align lines |
1300 |:leftabove| :lefta[bove] make split window appear left or above | 1304 |:leftabove| :lefta[bove] make split window appear left or above |
1301 |:let| :let assign a value to a variable or option | 1305 |:let| :let assign a value to a variable or option |
1302 |:lexpr| :lex[pr] read locations from expr and jump to first | 1306 |:lexpr| :lex[pr] read locations from expr and jump to first |
1303 |:lfile| :lf[ile] read file with locations and jump to first | 1307 |:lfile| :lf[ile] read file with locations and jump to first |