diff --git a/init.lua b/init.lua index ed50b69d7f3..f3453f63bf7 100644 --- a/init.lua +++ b/init.lua @@ -102,7 +102,7 @@ vim.g.have_nerd_font = false vim.o.number = true -- You can also add relative line numbers, to help with jumping. -- Experiment for yourself to see if you like it! --- vim.o.relativenumber = true +vim.o.relativenumber = true -- Enable mouse mode, can be useful for resizing splits for example! vim.o.mouse = 'a' @@ -255,6 +255,64 @@ rtp:prepend(lazypath) -- -- NOTE: Here is where you install your plugins. require('lazy').setup({ + -- BURAK PLUGINS Here + { + 'hat0uma/csvview.nvim', + ---@module "csvview" + ---@type CsvView.Options + opts = { + parser = { comments = { '#', '//' } }, + keymaps = { + -- Text objects for selecting fields + textobject_field_inner = { 'if', mode = { 'o', 'x' } }, + textobject_field_outer = { 'af', mode = { 'o', 'x' } }, + -- Excel-like navigation: + -- Use and to move horizontally between fields. + -- Use and to move vertically between rows and place the cursor at the end of the field. + -- Note: In terminals, you may need to enable CSI-u mode to use and . + jump_next_field_end = { '', mode = { 'n', 'v' } }, + jump_prev_field_end = { '', mode = { 'n', 'v' } }, + jump_next_row = { '', mode = { 'n', 'v' } }, + jump_prev_row = { '', mode = { 'n', 'v' } }, + }, + }, + cmd = { 'CsvViewEnable', 'CsvViewDisable', 'CsvViewToggle' }, + }, + { + 'benlubas/molten-nvim', + version = '^1.0.0', -- use version <2.0.0 to avoid breaking changes + build = ':UpdateRemotePlugins', + init = function() + -- this is an example, not a default. Please see the readme for more configuration options + vim.g.molten_output_win_max_height = 12 + end, + }, + { + 'rbong/vim-flog', + lazy = true, + cmd = { 'Flog', 'Flogsplit', 'Floggit' }, + dependencies = { + 'tpope/vim-fugitive', + }, + }, + { + 'windwp/nvim-autopairs', + event = 'InsertEnter', + config = true, + -- use opts = {} for passing setup options + -- this is equivalent to setup({}) function + }, + { + 'nvim-neo-tree/neo-tree.nvim', + branch = 'v3.x', + 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: Plugins can be added via a link or github org/name. To run setup automatically, use `opts = {}` { 'NMAC427/guess-indent.nvim', opts = {} },