Skip to content

huiyu/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim Config

Mappings

General Mappings

Action Mappings
Leader key Space
Save <leader>qw, <C-s>
Save all <leader>qW
Quit <leader>qq
Save all & quit <leader>qQ
Escape jk
Toggle Tree <leader>t
Toggle Terminal <C-t>, <leader>T
Explore current directory <leader>e
Explore working directory <leader>E
Toggle Outline <leader>o

Windows

Action Mapping
Split window horizontally ss, <leader>ws
Split window vertically sv, <leader>wv
Go to the up window sk, <leader>wk
Go to the down window sj, <leader>wj
Go to the left window sh
Go to the right window sl
Increase Height s+
Decrease Height s-
Increase Width s>
Decrease Width s<
Equally hight and wide s=
Close the current window sq
Close all other windows so

Buffers

Actions Mappings
Switch buffers <leader>b
Next buffer ]b
Previous buffer [b

Nvim-Tree

Actions Mappings
Toggle Tree <leader>t
Open <CR>, o
Open: vertrical split ``
Open: horizontal split
Toggle git ingore
Toggle dotfiles
Close directory
Open preview
Refresh
Create
Delete
Rename
Rename: omit filename
Cut
Copy
Copy name
Copy path
Paste
Run system
Info
Run command

Session Manager

Action Mapping
Save session <leader>qs
Last session <leader>q.
Load current directory session <leader>ql

Package Manager

Action Mapping

LSP

Action Mapping
Hover Document ,h
Format ,f
Symbols outline ,o
Line Diagnostics
All Diagnostics ,S
Code Actions ,a
Signature Help
Rename ,r
Document Symbols ,s
Workspace Symbols ,S
Next Diagnostic ,j
Previous Diagnostic ,k
Delaration ,D
Type Definition ,t
Definitions ,d
Implementation ,i
References ,e
Incoming calls ,c
Outcoming calls ,C
Associations ,x
Call hierarchy ,X
Next diagnostic
Prev diagnostic
Next error
Prev error
Next warning
Prev warning
Next quickfix
Prev quickfix

Debugger

Action Mapping

Files

Action Mapping
Marks
Buffers <leader> + fb
Word at cursor <leader> + fC
Find fIles <leader> + ff
Find files (include hidden files) <leader> + fF
Find text <leader> + fs
FInd text (include hidden files) <leader> + fS
Help tags <leader> + fh
Man pages <leader> + fm
Recent files <leader> + fr
Registers
Commands <leader> + fc
Todos <leader> + ft

Goto

Action Mapping

Git

Action Mapping
Next hunk
Prev hunk
Blame line
Preview hunk
Reset hunk
Reset buffer
Stage hunk
Undo stage hunk
Status
Checkout branches
Checkout workspace commits
Chekcout buffer commits

Comment

Action Mapping

Surround

Leap Motion

About

My Personal Neovim Config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages