diff options
Diffstat (limited to 'utils/installer/config_win.example.lua')
| -rw-r--r-- | utils/installer/config_win.example.lua | 21 | 
1 files changed, 15 insertions, 6 deletions
| diff --git a/utils/installer/config_win.example.lua b/utils/installer/config_win.example.lua index b659263a..78468194 100644 --- a/utils/installer/config_win.example.lua +++ b/utils/installer/config_win.example.lua @@ -37,9 +37,9 @@ lvim.leader = "space"  -- add your own keymapping  lvim.keys.normal_mode["<C-s>"] = ":w<cr>"  -- unmap a default keymapping --- lvim.keys.normal_mode["<C-Up>"] = false --- edit a default keymapping --- lvim.keys.normal_mode["<C-q>"] = ":q<cr>" +-- vim.keymap.del("n", "<C-Up>") +-- override a default keymapping +-- lvim.keys.normal_mode["<C-q>"] = ":q<cr>" -- or vim.keymap.set("n", "<C-q>", ":q<cr>" )  -- Change Telescope navigation to use j and k for navigation and n and p for history in both input and normal mode.  -- we use protected-mode (pcall) just in case the plugin wasn't loaded yet. @@ -168,6 +168,15 @@ lvim.builtin.treesitter.highlight.enabled = true  -- }  -- Autocommands (https://neovim.io/doc/user/autocmd.html) --- lvim.autocommands.custom_groups = { ---   { "BufWinEnter", "*.lua", "setlocal ts=8 sw=8" }, --- } +-- vim.api.nvim_create_autocmd("BufEnter", { +--   pattern = { "*.json", "*.jsonc" }, +--   -- enable wrap mode for json files only +--   command = "setlocal wrap", +-- }) +-- vim.api.nvim_create_autocmd("FileType", { +--   pattern = "zsh", +--   callback = function() +--     -- let treesitter use bash highlight for zsh files as well +--     require("nvim-treesitter.highlight").attach(0, "bash") +--   end, +-- }) | 
