From 465dabc8b0d87082cbb6bf1d52e6ef87d4cc0836 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 31 Mar 2023 00:33:54 +0400 Subject: Вынес клавиши в отдельный файл MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Valentin Popov --- lua/keymaps.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 lua/keymaps.lua (limited to 'lua/keymaps.lua') diff --git a/lua/keymaps.lua b/lua/keymaps.lua new file mode 100644 index 0000000..bd55d91 --- /dev/null +++ b/lua/keymaps.lua @@ -0,0 +1,5 @@ +local default_opts = { noremap = true, silent = true } +local map = vim.api.nvim_set_keymap + +-- Отображение структуры классов и функций файла +map('n', '', ':TagbarToggle', default_opts) -- cgit v1.2.3