Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove single char insert, it is problematic

  • Loading branch information...
commit 99b43660b3a81cbe9fdb758008a61493429b484f 1 parent 7efbba3
@bigjason bigjason authored
Showing with 0 additions and 8 deletions.
  1. +0 −8 .vimrc
View
8 .vimrc
@@ -106,14 +106,6 @@ inoremap <Nul> <C-n>
" Apply the . command to all selected lines in visual mode
vnoremap <Leader>. :normal.<cr>
-" Single Char insert from normal mode.
-function! RepeatChar(char, count)
- " TODO: Needs a friendly prompt
- return repeat(a:char, a:count)
-endfunction
-nnoremap <Space> :<C-U>exec "normal i".RepeatChar(nr2char(getchar()), v:count1)<CR>
-nnoremap <Leader><Space> :<C-U>exec "normal a".RepeatChar(nr2char(getchar()), v:count1)<CR>
-
" Insert a hash rocket with <c-l>
imap <c-l> <space>=><space>
Please sign in to comment.
Something went wrong with that request. Please try again.