config(nvim): use cmd+/ to comment

main
sudo pacman -Syu 2024-02-09 00:29:35 +07:00
parent e157831480
commit 4d2ea24c41
3 changed files with 12 additions and 3 deletions

View File

@ -4,9 +4,9 @@ include mocha.conf
# https://sw.kovidgoyal.net/kitty/conf/#fonts
# kitty +list-fonts --psnames
font_family 0xProto
bold_font IBM Plex Mono Bold
bold_font Maple Mono Bold
italic_font Victor Mono Italic
bold_italic_font Victor Mono Bold Italic
bold_italic_font IBM Plex Mono Bold Italic
font_size 14.0
# https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points

View File

@ -3,6 +3,8 @@ https://github.com/golang/tools/commits/master.atom
https://github.com/IBM/sarama/commits/main.atom
https://github.com/gin-gonic/gin/commits/master.atom
https://github.com/go-gorm/gorm/commits/master.atom
https://github.com/go-gorm/mysql/commits/master.atom
https://github.com/go-sql-driver/mysql/commits/master.atom
https://github.com/minio/minio-go/commits/master.atom
https://github.com/redis/go-redis/commits/master.atom

View File

@ -337,7 +337,14 @@ require("lazy").setup({
})
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-comment.md
require("mini.comment").setup()
require("mini.comment").setup({
mappings = {
comment = "<D-/>",
comment_line = "<D-/>",
comment_visual = "<D-/>",
textobject = "<D-/>",
},
})
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-completion.md
require("mini.completion").setup({