gt/gT = add goto Nth tab behavior

As it does in vim.
This commit is contained in:
Henrik Lissner 2021-06-05 14:24:17 -04:00
parent a2871e68ed
commit ea80826fd2
2 changed files with 20 additions and 2 deletions

View file

@ -447,8 +447,8 @@ directives. By default, this only recognizes C directives.")
:n "]w" #'+workspace/switch-right
:n "[w" #'+workspace/switch-left)
(:when (featurep! :ui tabs)
:n "gt" #'centaur-tabs-forward
:n "gT" #'centaur-tabs-backward)
:n "gt" #'+tabs:next-or-goto
:n "gT" #'+tabs:previous-or-got)
;; custom vim-unmpaired-esque keys
:m "]#" #'+evil/next-preproc-directive