Skip to content

Commit

Permalink
Merge pull request #559 from rekendahl/3.0
Browse files Browse the repository at this point in the history
Screen program mapping is now opt-in (as it slows down exits from insert back to normal mode)
  • Loading branch information
johntyree committed Feb 12, 2014
2 parents ebd410b + 9b23636 commit 1a4fd8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -371,13 +371,6 @@
" http://stackoverflow.com/a/8064607/127816
vnoremap . :normal .<CR>
" Fix home and end keybindings for screen, particularly on mac
" - for some reason this fixes the arrow keys too. huh.
map  $
imap  $
map  g0
imap  g0
" For when you forget to sudo.. Really Write the file.
cmap w!! w !sudo tee % >/dev/null
Expand Down Expand Up @@ -585,7 +578,7 @@
nnoremap <silent> <leader>gi :Git add -p %<CR>
nnoremap <silent> <leader>gg :SignifyToggle<CR>
"}

" YouCompleteMe {
if count(g:spf13_bundle_groups, 'youcompleteme')
let g:acp_enableAtStartup = 0
Expand All @@ -597,7 +590,7 @@
let g:UltiSnipsExpandTrigger = '<C-j>'
let g:UltiSnipsJumpForwardTrigger = '<C-j>'
let g:UltiSnipsJumpBackwardTrigger = '<C-k>'

" Enable omni completion.
autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS
autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags
Expand Down
1 change: 1 addition & 0 deletions .vimrc.before
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
" let g:multi_cursor_quit_key='<Esc>'
" Require a special keypress to enter multiple cursors mode
" let g:multi_cursor_start_key='+'

" }

" Use fork before if available {
Expand Down

0 comments on commit 1a4fd8b

Please sign in to comment.