Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
lldong committed Apr 4, 2014
1 parent aeff377 commit 5d940f7
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ NeoBundle 'SrcExpl'
NeoBundle 'sudo.vim'
NeoBundle 't9md/vim-ruby-xmpfilter'
NeoBundle 'taglist.vim'
NeoBundle 'terryma/vim-multiple-cursors'
NeoBundle 'thoughtbot/vim-rspec'
NeoBundle 'toggle_words.vim'
NeoBundle 'tomtom/tlib_vim'
Expand Down Expand Up @@ -231,10 +230,6 @@ nnoremap Y y$
nnoremap <leader>ev :e $MYVIMRC<cr>
nnoremap <leader>sv :source $MYVIMRC<cr>
" open word under cursor in Dash
nmap <leader>di :silent !open dash://iphoneos:<cword><cr>
nmap <leader>dr :silent !open dash://ruby:<cword><cr>
" toggle paste mode
nnoremap <leader>p :set paste!<cr>
Expand Down Expand Up @@ -421,7 +416,13 @@ smap <expr><TAB> neosnippet#expandable_or_jumpable() ?
\: "\<TAB>"
" embrace the hard mode
autocmd VimEnter,BufNewFile,BufReadPost * silent! call HardMode()
nnoremap <leader>h <Esc>:call ToggleHardMode()<CR>
let g:gitgutter_realtime = 0
let g:gitgutter_eager = 0

" toggle relative number
function! NumberToggle()
set rnu!
endfunc
nnoremap <leader>rn :call NumberToggle()<cr>

0 comments on commit 5d940f7

Please sign in to comment.