diff --git a/common/bin/pass-chooser b/common/bin/pass-chooser index bd5c566..31c385f 100755 --- a/common/bin/pass-chooser +++ b/common/bin/pass-chooser @@ -1,2 +1,2 @@ #!/usr/bin/env sh -env FZFP_HEIGHT="100%" floating-term bash -c "fzfp | head -n 1 | wl-copy &" +env FZFP_HEIGHT="100%" floating-term fish -c "fzfp | head -n 1 | clip &" diff --git a/common/neovim/colors/donokai.vim b/common/neovim/colors/donokai.vim index 48d3a57..51f026d 100644 --- a/common/neovim/colors/donokai.vim +++ b/common/neovim/colors/donokai.vim @@ -19,6 +19,7 @@ hi indentblanklinechar cterm=none ctermfg=236 hi signcolumn cterm=none ctermfg=234 ctermbg=0 hi matchparen cterm=none ctermbg=5 ctermfg=0 hi search cterm=bold ctermbg=4 +hi incsearch cterm=bold ctermbg=4 hi todo cterm=none ctermfg=7 ctermbg=240 hi comment cterm=none ctermfg=240 diff --git a/common/neovim/lua/options.lua b/common/neovim/lua/options.lua index 4c82096..2f81dea 100644 --- a/common/neovim/lua/options.lua +++ b/common/neovim/lua/options.lua @@ -72,8 +72,9 @@ function SynGroup() print(vim.fn.synIDattr(s, 'name') .. ' -> ' .. vim.fn.synIDattr(vim.fn.synIDtrans(s), 'name')) end -vim.api.nvim_command[[ - au! FileType gitcommit exec 'norm gg' | startinsert! - au! BufNewFile,BufRead *.slimleex set syntax=slim - command! W write -]] +print(vim.api.nvim_exec([[ +au! TextYankPost * silent! lua vim.highlight.on_yank { higroup='Search', timeout=200 } +au! FileType gitcommit exec 'norm gg' | startinsert! +au! BufNewFile,BufRead *.slimleex set syntax=slime +command! W write +]], true))