Skip to content

Instantly share code, notes, and snippets.

View stdcerr's full-sized avatar
🖥️
developing code for the joy and fascination of computing

Ron stdcerr

🖥️
developing code for the joy and fascination of computing
View GitHub Profile
@ayosec
ayosec / highlight_word_under_cursor.vim
Created November 15, 2012 03:02
Vim: Highlight word under cursor
" When the cursor is hold on a word, that word is highlighted.
" When the cursor is moving, the highlight is hidden
set updatetime=300
au! CursorMoved * set nohlsearch
au! CursorHold * set hlsearch | let @/='\<'.expand("<cword>").'\>'
set hlsearch