aboutsummaryrefslogtreecommitdiffstats
path: root/projects
diff options
context:
space:
mode:
authorTeddy Wing2019-06-08 11:14:55 +0200
committerTeddy Wing2019-06-08 11:33:04 +0200
commit813898fc3527a5b6eb83b993221413e5b3cd0d70 (patch)
tree8c6ed3ee503afaef08c327df341ba6ca8ef2a603 /projects
parent8b0dfdbeca4f6eb34fe963427570436363fde3c4 (diff)
downloaddotvim-813898fc3527a5b6eb83b993221413e5b3cd0d70.tar.bz2
projects/aodocs.vim: Silence Git commit title length mappings
Otherwise the function call appears in the command line which is distracting.
Diffstat (limited to 'projects')
-rw-r--r--projects/aodocs.vim6
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