diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-07 14:17:28 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-07 14:17:28 +0200 |
| commit | 2951871a27ec36694e160c8537f13817df42acca (patch) | |
| tree | f0fc1b875bb65b056dc6c705310447292d9a3d0e | |
| parent | c581c5ff3e2575b07ec872ba75ff3791dfff3e0a (diff) | |
| download | dotfiles-2951871a27ec36694e160c8537f13817df42acca.tar.gz dotfiles-2951871a27ec36694e160c8537f13817df42acca.zip | |
misc(nvim): edit comment, descriptions, and user command names
| -rw-r--r-- | .config/nvim/plugin/00-plugins.lua | 2 | ||||
| -rw-r--r-- | .config/nvim/plugin/40-colors.lua | 2 | ||||
| -rw-r--r-- | .config/nvim/plugin/50-fzf-lua.lua | 10 | ||||
| -rw-r--r-- | .config/nvim/plugin/50-tabline.lua | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/.config/nvim/plugin/00-plugins.lua b/.config/nvim/plugin/00-plugins.lua index 9792db1..625e8c2 100644 --- a/.config/nvim/plugin/00-plugins.lua +++ b/.config/nvim/plugin/00-plugins.lua @@ -1,5 +1,5 @@ -- --- Plugin declarations +-- Remote plugins installation -- vim.pack.add({ diff --git a/.config/nvim/plugin/40-colors.lua b/.config/nvim/plugin/40-colors.lua index 32ae452..c587767 100644 --- a/.config/nvim/plugin/40-colors.lua +++ b/.config/nvim/plugin/40-colors.lua @@ -161,4 +161,4 @@ apply_highlights() vim.api.nvim_create_user_command("ColorsNext", next_colorscheme, { desc = "Load next color scheme" }) vim.api.nvim_create_user_command("ColorsRandom", random_colorscheme, { desc = "Load random color scheme" }) -vim.api.nvim_create_user_command("ColorsThemeToggle", toggle_theme, { desc = "Toggle light/dark theme" }) +vim.api.nvim_create_user_command("ColorsToggle", toggle_theme, { desc = "Toggle light/dark theme" }) diff --git a/.config/nvim/plugin/50-fzf-lua.lua b/.config/nvim/plugin/50-fzf-lua.lua index 842274b..805bd20 100644 --- a/.config/nvim/plugin/50-fzf-lua.lua +++ b/.config/nvim/plugin/50-fzf-lua.lua @@ -17,8 +17,8 @@ fzf.setup({ }, }) -vim.keymap.set("n", "<Leader>ff", fzf.files, { desc = "Find files" }) -vim.keymap.set("n", "<Leader>fg", fzf.live_grep, { desc = "Find by grep (live)" }) -vim.keymap.set("n", "<Leader>fb", fzf.buffers, { desc = "Find buffers" }) -vim.keymap.set("n", "<Leader>fh", fzf.helptags, { desc = "Find help tags" }) -vim.keymap.set("n", "<Leader>fr", fzf.resume, { desc = "Resume last picker" }) +vim.keymap.set("n", "<Leader>ff", fzf.files, { desc = "Fuzzy-find files" }) +vim.keymap.set("n", "<Leader>fg", fzf.live_grep, { desc = "Fuzzy-find files content" }) +vim.keymap.set("n", "<Leader>fb", fzf.buffers, { desc = "Fuzzy-find buffers" }) +vim.keymap.set("n", "<Leader>fh", fzf.helptags, { desc = "Fuzzy-find help tags" }) +vim.keymap.set("n", "<Leader>fr", fzf.resume, { desc = "Resume last fuzzy-find picker" }) diff --git a/.config/nvim/plugin/50-tabline.lua b/.config/nvim/plugin/50-tabline.lua index ae8a8d6..b2f2488 100644 --- a/.config/nvim/plugin/50-tabline.lua +++ b/.config/nvim/plugin/50-tabline.lua @@ -71,7 +71,7 @@ vim.api.nvim_create_user_command("TabRename", function(opts) vim.cmd.redrawtabline() end, { nargs = 1 }) -vim.api.nvim_create_user_command("TabRenameToCurrentFileNameNoExt", function() +vim.api.nvim_create_user_command("TabRenameFileName", function() vim.t.tabname = vim.fn.expand("%:t:r") vim.cmd.redrawtabline() end, { nargs = 0 }) |
