• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisiónfb843c4009ca4fb55b2ae9aa855d433733b22700 (tree)
Tiempo2023-02-03 02:55:05
Autorbadcoff33 <none@none>
Commiterbadcoff33

Log Message

minor updates

Cambiar Resumen

Diferencia incremental

--- a/after/ftplugin/vim.vim
+++ b/after/ftplugin/vim.vim
@@ -26,9 +26,11 @@ endif
2626 " source current visual region
2727 vnoremap <buffer> <CR> :source<CR>
2828
29-iabbrev <buffer> xfun function!<CR>endfunction<Up><End>
29+iabbrev <buffer> xfun function!<CR>endfunction<C-f><Up><End>
3030 iabbrev <buffer> xdef def<CR>enddef<Up><End>
3131 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>
3234
3335 if !exists('*LogError')
3436 " Description: Support testing with Vim's assert functions
--- a/vimrc
+++ b/vimrc
@@ -138,8 +138,6 @@ nnoremap <A-Right> <End>
138138 xnoremap <A-Left> 0
139139 xnoremap <A-Right> $
140140
141-" Replace current inner word with one key press
142-nnoremap <BS> ciw
143141 " Alternative keys to delete words in insert mode
144142 inoremap <C-BS> <C-o>db
145143 inoremap <C-Del> <C-o>de
@@ -286,7 +284,7 @@ function! s:ToggleQuickfix()
286284 endif
287285 endif
288286 endfunction
289-nnoremap <Leader>c <cmd>call <SID>ToggleQuickfix()<CR>
287+nnoremap <BS> <cmd>call <SID>ToggleQuickfix()<CR>
290288 nnoremap <Leader>G <cmd>clast<CR>
291289
292290 let g:ft2glob = { 'c':'*.[ch]$', 'vim':'*.vim', 'py':'*.py$', 'cmake':'*cmake*' }