Added mouse toggling folds.

This commit is contained in:
Andrey Parhomenko 2023-09-20 19:45:45 +03:00
parent b1e9a3f497
commit 5ab36cc16e
2 changed files with 3 additions and 0 deletions

View file

@ -25,6 +25,8 @@ require("maps")
local hls = require("color.night").hls
require("color").apply_hls((hls))
--require'lspconfig'.gopls.setup{}
require("bootstrap")
require("dep") {
}

View file

@ -34,6 +34,7 @@ local opts = {nowait=true, silent = true}
map('n', '\\tn', ':tabnew\n', opts)
-- Fold
map('n', '<2-LeftMouse>', 'za', opts)
-- Insert
-- Literal tabs with Shift-Tab
map('i', '<S-Tab>', '\t', opts)