Revisión | fb843c4009ca4fb55b2ae9aa855d433733b22700 (tree) |
---|---|
Tiempo | 2023-02-03 02:55:05 |
Autor | badcoff33 <none@none> |
Commiter | badcoff33 |
minor updates
@@ -26,9 +26,11 @@ endif | ||
26 | 26 | " source current visual region |
27 | 27 | vnoremap <buffer> <CR> :source<CR> |
28 | 28 | |
29 | -iabbrev <buffer> xfun function!<CR>endfunction<Up><End> | |
29 | +iabbrev <buffer> xfun function!<CR>endfunction<C-f><Up><End> | |
30 | 30 | iabbrev <buffer> xdef def<CR>enddef<Up><End> |
31 | 31 | iabbrev <buffer> xaug augroup NAME<CR>au!<CR>augroup END<Up><Up><End> |
32 | +iabbrev <buffer> xfor for<CR>endfor<C-f><CR><Up><Up><End> | |
33 | +iabbrev <buffer> xif if<CR>endif<C-f><CR><Up><Up><End> | |
32 | 34 | |
33 | 35 | if !exists('*LogError') |
34 | 36 | " Description: Support testing with Vim's assert functions |
@@ -138,8 +138,6 @@ nnoremap <A-Right> <End> | ||
138 | 138 | xnoremap <A-Left> 0 |
139 | 139 | xnoremap <A-Right> $ |
140 | 140 | |
141 | -" Replace current inner word with one key press | |
142 | -nnoremap <BS> ciw | |
143 | 141 | " Alternative keys to delete words in insert mode |
144 | 142 | inoremap <C-BS> <C-o>db |
145 | 143 | inoremap <C-Del> <C-o>de |
@@ -286,7 +284,7 @@ function! s:ToggleQuickfix() | ||
286 | 284 | endif |
287 | 285 | endif |
288 | 286 | endfunction |
289 | -nnoremap <Leader>c <cmd>call <SID>ToggleQuickfix()<CR> | |
287 | +nnoremap <BS> <cmd>call <SID>ToggleQuickfix()<CR> | |
290 | 288 | nnoremap <Leader>G <cmd>clast<CR> |
291 | 289 | |
292 | 290 | let g:ft2glob = { 'c':'*.[ch]$', 'vim':'*.vim', 'py':'*.py$', 'cmake':'*cmake*' } |