Skip to content

Commit 1a4fd8b

Browse files
committed
Merge pull request spf13#559 from rekendahl/3.0
Screen program mapping is now opt-in (as it slows down exits from insert back to normal mode)
2 parents ebd410b + 9b23636 commit 1a4fd8b

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.vimrc

+2-9
Original file line numberDiff line numberDiff line change
@@ -371,13 +371,6 @@
371371
" http://stackoverflow.com/a/8064607/127816
372372
vnoremap . :normal .<CR>
373373
374-
" Fix home and end keybindings for screen, particularly on mac
375-
" - for some reason this fixes the arrow keys too. huh.
376-
map  $
377-
imap  $
378-
map  g0
379-
imap  g0
380-
381374
" For when you forget to sudo.. Really Write the file.
382375
cmap w!! w !sudo tee % >/dev/null
383376
@@ -585,7 +578,7 @@
585578
nnoremap <silent> <leader>gi :Git add -p %<CR>
586579
nnoremap <silent> <leader>gg :SignifyToggle<CR>
587580
"}
588-
581+
589582
" YouCompleteMe {
590583
if count(g:spf13_bundle_groups, 'youcompleteme')
591584
let g:acp_enableAtStartup = 0
@@ -597,7 +590,7 @@
597590
let g:UltiSnipsExpandTrigger = '<C-j>'
598591
let g:UltiSnipsJumpForwardTrigger = '<C-j>'
599592
let g:UltiSnipsJumpBackwardTrigger = '<C-k>'
600-
593+
601594
" Enable omni completion.
602595
autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS
603596
autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags

.vimrc.before

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
" let g:multi_cursor_quit_key='<Esc>'
9292
" Require a special keypress to enter multiple cursors mode
9393
" let g:multi_cursor_start_key='+'
94+
9495
" }
9596

9697
" Use fork before if available {

0 commit comments

Comments
 (0)