File tree Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 360
360
" http://stackoverflow.com/a/8064607/127816
361
361
vnoremap . :normal .<CR>
362
362
363
- " Fix home and end keybindings for screen, particularly on mac
363
+ " Fix home and end key bindings for screen, particularly on mac
364
364
" - for some reason this fixes the arrow keys too. huh.
365
- map [F $
366
- imap [F $
367
- map [H g0
368
- imap [H g0
365
+ " - __Note__ that this has been shown to slow down switching from insert
366
+ " to normal mode (for users that don't use screen?)
367
+ if exists (' g:spf13_screen_mapping' )
368
+ map [F $
369
+ imap [F $
370
+ map [H g0
371
+ imap [H g0
372
+ end
369
373
370
374
" For when you forget to sudo.. Really Write the file.
371
375
cmap w!! w !sudo tee % >/dev/null
570
574
nnoremap <silent> <leader> gi :Git add -p %<CR>
571
575
nnoremap <silent> <leader> gg :SignifyToggle<CR>
572
576
" }
573
-
577
+
574
578
" YouCompleteMe {
575
579
if count (g: spf13_bundle_groups , ' youcompleteme' )
576
580
let g: acp_enableAtStartup = 0
582
586
let g: UltiSnipsExpandTrigger = ' <C-j>'
583
587
let g: UltiSnipsJumpForwardTrigger = ' <C-j>'
584
588
let g: UltiSnipsJumpBackwardTrigger = ' <C-k>'
585
-
589
+
586
590
" Enable omni completion.
587
591
autocmd FileType css setlocal omnifunc = csscomplete#CompleteCSS
588
592
autocmd FileType html,markdown setlocal omnifunc = htmlcomplete#CompleteTags
Original file line number Diff line number Diff line change 85
85
" let g:multi_cursor_quit_key='<Esc>'
86
86
" Require a special keypress to enter multiple cursors mode
87
87
" let g:multi_cursor_start_key='+'
88
+
89
+ " Add mappings for Unix `screen` program.
90
+ " __Note!__ This has been shown to slow down exiting insert mode back to
91
+ " normal mode for some users (who don't use screen?)
92
+ " To enable screen mapping uncomment the following line
93
+ " let g:spf13_screen_mapping = 1
94
+
88
95
" }
89
96
90
97
" Use fork before if available {
You can’t perform that action at this time.
0 commit comments