diff --git a/README.md b/README.md index 5c82076..81edc44 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ Minimal dotfiles for my `macOS` and `Linux`. ![platform](https://img.shields.io/badge/platform-macOS%20|%20Linux-blue) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/nomutin/dotfiles) -![GitHub repo size](https://img.shields.io/github/repo-size/nomutin/dotfiles) [![ci](https://github.com/nomutin/dotfiles/actions/workflows/ci.yaml/badge.svg)](https://github.com/nomutin/dotfiles/actions/workflows/ci.yaml) @@ -19,6 +18,7 @@ bash -c "$(curl https://raw.githubusercontent.com/nomutin/dotfiles/master/script - Shell - [bash](https://www.gnu.org/software/bash/) - Terminal Emulator - [Alacritty](https://alacritty.org/) -- Package Manager - [Homebrew](https://brew.sh), [mise](https://mise.jdx.dev/) +- CLI Manager - [mise](https://mise.jdx.dev/) +- App Manager (Mac) - [Homebrew](https://brew.sh) - Terminal Multiplexer - [zellij](https://zellij.dev) - Text Editor - [neovim](https://neovim.io) diff --git a/xdg_config/nvim/init.lua b/xdg_config/nvim/init.lua index 42ece6d..a8c1116 100644 --- a/xdg_config/nvim/init.lua +++ b/xdg_config/nvim/init.lua @@ -11,6 +11,7 @@ vim.opt.pumheight = 10 vim.opt.ignorecase = true vim.opt.smartcase = true vim.opt.scrolloff, vim.opt.sidescrolloff = 8, 8 +vim.opt.splitright, vim.opt.splitbelow = true, true vim.opt.showtabline = 2 vim.opt.laststatus = 3 vim.opt.smartindent = true @@ -20,8 +21,10 @@ vim.opt.cursorline = true vim.opt.number = true vim.opt.wrap = false vim.opt.list = true -vim.keymap.set("i", "jk", "", { noremap = true }) + vim.api.nvim_set_hl(0, "Type", { fg = "NvimLightBlue" }) +vim.keymap.set("i", "jk", "", { noremap = true }) +vim.keymap.set("t", "fd", "", { noremap = true }) -- ====== CLIPBOARD ====== local function paste(_) @@ -44,18 +47,13 @@ vim.opt.rtp:prepend(lazypath) require("lazy").setup({ { "saghen/blink.cmp", - lazy = false, + event = "InsertEnter", version = "v0.*", opts = { trigger = { signature_help = { enabled = true } }, windows = { autocomplete = { selection = "auto_insert" }, documentation = { auto_show = true } }, }, }, - { - "zbirenbaum/copilot.lua", - event = "InsertEnter", - opts = { suggestion = { auto_trigger = true, hide_during_completion = false } }, - }, { "folke/flash.nvim", keys = { @@ -91,12 +89,18 @@ require("lazy").setup({ main = "nvim-treesitter.configs", opts = { highlight = { enable = true }, indent = { enable = true } }, }, + { + "supermaven-inc/supermaven-nvim", + event = "InsertEnter", + opts = { keymaps = { accept_suggestion = "" } }, + }, { "nvim-telescope/telescope.nvim", dependencies = { "nvim-lua/plenary.nvim", "nvim-telescope/telescope-file-browser.nvim" }, keys = { { "f", "Telescope find_files", desc = "Find Files" }, { "/", "Telescope live_grep", desc = "Search Word" }, + { "b", "Telescope buffers", desc = "List Buffers" }, { "n", "Telescope file_browser hidden=true path=%:p:h", desc = "Open File Browser" }, }, },