mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-21 22:06:29 +00:00
update vim config
This commit is contained in:
parent
b8ba806267
commit
fd1bb911cd
2 changed files with 15 additions and 1 deletions
|
@ -75,7 +75,7 @@ return require('lazy').setup({
|
|||
popup_border_style = "rounded",
|
||||
enable_git_status = true,
|
||||
enable_diagnostics = true,
|
||||
enable_normal_mode_for_inputs = true, -- Enable normal mode for input dialogs.
|
||||
--enable_normal_mode_for_inputs = true, -- Enable normal mode for input dialogs.
|
||||
open_files_do_not_replace_types = { "terminal", "trouble", "qf" }, -- when opening files, do not use windows containing these filetypes or buftypes
|
||||
sort_case_insensitive = false, -- used when sorting files and directories in the tree
|
||||
sort_function = nil , -- use a custom function for sorting files and directories in the tree
|
||||
|
@ -86,6 +86,18 @@ return require('lazy').setup({
|
|||
-- return a.type > b.type
|
||||
-- end
|
||||
-- end , -- this sorts files and directories descendantly
|
||||
|
||||
event_handlers = {
|
||||
{
|
||||
event = "neo_tree_popup_input_ready",
|
||||
---@param args { bufnr: integer, winid: integer }
|
||||
handler = function(args)
|
||||
vim.cmd("stopinsert")
|
||||
vim.keymap.set("i", "<esc>", vim.cmd.stopinsert, { noremap = true, buffer = args.bufnr })
|
||||
end,
|
||||
}
|
||||
},
|
||||
|
||||
default_component_configs = {
|
||||
container = {
|
||||
enable_character_fade = true
|
||||
|
|
|
@ -3,6 +3,8 @@ local wezterm = require 'wezterm'
|
|||
-- Creates a config object which we will be adding our config to
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
config.enable_wayland = true
|
||||
|
||||
-- Find them here: https://wezfurlong.org/wezterm/colorschemes/index.html
|
||||
-- config.color_scheme = 'Ayu Dark (Gogh)'
|
||||
config.color_scheme = 'GruvboxDarkHard'
|
||||
|
|
Loading…
Reference in a new issue