minor tweaks for i3, nvim, rofi
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
-- filetype-specific keybinds can be found in the ftplugin folder, requires 'filetype plugin on'
|
||||
-- Functional wrapper for mapping custom keybindings
|
||||
function map(mode, lhs, rhs, opts)
|
||||
local options = { noremap = true }
|
||||
if opts then
|
||||
|
||||
@@ -18,6 +18,8 @@ packer.startup(function()
|
||||
local use = use
|
||||
use 'neovim/nvim-lspconfig'
|
||||
use 'nvim-treesitter/nvim-treesitter'
|
||||
use 'kylechui/nvim-surround'
|
||||
-- use nvim-leap
|
||||
end
|
||||
)
|
||||
--[[ PLUGIN CONFIGURATION
|
||||
|
||||
Reference in New Issue
Block a user