minor tweaks for i3, nvim, rofi

This commit is contained in:
eneller
2023-07-18 12:04:12 +02:00
parent 34da911ccf
commit f806d1f817
5 changed files with 8 additions and 12 deletions

View File

@@ -1,16 +1,8 @@
require("plugins")
require("keybinds")
--- Functional wrapper for mapping custom keybindings
--- GENERAL SETTINGS
function map(mode, lhs, rhs, opts)
local options = { noremap = true }
if opts then
options = vim.tbl_extend("force", options, opts)
end
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
end
map("i","<C-c>","<Esc>")
--- GENERAL SETTINGS
vim.o.termguicolors = true
vim.cmd('colorscheme monokai') -- set colorscheme
vim.o.syntax = 'on'