local packer_path = vim.fn.stdpath('config') .. '/site' vim.o.packpath = vim.o.packpath .. ',' .. packer_path require("plugins") require("plugin_conf") require("lsp") -- OPTIONS local opt = vim.opt opt.number = true opt.relativenumber = false opt.cursorline = true opt.scrolloff = 4 opt.signcolumn = "yes" opt.encoding = 'utf8' opt.fileencoding = 'utf8' opt.syntax = "ON" opt.termguicolors = true vim.api.nvim_command('colorscheme dracula') opt.ignorecase = true opt.smartcase = true opt.incsearch = true opt.hlsearch = false opt.expandtab = true opt.shiftwidth = 2 opt.softtabstop = 2 opt.tabstop = 2 opt.splitright = true opt.splitbelow = true -- KEYS local map = vim.api.nvim_set_keymap local key = '' map('i', key .. 'jk', '', {}) map('n', key .. 'n', [[:NvimTreeToggle]], {}) map('n', key .. 'f', [[:Telescope find_files]], {}) map('n', key .. 'g', [[:Git]], {}) map('n', key .. 'to', [[:TermOpen]], {}) -- Move panes map('n', '', 'h', {}) map('n', '', 'j', {}) map('n', '', 'k', {}) map('n', '', 'l', {})