From 737acecf1ba51039178c52c23d763b7da04c8781 Mon Sep 17 00:00:00 2001 From: max397574 Date: Tue, 9 Nov 2021 07:17:30 +0100 Subject: =?UTF-8?q?refactor(all):=20=F0=9F=94=84make=20some=20things=20sim?= =?UTF-8?q?pler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/startup/utils.lua | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'lua/startup/utils.lua') diff --git a/lua/startup/utils.lua b/lua/startup/utils.lua index 62d9cca..76b6f4b 100644 --- a/lua/startup/utils.lua +++ b/lua/startup/utils.lua @@ -1,4 +1,4 @@ -U = {} +local U = {} local flag = false local new_cursor_pos local help_window @@ -17,13 +17,6 @@ local function bad_line() return true end --- local colors = require("startup.config").colors -local colors = { - background = "#1f2227", - heading_fg = "#009900", - tools_fg = "#009900", -} - U.cursor_pos = vim.api.nvim_win_get_cursor(0) function U.spaces(amount) @@ -34,20 +27,6 @@ function U.key_help() local settings = require("startup").settings local buf = vim.api.nvim_create_buf(false, true) vim.api.nvim_buf_set_option(buf, "bufhidden", "wipe") - vim.api.nvim_buf_set_keymap( - buf, - "n", - "", - "q", - { noremap = true, silent = true, nowait = true } - ) - vim.api.nvim_buf_set_keymap( - buf, - "n", - "q", - "q", - { noremap = true, silent = true, nowait = true } - ) local lines = { " Startup.nvim Mappings ", "", -- cgit v1.2.3