This commit is contained in:
Nathan Lebrun
2025-07-11 18:36:55 +02:00
parent 91836e8063
commit 6fc940320c
1511 changed files with 674 additions and 102348 deletions

15
nvim/lua/mappings.lua Normal file
View File

@@ -0,0 +1,15 @@
require "nvchad.mappings"
-- add yours here
local map = vim.keymap.set
local mp = vim.api.nvim_set_keymap
local opts = { noremap = true, silent = true }
map("n", ";", ":", { desc = "CMD enter command mode" })
map("i", "jk", "<ESC>")
mp("n", "<leader>pf", "<cmd>FzfLua files winopts.treesitter=true<cr>", opts)
mp("n", "<leader>pg", "<cmd>FzfLua live_grep<cr>", opts) -- Live grep
mp("n", "<leader>pb", "<cmd>FzfLua buffers<cr>", opts) -- Open buffers
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")