diff options
author | Nathan Grigg | 2015-04-14 09:29:54 -0700 |
---|---|---|
committer | Nathan Grigg | 2015-04-14 09:29:54 -0700 |
commit | 844101f686ef241e6835c85d78301da4cfb3f6db (patch) | |
tree | 603d763c347a95ad02181c63e97f736b43011fdb | |
parent | aebc432ac4e81fd058e2df968b158fb35341e0e5 (diff) | |
download | vim-beancount-844101f686ef241e6835c85d78301da4cfb3f6db.tar.gz |
Revert "Override C-X and C-A"
On further reflection, this feels outside the scope of this plugin. See
http://goo.gl/HX09FG.
This reverts commit f5b5b89bb617eea49dcac07996ce95fdb32e4b71.
-rw-r--r-- | ftplugin/beancount.vim | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/ftplugin/beancount.vim b/ftplugin/beancount.vim index 046c774..20c2058 100644 --- a/ftplugin/beancount.vim +++ b/ftplugin/beancount.vim @@ -23,16 +23,3 @@ command! -buffer -range AlignCommodity " Omnifunc for account completion. setl omnifunc=beancount#complete_account - -" Don't allow C-X or C-A, since these are dangerous to a finance file. -try - nmap <unique> <buffer> <C-X> <Nop> - nnoremap <buffer> <C-X><C-X> <C-X> -catch /E227/ -endtry - -try - nmap <buffer> <C-A> <Nop> - nnoremap <buffer> <C-A><C-A> <C-A> -catch /E227/ -endtry |