add impatient

fix

te
18-impatient
christianchiarulli 3 years ago committed by ChristianChiarulli
parent 09938f9e8e
commit 03427b8760

@ -14,3 +14,4 @@ require "user.bufferline"
require "user.lualine" require "user.lualine"
require "user.toggleterm" require "user.toggleterm"
require "user.project" require "user.project"
require "user.impatient"

@ -92,12 +92,12 @@ bufferline.setup {
}, },
close_button = { close_button = {
guifg = { attribute = "fg", highlight = "TabLineSel" }, guifg = { attribute = "fg", highlight = "TabLine" },
guibg = { attribute = "bg", highlight = "TabLineSel" }, guibg = { attribute = "bg", highlight = "TabLine" },
}, },
close_button_visible = { close_button_visible = {
guifg = { attribute = "fg", highlight = "TabLineSel" }, guifg = { attribute = "fg", highlight = "TabLine" },
guibg = { attribute = "bg", highlight = "TabLineSel" }, guibg = { attribute = "bg", highlight = "TabLine" },
}, },
-- close_button_selected = { -- close_button_selected = {
-- guifg = {attribute='fg',highlight='TabLineSel'}, -- guifg = {attribute='fg',highlight='TabLineSel'},

@ -0,0 +1,6 @@
local status_ok, impatient = pcall(require, "impatient")
if not status_ok then
return
end
impatient.enable_profile()

@ -67,9 +67,5 @@ keymap("x", "<A-k>", ":move '<-2<CR>gv-gv", opts)
-- keymap("t", "<C-k>", "<C-\\><C-N><C-w>k", term_opts) -- keymap("t", "<C-k>", "<C-\\><C-N><C-w>k", term_opts)
-- keymap("t", "<C-l>", "<C-\\><C-N><C-w>l", term_opts) -- keymap("t", "<C-l>", "<C-\\><C-N><C-w>l", term_opts)
-- Comment
keymap("n", "<leader>/", "<cmd>lua require('Comment').toggle()<CR>", opts)
keymap("v", "<leader>/", ":lua require(\"Comment.api\").gc(vim.fn.visualmode())<cr>", opts)
-- Nvimtree -- Nvimtree
keymap("n", "<leader>e", ":NvimTreeToggle<cr>", opts) keymap("n", "<leader>e", ":NvimTreeToggle<cr>", opts)

@ -53,6 +53,7 @@ return packer.startup(function(use)
use 'nvim-lualine/lualine.nvim' use 'nvim-lualine/lualine.nvim'
use "akinsho/toggleterm.nvim" use "akinsho/toggleterm.nvim"
use "ahmedkhalf/project.nvim" use "ahmedkhalf/project.nvim"
use 'lewis6991/impatient.nvim'
-- Colorschemes -- Colorschemes
-- use "lunarvim/colorschemes" -- A bunch of colorschemes you can try out -- use "lunarvim/colorschemes" -- A bunch of colorschemes you can try out

Loading…
Cancel
Save