Update 2024-12-15 14:45 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id
2024-12-15 14:45:59 +01:00
parent beac7b226a
commit 6d6f0e9a46
66 changed files with 12003 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
" =============================================================================
" Filename: plugin/cursorword.vim
" Author: itchyny
" License: MIT License
" Last Change: 2020/05/01 19:05:29.
" =============================================================================
if exists('g:loaded_cursorword') || v:version < 703
finish
endif
let g:loaded_cursorword = 1
let s:save_cpo = &cpo
set cpo&vim
augroup cursorword
autocmd!
if has('vim_starting')
autocmd VimEnter * call cursorword#highlight() |
\ autocmd cursorword WinEnter,BufEnter * call cursorword#matchadd()
else
call cursorword#highlight()
autocmd WinEnter,BufEnter * call cursorword#matchadd()
endif
autocmd ColorScheme * call cursorword#highlight()
autocmd CursorMoved,CursorMovedI * call cursorword#cursormoved()
autocmd InsertEnter * call cursorword#matchadd(1)
autocmd InsertLeave * call cursorword#matchadd(0)
augroup END
let &cpo = s:save_cpo
unlet s:save_cpo