mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00
Add option to disable <CR> remapping
This commit is contained in:
parent
ac9d69913d
commit
e7f4335a77
2 changed files with 7 additions and 1 deletions
|
@ -102,7 +102,9 @@ if !exists('g:taskwiki_suppress_mappings')
|
|||
nmap <Plug>NoVimwikiFollowLink <Plug>VimwikiFollowLink
|
||||
endif
|
||||
|
||||
execute "nnoremap <silent><buffer> <CR> :" . g:taskwiki_py . "Mappings.task_info_or_vimwiki_follow_link()<CR>"
|
||||
if !exists("g:taskwiki_disable_cr_mapping")
|
||||
execute "nnoremap <silent><buffer> <CR> :" . g:taskwiki_py . "Mappings.task_info_or_vimwiki_follow_link()<CR>"
|
||||
endif
|
||||
|
||||
" Leader-related mappings. Mostly <Leader>t + <first letter of the action>
|
||||
if exists('g:taskwiki_maplocalleader')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue