Skip to content

Instantly share code, notes, and snippets.

@numEricL
numEricL / feywild.vim
Last active February 25, 2026 18:47
vim/nvim colorscheme
" this file: colors/feywild.vim
highlight clear
if exists('syntax_on') | syntax reset | endif
let g:colors_name = 'feywild'
if !exists('g:use_term_bg') | let g:use_term_bg = 0 | endif
if !exists('g:use_term_fg') | let g:use_term_fg = 0 | endif
call feywild_colorscheme#Set()
@numEricL
numEricL / bracket_textobj.vim
Last active January 2, 2026 08:24
Create vim text object for unified brackets ( { { etc
" install cyclops.vim to enable dot or pair repeat functionality
let s:begin_delimiters = '({['
let s:end_delimiters = ')}]'
let s:delimiters = s:begin_delimiters .. s:end_delimiters
xmap ad <cmd>call <sid>VisualBracketTextObj('expand', 'all', v:count1)<cr>
omap ad <cmd>call <sid>OpPendingBracketTextObj('expand', 'all', v:count1)<cr>
xmap id <cmd>call <sid>VisualBracketTextObj('expand', 'inner', v:count1)<cr>
omap id <cmd>call <sid>OpPendingBracketTextObj('expand', 'inner', v:count1)<cr>