remap `gt` and `gT` doesn't work on markdown files
See original GitHub issuehi,
currently i’m using <tab> and <s-tab> instead of gt and gT to switch between tabs. however these rebinding keys have no effect on markdown files
" use <tab> and <s-tab> to switch between tabs
nmap <tab> gt
nmap <s-tab> gT
pls note that gt and gT work as expected.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Encoding issue with GT object in markdown
The problem only occurs when I generate a markdown file. I read all kinds of similar issues, but I couldn't find anything that...
Read more >user snippets don't work on markdown files #88129 - GitHub
I set the global user snippets to use for automatic completion of custom code. The test with CPP / CSS / JS file...
Read more >gtsummary + R Markdown
Here's a summary of the various R Markdown output types and the print engines that support them. Print Engine, Function, HTML, PDF, RTF,...
Read more >Sacha Chua's Emacs configuration
My old code for refiling to an Org heading in the current buffer didn't work any more, but helm-org-in-buffer-headings seems to be promising....
Read more >Vim Commands
Bibliography also works with R markdown documents, see rmarkdown ... gt. Move to the previous tab gT. Open the file under the cursor...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@Shatur95 nice catch
filetypeis safe to use and can be useful to set per-type specific options/keys. Probably the markdown one, or some vim plugin overrides<tab>/<s-tab>bindings. Should be fixable by putting something like without disabling it:autocmd FileType markdown nmap <tab> gtSee #115
Also few vim plugins require filetype to work, see #114
This option disables settings for specific file extensions. Most likely some plugin or your markdown settings were conflicting with this plugin. It is recommended to disable such stuff in VSCode.