mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 18:38:00 +00:00
[neovim] Add base64 plugin
This commit is contained in:
parent
203e1c92c8
commit
a642c809af
@ -73,8 +73,8 @@ keymap("n", "<leader>fb", ":Telescope buffers<CR>", opts)
|
||||
keymap("n", "<leader>fc", ":Telescope commands<CR>", opts)
|
||||
|
||||
-- Comment
|
||||
keymap("n", "<leader>/", "<cmd>lua require('Comment.api').toggle.linewise.current()<CR>", opts)
|
||||
keymap("x", "<leader>/", '<ESC><CMD>lua require("Comment.api").toggle.linewise(vim.fn.visualmode())<CR>')
|
||||
keymap("n", "<leader>/", "<cmd>lua require'Comment.api'.toggle.linewise.current()<CR>", opts)
|
||||
keymap("x", "<leader>/", "<ESC><CMD>lua require'Comment.api'.toggle.linewise(vim.fn.visualmode())<CR>")
|
||||
|
||||
-- DAP
|
||||
keymap("n", "<leader>db", "<cmd>lua require'dap'.toggle_breakpoint()<cr>", opts)
|
||||
@ -91,3 +91,7 @@ keymap("n", "<leader>dt", "<cmd>lua require'dap'.terminate()<cr>", opts)
|
||||
keymap("n", "<leader>so", ":SessionManager load_session<cr>", opts)
|
||||
keymap("n", "<leader>sd", ":SessionManager delete_session<cr>", opts)
|
||||
keymap("n", "<leader>ss", ":SessionManager save_current_session<cr>", opts)
|
||||
|
||||
-- Base64
|
||||
keymap("v", "<leader>64e", ":<c-u>lua require'b64'.encode()<cr>", opts)
|
||||
keymap("v", "<leader>64d", ":<c-u>lua require'b64'.decode()<cr>", opts)
|
||||
|
@ -60,6 +60,7 @@ return packer.startup(function(use)
|
||||
branch = "v2.x",
|
||||
requires = { "MunifTanjim/nui.nvim", commit = "d12a6977846b2fa978bff89b439e509320854e10" },
|
||||
})
|
||||
use({ "taybart/b64.nvim", commit = "12dde6ebc3035f010833f513cfbd9abad92b28b3" })
|
||||
|
||||
-- Colorschemes
|
||||
use({ "folke/tokyonight.nvim", commit = "a9f4933221c315037cc6700e964ce4d97f074206" })
|
||||
|
Loading…
Reference in New Issue
Block a user