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 local hls = require("color.night").hls
require("color").apply_hls((hls)) require("color").apply_hls((hls))
--require'lspconfig'.gopls.setup{}
require("bootstrap") require("bootstrap")
require("dep") { require("dep") {
} }

View file

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