Created
September 17, 2024 19:53
-
-
Save minenwerfer/9d7009bd92ac95b25e975aab044b5d3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local vim = vim | |
local Plug = vim.fn['plug#'] | |
vim.opt.hidden = true | |
vim.opt.number = true | |
vim.opt.exrc = true | |
vim.opt.relativenumber = true | |
vim.opt.inccommand = 'split' | |
vim.opt.expandtab = true | |
vim.opt.showmatch = true | |
vim.opt.smartindent = true | |
vim.opt.hlsearch = true | |
vim.opt.shiftwidth = 2 | |
vim.opt.encoding = 'UTF-8' | |
vim.opt.clipboard = 'unnamedplus' | |
vim.opt.omnifunc = 'syntaxcomplete#Complete' | |
vim.opt.completeopt = 'menuone' | |
vim.keymap.set('n', 'F', ':Files<CR>') | |
vim.keymap.set('n', 'ç', ':nohlsearch<CR>') | |
vim.keymap.set('n', '<C-n>', ':NvimTreeOpen<CR>') | |
vim.cmd.colorscheme 'blue' | |
vim.cmd.highlight 'LineNr ctermfg=grey' | |
vim.g.fzf_layout = { | |
down = '~40%' | |
} | |
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" | |
if not (vim.uv or vim.loop).fs_stat(lazypath) then | |
vim.fn.system({ | |
"git", | |
"clone", | |
"--filter=blob:none", | |
"https://github.com/folke/lazy.nvim.git", | |
"--branch=stable", -- latest stable release | |
lazypath, | |
}) | |
end | |
vim.opt.rtp:prepend(lazypath) | |
require('lazy').setup({ | |
"neoclide/coc.nvim", | |
"nvim-tree/nvim-tree.lua", | |
-- "sheerun/vim-polyglot", | |
"jiangmiao/auto-pairs", | |
"alvan/vim-closetag", | |
"chrisbra/Colorizer", | |
"neovim/nvim-lspconfig", | |
"numToStr/Comment.nvim", | |
"junegunn/fzf", | |
"junegunn/fzf.vim", | |
"aeria-org/aeria.nvim", | |
-- { dir = "~/aeria-language-tools/packages/neovim" }, | |
-- { dir = "~/vim-aeria" }, | |
-- delete me | |
"prisma/vim-prisma", | |
}) | |
require('Comment').setup() | |
require('nvim-tree').setup() | |
-- vim.call('plug#begin') | |
-- | |
-- Plug 'neoclide/coc.nvim' | |
-- Plug 'preservim/nerdtree' | |
-- Plug 'sheerun/vim-polyglot' | |
-- -- Plug 'w0rp/ale' | |
-- Plug 'jiangmiao/auto-pairs' | |
-- Plug 'alvan/vim-closetag' | |
-- Plug 'chrisbra/Colorizer' | |
-- Plug 'neovim/nvim-lspconfig' | |
-- Plug 'numToStr/Comment.nvim' | |
-- Plug 'junegunn/fzf.vim' | |
-- Plug('~/aeria-language-tools/packages/neovim', { | |
-- ['do'] = function() | |
-- require('aeria') | |
-- end | |
-- }) | |
-- | |
-- vim.call('plug#end') | |
-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment