Vimwiki: Disable <Tab> in insert mode, which conflicts with coc-nvim

Created on 2 Apr 2020  路  4Comments  路  Source: vimwiki/vimwiki

in insert mode, tab is mapped to vimwiki#tbl#kbd_tab(), however I'm using coc-nvim to complete words which using tab.
How to unmap tab to the func? I tried to map another keymap to it but doesn't work.

Most helpful comment

@mgdreamingstar what was the setting you used? can't seem to find it.

Edit: Figured it out. Pasting below for reference:

Plug 'vimwiki/vimwiki', { 'branch': 'dev' }

let g:vimwiki_table_mappings = 0

All 4 comments

If you switch to the dev branch there is an option to disable groups of key mappings.

Thank you @ranebrown , this solves the issue.

@mgdreamingstar what was the setting you used? can't seem to find it.

Edit: Figured it out. Pasting below for reference:

Plug 'vimwiki/vimwiki', { 'branch': 'dev' }

let g:vimwiki_table_mappings = 0

The above did not work for me, but adding this to my init.vim did:
au filetype vimwiki silent! iunmap <buffer> <Tab>

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gmarmstrong picture gmarmstrong  路  5Comments

linuxcaffe picture linuxcaffe  路  3Comments

imbilltucker picture imbilltucker  路  5Comments

lsrdg picture lsrdg  路  5Comments

Ram-Z picture Ram-Z  路  4Comments