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>") |