diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-03 21:56:35 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-03 21:56:35 +0200 |
commit | 3ff33114d70fc0f7e9c3187c5fec9028f6499cf3 (patch) | |
tree | 62a9dedf831bf246b93c1a8c3715669c77f6040a /src/ex_cmds.h | |
parent | 12e91862c14a1af44b537d478e8a5021893044fe (diff) |
patch 8.1.1256: cannot navigate through errors relative to the cursorv8.1.1256
Problem: Cannot navigate through errors relative to the cursor.
Solution: Add :cabove, :cbelow, :labove and :lbelow. (Yegappan Lakshmanan,
closes #4316)
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 63196afd32..73914725a2 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -252,6 +252,9 @@ EX(CMD_cabbrev, "cabbrev", ex_abbreviate, EX(CMD_cabclear, "cabclear", ex_abclear, EXTRA|TRLBAR|CMDWIN, ADDR_NONE), +EX(CMD_cabove, "cabove", ex_cbelow, + RANGE|TRLBAR, + ADDR_OTHER), EX(CMD_caddbuffer, "caddbuffer", ex_cbuffer, RANGE|WORD1|TRLBAR, ADDR_OTHER), @@ -270,6 +273,9 @@ EX(CMD_catch, "catch", ex_catch, EX(CMD_cbuffer, "cbuffer", ex_cbuffer, BANG|RANGE|WORD1|TRLBAR, ADDR_OTHER), +EX(CMD_cbelow, "cbelow", ex_cbelow, + RANGE|TRLBAR, + ADDR_OTHER), EX(CMD_cbottom, "cbottom", ex_cbottom, TRLBAR, ADDR_NONE), @@ -726,6 +732,9 @@ EX(CMD_lNfile, "lNfile", ex_cnext, EX(CMD_last, "last", ex_last, EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR, ADDR_NONE), +EX(CMD_labove, "labove", ex_cbelow, + RANGE|TRLBAR, + ADDR_OTHER), EX(CMD_language, "language", ex_language, EXTRA|TRLBAR|CMDWIN, ADDR_NONE), @@ -744,6 +753,9 @@ EX(CMD_later, "later", ex_later, EX(CMD_lbuffer, "lbuffer", ex_cbuffer, BANG|RANGE|WORD1|TRLBAR, ADDR_OTHER), +EX(CMD_lbelow, "lbelow", ex_cbelow, + RANGE|TRLBAR, + ADDR_OTHER), EX(CMD_lbottom, "lbottom", ex_cbottom, TRLBAR, ADDR_NONE), |