Compare commits

..
3 Commits
Author SHA1 Message Date
don philipe 345b7bd08c Grep for string under cursor with <leader>fw 2026-08-12 14:21:17 +02:00
don philipe 01e9bd37c7 Remove zsh func clone 2026-08-11 10:31:26 +02:00
don philipe a65784223d Add zsh func to print ssl cert 2026-08-11 09:35:41 +02:00
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -4,6 +4,7 @@ vim.keymap.set('n', '<leader>fg', builtin.live_grep, { desc = 'Telescope live gr
vim.keymap.set('n', '<leader>fb', builtin.buffers, { desc = 'Telescope buffers' })
vim.keymap.set('n', '<leader>fh', builtin.help_tags, { desc = 'Telescope help tags' })
vim.keymap.set('n', '<leader>ft', builtin.treesitter, { desc = 'Telescope treesitter picker' })
vim.keymap.set('n', '<leader>fw', function() require('telescope.builtin').grep_string() end, { desc = 'Telescope cursor picker' })
-- find selected text in visual mode with Ctrl-f via telescope:
vim.keymap.set('v', '<C-f>', 'y<ESC>:Telescope live_grep default_text=<C-r>0<CR>', default_opts)
+4 -4
View File
@@ -13,14 +13,14 @@ autotmux()
fi
}
checkpem()
{
openssl x509 -in "$1" -noout -text
}
checkcert()
{
openssl s_client -connect "$1":443 2>/dev/null
}
showcert()
{
openssl x509 -in "$1" -noout -text
}
pem2crt()
{
openssl x509 -inform PEM -in "$1" -out "${1%.*}.crt"