Skip to content

gvcgo/neovim_conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

Envs

# inline completion conf example. Add envs blow to .zshrc or .bashrc
export AI_END_POINT="https://api.longcat.chat/openai/v1/chat/completions"
export AI_API_KEY="xxx"
export AI_MODEL="LongCat-Flash-Lite"
# export AI_MODEL="LongCat-Flash-Chat"
# export AI_MODEL="LongCat-Flash-Thinking"
# export AI_MODEL="LongCat-Flash-Thinking-2601"

Tree-sitter plugins

:TSInstall lua rust javascript go markdown bash zsh cpp json typescript yaml proto

Key Mappings

  • leader = " "
keys desc
jk (insert) Esc
gl (normal/visual) goto line end
gh (normal/visual) goto line start
ge (normal/visual) goto last line
gp (normal) got previous buffer
gn (normal) goto next buffer
gm (normal) goto specified buffer
<leader>y (normal/visual) copy to clipboard
<C-a> (normal) select all
<C-s> (normal) write
<C-x> (normal) close current buffer
<leader>a (normal/visual) Ask opencode…
<leader>x (normal/visual) Execute opencode action…
<leader>. (normal/terminal) Toggle opencode
<C-y> (insert) minuet ai completion(manually invoke)
<C-l> (insert) minuet ai completion(accept)
<C-[> (insert) minuet ai completion(previous)
<C-]> (insert) minuet ai completion(next)
<leader>t (normal) Open todos in telescope
<C-p> (insert) minuet ai completion(dismiss)
<leader>f (normal) find files
<leader>C (normal) find nvim config files
<leader>d (normal) Search Diagnostics
<leader>k (normal) Search keymaps
<leader>S (normal) Search LSP dynamic workspace symbols
<leader>s (normal) Search LSP document symbols
<leader>/ (normal) Search string (live grep)
K Lspsaga: Hover Documentation
gr (normal) Lspsaga: LSP Finder (references)
gi (normal) Lspsaga: LSP Finder (implementations)
gs (normal) Lspsaga: Peek Definition
gd (normal) Lspsaga: Goto Definition
gt (normal) Lspsaga: Toggle Terminal
<leader>r (normal) Lspsaga: Rename in Project
<leader>c (normal) Lspsaga: Code Action
<leader>o (normal) Lspsaga: Toggle Outline
<leader>e (normal) toggle nvim-tree
<leader>R (normal) replace in workspace
w (normal/operator/visual) spider motion w
e (normal/operator/visual) spider motion e
b (normal/operator/visual) spider motion b
s (normal/visual/operator) Flash
S (normal/visual/operator) Flash Treesitter
r (operator) Remote Flash
R (operator/visual) Treesitter Search
<C-s> (command) Toggle Flash Search
ms (normal) swap next parameter inner
mS (normal) swap previous parameter outer
]f (normal/visual/operator) goto next function start
]c (normal/visual/operator) goto next class start
]t (normal/visual/operator) goto next class end
]m (normal/visual/operator) goto next function end
[f (normal/visual/operator) goto previous function start
[c (normal/visual/operator) goto previous class start
[t (normal/visual/operator) goto previous class end
[m (normal/visual/operator) goto previous function end
]d (normal) Next todo comment
[d (normal) Previous todo comment
<leader>gb (normal/visual) Open git blame link
<leader>gg (normal/visual) Open git link
<leader>gg (normal/visual) Open git link
gcc (normal) Line-comment toggle
gbc (normal) Block-comment toggle
gc (normal/visual) Line-comment operator
gb (normal/visual) Block-comment operator
gcO (normal) Add comment on line above
gco (normal) Add comment on line below
gcA (normal) Add comment at end of line
<A-j> (normal/visual) Move line/block down
<A-k> (normal/visual) Move line/block up
<A-h> (normal/visual) Move word/horizontal block left
<A-l> (normal/visual) Move word/horizontal block right
<leader>ll (normal/visual) CopilotChat - explain code
<leader>lt (normal/visual) CopilotChat - toggle chat

tree-sitter textobjects

keys desc
af (visual/operator) select function outer
if (visual/operator) select function inner
ac (visual/operator) select class outer
ic (visual/operator) select class inner
aa (visual/operator) select parameter outer
ia (visual/operator) select parameter inner
as (visual/operator) select local scope

gallery

neovim telescope

references

Neovim Plugins

Plugin Dependencies

Other References

Releases

No releases published

Packages

 
 
 

Contributors