Compare commits
No commits in common. "c0efc6d039dadf17c2748692e3ecc7e338defbf5" and "ebcbbae0d06aec5b492a498ad1c43e4ecc6882c7" have entirely different histories.
c0efc6d039
...
ebcbbae0d0
31
init.lua
31
init.lua
|
|
@ -254,29 +254,6 @@ require('lazy').setup({
|
|||
build = ':TSUpdate',
|
||||
},
|
||||
|
||||
|
||||
-- Neotree
|
||||
{
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v3.x",
|
||||
config = function()
|
||||
require('neo-tree').setup {
|
||||
filesystem = {
|
||||
filtered_items = {
|
||||
hide_dotfiles = true,
|
||||
hide_gitignore = true,
|
||||
},
|
||||
hijack_netrw_behavior = "open_default",
|
||||
},
|
||||
}
|
||||
end,
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
"MunifTanjim/nui.nvim",
|
||||
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
|
||||
},
|
||||
}
|
||||
-- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart
|
||||
-- These are some example plugins that I've included in the kickstart repository.
|
||||
-- Uncomment any of the lines below to enable them.
|
||||
|
|
@ -297,7 +274,7 @@ require('lazy').setup({
|
|||
-- NOTE: You can change these options as you wish!
|
||||
|
||||
-- Set highlight on search
|
||||
vim.o.hlsearch = true
|
||||
vim.o.hlsearch = false
|
||||
|
||||
-- Make line numbers default
|
||||
vim.wo.number = true
|
||||
|
|
@ -517,12 +494,6 @@ end, 0)
|
|||
-- Newline on <CR>
|
||||
vim.keymap.set('n', '<CR>', 'o<Esc>')
|
||||
|
||||
-- Drop hlsearch
|
||||
vim.keymap.set('n', '?q', ':set hlsearch!<CR>')
|
||||
|
||||
-- Drop line numbers
|
||||
vim.keymap.set('n', '?l', ':set number!<CR>')
|
||||
|
||||
-- [[ Configure LSP ]]
|
||||
-- This function gets run when an LSP connects to a particular buffer.
|
||||
local on_attach = function(_, bufnr)
|
||||
|
|
|
|||
Loading…
Reference in New Issue