NVIM: Added Code formatting for python

This commit is contained in:
stitchy 2024-11-27 10:46:06 +00:00
parent 4d66a5e231
commit 3ec1ba5f9b
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
4 changed files with 29 additions and 10 deletions

View file

@ -3,6 +3,7 @@ local map = vim.keymap.set
-- jk exit from insert mode
map("i", "jk", "<cmd>noh<cr><Esc>", { silent = true })
map({"n", "x"}, "<Esc>", "<cmd>noh<cr><Esc>", { silent = true })
----
-- Movements
@ -33,6 +34,8 @@ map("n", "<leader>>", "<cmd>BufferLineMoveNext<CR>", { desc = "Move buffer right
-- ToggleTerm Bindings
map("n", "<leader>a", "<cmd>ToggleTerm name=main<CR>", { desc = "Floating Terminal", silent = true })
-- Undotree
map('n', '<leader>fu', vim.cmd.UndotreeToggle)
----
-- Cool Macros
----