Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lazy-lock.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"Align": { "branch": "master", "commit": "787662fe90cd057942bc5b682fd70c87e1a9dd77" },
"CamelCaseMotion": { "branch": "master", "commit": "e69b0024f8f63db10c5d0df26d4920760755d454" },
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"CopilotChat.nvim": { "branch": "main", "commit": "07dcc188bc488b2dafa9324bd42088640bee3d19" },
"Vim-Jinja2-Syntax": { "branch": "master", "commit": "2c17843b074b06a835f88587e1023ceff7e2c7d1" },
"VimClojure": { "branch": "master", "commit": "2a17c249571395a7f45523d38cac6a9326ecf8f1" },
Expand Down
5 changes: 2 additions & 3 deletions lua/config/keymaps.lua
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
local map = vim.keymap.set
-- Normal mode mapping for removing highlight from text search
map("n", "<Leader>nh", "<cmd>nohls<cr>", { desc = "Removes text searching highlight" })

-- clear search highlights with esc
map({ "i", "n" }, "<esc>", "<cmd>noh<cr><esc>", { desc = "Escape and Clear hlsearch" })

-- open lazy
map("n", "<leader>l", "<cmd>Lazy<cr>", { desc = "Lazy" })

-- Normal and visual mode mapping for commenting lines
map({ "n", "v" }, "<Leader>cc", "<cmd>normal gcc<cr>", { desc = "Comments the current or highlighted lines" })

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this just removing the remap? if we want \cc to still comment things I think we can leave this in, getting rid of comment.nvim should be enough

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\cc comments out code without this remap!


-- Remove trailing whitespace
map("n", "<Leader>cw", "<cmd>%s/\\s\\+$//e<cr>", { desc = "Remove trailing whitespace" })

Expand Down
5 changes: 0 additions & 5 deletions lua/plugins/coding.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ return {
enabled = false, -- Toggle this in neovim-dotfiles-personal to turn on autopairs
event = "InsertEnter",
},
{
"numToStr/Comment.nvim",
event = LazyFileEvents,
opts = {},
},
{
"saghen/blink.cmp",
version = "1.*",
Expand Down
Loading