diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 9ce6859..330f6fd 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -229,8 +229,7 @@ command C let @/="" command CC :%s#_\(\l\)#\u\1#g command U :%s#\C\(\<\u[a-z0-9]\+\|[a-z0-9]\+\)\(\u\)#\l\1_\l\2#g -map y "*y -map p "*p +" clipboard mappings moved to end of file nmap =j :%!python3 -m json.tool @@ -326,7 +325,7 @@ inoremap ¬ gti inoremap gTi inoremap gti -set clipboard= +set clipboard=unnamedplus let g:EasyClipShareYanks = 1 @@ -1070,7 +1069,7 @@ nmap :CocCommand java.debug.vimspector.start " Nim: replace comment above with comment below -let @t = '/^proc ?^\_[\n]## V/\_[€kb€kb€kb^\_[\n\€kb]prc€kboc m/\.} pdd' +let @t = '/^proc ?^\_[\n]## V/\_[�kb�kb�kb^\_[\n\�kb]prc�kboc m/\.} pdd' let &t_SI = "\e[5 q" let &t_EI = "\e[2 q" @@ -1078,3 +1077,40 @@ au FileType vue let b:coc_root_patterns = ['.git', '.env', 'package.json', 'tsco autocmd Filetype typescript setlocal ts=2 sts=2 sw=2 expandtab autocmd Filetype vue setlocal ts=2 sts=2 sw=2 expandtab + +" init.vim + +set termguicolors +set cursorline + +function! s:SetTransparent() abort + for g in [ + \ 'Normal', 'NormalNC', 'SignColumn', 'EndOfBuffer', 'FoldColumn', + \ 'LineNr', 'MsgArea', 'CursorLine', 'CursorLineNr', + \ 'StatusLine', 'StatusLineNC', 'WinSeparator', 'VertSplit', + \ 'NormalFloat', 'FloatBorder' + \ ] + execute 'hi ' . g . ' ctermbg=NONE guibg=NONE' + endfor +endfunction + +augroup TransparentUI + autocmd! + autocmd ColorScheme * call s:SetTransparent() +augroup END + +call s:SetTransparent() + +set cursorline +set cursorlineopt=line + +hi CursorLine guibg=NONE ctermbg=NONE gui=bold cterm=bold +" Bold + undercurl (very subtle if your terminal supports it) +set cursorline +set cursorlineopt=line +hi CursorLine guibg=NONE ctermbg=NONE gui=bold,undercurl cterm=bold guisp=#777777 + +nmap y "+y +vmap y "+y +nmap p "+p +vmap p "+p diff --git a/.zshrc b/.zshrc index aa1deac..cfff09d 100644 --- a/.zshrc +++ b/.zshrc @@ -63,5 +63,3 @@ HISTFILE=$HOME/.zsh_history setopt APPEND_HISTORY INC_APPEND_HISTORY SHARE_HISTORY export TERM=xterm-256color - -. "$HOME/.langflow/uv/env"