.config/nvim/lua/config/maps.lua

changeset 1116
2d8f07b212e9
parent 1101
40419d8e3cbb
child 1122
8a56361b077f
equal deleted inserted replaced
1115:15ca9da8cd59 1116:2d8f07b212e9
2 opts = opts or {} 2 opts = opts or {}
3 opts.silent = opts.silent ~= false 3 opts.silent = opts.silent ~= false
4 vim.keymap.set(mode, lhs, rhs, opts) 4 vim.keymap.set(mode, lhs, rhs, opts)
5 end 5 end
6 6
7 map("n", "<F2>", ":20Lexplore<CR>") 7 map("n", "<F2>", ":Neotree reveal<CR>")
8 map("n", "<F3>", "n") 8 map("n", "<F3>", "n")
9 map("n", "<S-F3>", "N") 9 map("n", "<S-F3>", "N")
10 map("", "<F4>", ":let v:hlsearch = !v:hlsearch<CR>") 10 map("", "<F4>", ":let v:hlsearch = !v:hlsearch<CR>")
11 map("n", "<F5>", ":UndotreeToggle<CR>") 11 map("n", "<F5>", ":UndotreeToggle<CR>")
12 map("n", "<F8>", ":TagbarToggle<CR>") 12 map("n", "<F8>", ":TagbarToggle<CR>")

mercurial