diff options
author | Teddy Wing | 2019-06-08 11:14:55 +0200 |
---|---|---|
committer | Teddy Wing | 2019-06-08 11:33:04 +0200 |
commit | 813898fc3527a5b6eb83b993221413e5b3cd0d70 (patch) | |
tree | 8c6ed3ee503afaef08c327df341ba6ca8ef2a603 | |
parent | 8b0dfdbeca4f6eb34fe963427570436363fde3c4 (diff) | |
download | dotvim-813898fc3527a5b6eb83b993221413e5b3cd0d70.tar.bz2 |
projects/aodocs.vim: Silence Git commit title length mappings
Otherwise the function call appears in the command line which is
distracting.
-rw-r--r-- | projects/aodocs.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/projects/aodocs.vim b/projects/aodocs.vim index fc67ab5..4ebe736 100644 --- a/projects/aodocs.vim +++ b/projects/aodocs.vim @@ -35,7 +35,7 @@ function! s:CommitWackoTextWidth() endfunction function! s:CommitWackoTextWidthMappings() - inoremap <buffer> <CR> <C-o>:call <SID>CommitWackoTextWidth()<CR><CR> - nnoremap <buffer> o :call <SID>CommitWackoTextWidth()<CR>o - nnoremap <buffer> O :call <SID>CommitWackoTextWidth()<CR>O + inoremap <silent> <buffer> <CR> <C-o>:call <SID>CommitWackoTextWidth()<CR><CR> + nnoremap <silent> <buffer> o :call <SID>CommitWackoTextWidth()<CR>o + nnoremap <silent> <buffer> O :call <SID>CommitWackoTextWidth()<CR>O endfunction |