This commit is contained in:
Daniel Flanagan 2021-07-19 22:34:33 -05:00
parent 3433760581
commit ada22cdc5d
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
3 changed files with 8 additions and 6 deletions

View file

@ -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 &"

View file

@ -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

View file

@ -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))