2023-07-28 06:22:35 +00:00
|
|
|
(let [nmap #(vim.keymap.set [:n] $1 $2 {:desc $3})]
|
2023-07-27 13:11:43 +00:00
|
|
|
(nmap "<Tab>" ":bnext<CR>" "Next Buffer")
|
|
|
|
(nmap "<S-Tab>" ":bprevious<CR>" "Previous Buffer")
|
|
|
|
(nmap "<C-X>" ":write|bdelete<CR>" "Save and delete buffer")
|
|
|
|
;; fuzzy finding
|
|
|
|
(nmap "<C-P>" ":Telescope find_files<CR>" "Telescope find_files")
|
2023-07-28 03:07:29 +00:00
|
|
|
(nmap "<C-F>" ":Telescope live_grep<CR>" "Telescope live_grep")
|
|
|
|
(nmap "<C-B>" ":Telescope buffers<CR>" "Telescope buffers")
|
2023-07-28 06:22:35 +00:00
|
|
|
(nmap "<C-T>" ":Telescope treesitter<CR>" "Telescope treesitter"))
|