"/home/yossef/notes/git/nvims/nvim_jap_config.md"
path: git/nvims/nvim_jap_config.md
- **fileName**: nvim_jap_config
- **Created on**: 2025-03-23 14:15:42
my main config for nvim jap style config

Neovim Keymaps Configuration
🛠️ General Settings
Mode |
Key |
Action |
n |
<C-d> |
Move half-page down and center screen |
n |
<C-u> |
Move half-page up and center screen |
n |
n |
Repeat search (forward) and center screen |
n |
N |
Repeat search (backward) and center screen |
n |
G |
Go to end of file and center screen |
i |
jk / JK |
Escape from insert mode |
n /i |
<left> /<right> /<up> /<down> |
Disabled (no-op) |
📁 File Navigation
Mode |
Key |
Action |
n |
<leader>e |
Open netrw vertically |
n |
<leader>vp |
Open NeoTree (commented) |
n |
<leader>e |
Open Dirbuf (commented) |
🔄 Buffer Navigation
Mode |
Key |
Action |
n |
<S-h> |
Previous buffer |
n |
<S-l> |
Next buffer |
🔧 Indentation and Movement
Mode |
Key |
Action |
x /v |
J |
Move selected lines down |
x /v |
K |
Move selected lines up |
v |
< |
Shift left and stay in visual mode |
v |
> |
Shift right and stay in visual mode |
x |
<A-j> |
Move block down |
x |
<A-k> |
Move block up |
🔲 Window Management
Mode |
Key |
Action |
n |
<C-Up> |
Increase window height |
n |
<C-Down> |
Decrease window height |
n |
<C-Left> |
Decrease window width |
n |
<C-Right> |
Increase window width |
n |
<C-h> /<C-j> /<C-k> /<C-l> |
Navigate windows |
🖥️ Terminal Mode
Mode |
Key |
Action |
t |
<C-h> /<C-j> /<C-k> /<C-l> |
Navigate in terminal mode |
⚡ LSP (Language Server Protocol)
Mode |
Key |
Action |
n |
K |
Show hover info |
n |
gd |
Go to definition |
n |
gi |
Go to implementation |
n |
gr |
Show references |
n |
gs |
Show signature help |
n |
<leader>ca |
Code action |
n |
gl |
Show diagnostic float |
n |
[d |
Previous diagnostic |
n |
]d |
Next diagnostic |
📌 Quickfix Navigation
Mode |
Key |
Action |
n (qf) |
<C-n> |
Next quickfix entry |
n (qf) |
<C-p> |
Previous quickfix entry |
🔥 Plugin Keymaps
💨 Code Runner (CRRunner.nvim
)
Mode |
Key |
Action |
n |
<A-r> |
Run current code |
n |
<A-r>f |
Run file |
n |
<A-r>p |
Run project |
n |
<A-r>c |
Close runner |
n |
<A-r>cp |
Open CR projects |
🐞 Debug Adapter Protocol (DAP)
Mode |
Key |
Action |
n |
<Leader>dt |
Toggle breakpoint |
n |
<Leader>dc |
Continue |
n |
<Leader>dx |
Terminate |
n |
<Leader>do |
Step over |
🤖 Git Copilot
Mode |
Key |
Action |
i |
<M-l> |
Accept Copilot suggestion |
🎯 Miscellaneous
Mode |
Key |
Action |
n |
<leader>y |
Yank to clipboard |
n |
<leader>Y |
Yank line to clipboard |
x |
<leader>p |
Paste without overwriting register |
n /v |
<leader>d |
Delete without overwriting register |
n |
Q |
Disabled (no-op) |
n |
<leader>x |
Make file executable |
n |
<leader>z |
Create fold with zfaB |
✅ Notes:
- Mode:
n
= Normal, i
= Insert, v
= Visual, x
= Visual Block, t
= Terminal
Alt
= <A>
, Ctrl
= <C>
, Leader
= <leader>
continue:./nvim_lazy_second_style.md
before:[[]]