From 7f4da2ea8cd858d192763278942d6250b6834205 Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Wed, 22 Nov 2023 08:54:33 +0530 Subject: [PATCH] changes yay --- .bashrc | 3 +++ nvim/init.lua | 8 +++++++- nvim/lua/user/basics.lua | 6 ++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 9738ce9..f07fc9b 100644 --- a/.bashrc +++ b/.bashrc @@ -89,5 +89,8 @@ export CHROME_EXECUTABLE=brave export PNPM_HOME="/home/ayush/.local/share/pnpm" export PATH="$PNPM_HOME:$PATH" +# composer globals +export PATH=$PATH:~/.config/composer + # nvm source /usr/share/nvm/init-nvm.sh diff --git a/nvim/init.lua b/nvim/init.lua index 63168fb..0bf26af 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -52,6 +52,8 @@ require("packer").startup(function() -- QOL use 'm4xshen/autoclose.nvim' + use 'nvim-tree/nvim-tree.lua' + use 'nvim-tree/nvim-web-devicons' end) require("user.basics") @@ -104,17 +106,21 @@ configs.setup({ vim.opt.list = true vim.opt.listchars:append("space:⋅") vim.opt.listchars:append("eol:↴") +vim.g.loaded_netrw = 1 +vim.g.loaded_netrwPlugin = 1 require("ibl").setup() require("autoclose").setup() +require("nvim-tree").setup() +nmap("", "NvimTreeToggle") + nmap("", "TablineTabNew") nmap("", "TablineBufferNext") nmap("", "TablineBufferPrevious") nmap("", "bd") nmap("", "bd!") -nmap("", "ls") nmap("", "Goyo") require("user.cmp") diff --git a/nvim/lua/user/basics.lua b/nvim/lua/user/basics.lua index cfb3449..63da0aa 100644 --- a/nvim/lua/user/basics.lua +++ b/nvim/lua/user/basics.lua @@ -22,6 +22,7 @@ vim.opt.cmdheight = 2 vim.opt.hidden = true vim.opt.termguicolors = true vim.opt.completeopt = { "menu", "menuone", "noselect" } +vim.o.guifont = "Roboto Mono for Powerline:h14" vim.cmd([[ syntax on @@ -29,3 +30,8 @@ syntax enable hi CursorLine cterm=NONE ctermbg=237 ctermfg=NONE set clipboard+=unnamedplus ]]) + +if vim.g.neovide then + vim.opt.linespace = 4 + vim.g.neovide_cursor_animation_length = 0 +end