From 3365a02307cc09435c44b14097bdbf1c83777dbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Wi=C4=85cek?= Date: Thu, 28 Nov 2024 16:50:51 +0100 Subject: [PATCH 1/3] Update readme --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f278fc5..7ca519e 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,19 @@ Then, run `:Lazy` to install plugins. - `` opens a popup window with recursive grep search in the current directory. Blazing fast ⚡ thanks to `ripgrep`. - `` does the same but with file names. Superfast thanks to `fzf` 🔥 - `` opens a terminal in vertical split on the right already in insert mode. Ready to type commands 👨‍💻 - - `` opens neogit  + - `` opens neogit 🌳 + - `` opens file manager in a floating window 🛢️ - `` shows git diff of the current line thanks to `gitsigns`. - `` (un)comments either current line, or visually selected block of code 🔎 +### 🤖 AI assistance + +Codeium suggests snippets while typing. +Use the following: + - `` to acccept the suggestion + - `` to cycle through the suggestions + - `` to cycle backwards + ### 📖 Status Line Using [lualine](https://github.com/nvim-lualine/lualine.nvim), I built a status line which also includes tabs, and shows some other goodies: @@ -60,6 +69,7 @@ Using [lualine](https://github.com/nvim-lualine/lualine.nvim), I built a status - [noice](https://github.com/folke/noice.nvim) - [nvim-comment](https://github.com/terrortylor/nvim-comment) - [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) + - [oil](https://github.com/stevearc/oil.nvim) - [telescope](https://github.com/nvim-telescope/telescope.nvim) - [tokyonight](https://github.com/folke/tokyonight.nvim) - [treesitter](https://github.com/nvim-treesitter/nvim-treesitter) From 166d56e99e0085b0babca2559a3aaf288d2fb48f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Wi=C4=85cek?= Date: Thu, 28 Nov 2024 16:52:24 +0100 Subject: [PATCH 2/3] Mention neocodeium --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7ca519e..937f6b2 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Then, run `:Lazy` to install plugins. ### 🤖 AI assistance -Codeium suggests snippets while typing. +Codeium suggests snippets while typing, thanks to `neocodeium` plugin. Use the following: - `` to acccept the suggestion - `` to cycle through the suggestions @@ -65,6 +65,7 @@ Using [lualine](https://github.com/nvim-lualine/lualine.nvim), I built a status - [conform](https://github.com/stevearc/conform.nvim) - [gitsigns](https://github.com/lewis6991/gitsigns.nvim) - [lualine](https://github.com/nvim-lualine/lualine.nvim) + - [neocodeium](https://github.com/monkoose/neocodeium) - [neogit](https://github.com/NeogitOrg/neogit) - [noice](https://github.com/folke/noice.nvim) - [nvim-comment](https://github.com/terrortylor/nvim-comment) From 2dc999672ba7e05b01d7f524dd87fb3055d17751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Wi=C4=85cek?= Date: Thu, 16 Jan 2025 10:34:45 +0100 Subject: [PATCH 3/3] Map additional leader --- lua/mappings.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lua/mappings.lua b/lua/mappings.lua index f4c3275..a0c73c7 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -1,7 +1,13 @@ local map = vim.api.nvim_set_keymap local options = { noremap = true } -vim.g.mapleader = " " +vim.g.mapleader = vim.api.nvim_replace_termcodes("", false, false, true) +vim.keymap.set( + "", + "", + vim.api.nvim_replace_termcodes("", false, false, true), + { remap = true } +) map("n", ";", ":", options) map("v", ";", ":", options)