Skip to content

Commit 18af18f

Browse files
FreedomKnightFreedomKnight
authored andcommitted
let tabn, tab use alias
1 parent 1702bb2 commit 18af18f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins-client/ext.vim/cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,7 @@ cliCmds[":"].commands = {
201201
cliCmds.q(null, {force: true});
202202
},
203203
tabNext: "gototabright",
204-
tabn: "gototabright",
205204
tabPrevious: "gototableft",
206-
tabp: "gototableft",
207205
tabfirst: function() {
208206
tabbehaviors.cycleTab("first");
209207
},
@@ -219,6 +217,8 @@ cliCmds[":"].commands = {
219217

220218
// aliases
221219
cliCmds[":"].commands.write = cliCmds[":"].commands.w;
220+
cliCmds[":"].commands.tabn = cliCmds[":"].commands.tabNext;
221+
cliCmds[":"].commands.tabp = cliCmds[":"].commands.tabPrevious;
222222

223223
cliCmds[":"].commands.set = {
224224
vimOpts: [

0 commit comments

Comments
 (0)