10 lines
436 B
Plaintext
10 lines
436 B
Plaintext
|
(let [nmap #(vim.keymap.set :n $1 $2 {:desc "$3"})]
|
||
|
(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")
|
||
|
(nmap "<C-F>" ":Telescope live_grep<CR>" "Telescope find_files")
|
||
|
(nmap "<C-B>" ":Telescope buffers<CR>" "Telescope find_files")
|
||
|
)
|