Logo

index : nvim-config

---

  • summary
  • about
  • tree
  • log
  • branches
https://git.ptrace.dev/public/nvim-config.git
ssh://git@git.ptrace.dev/public/nvim-config.git
LUA: 78%
MD: 11%
VIM: 11%

My Neovim config

Shortcuts

  ~Misc
File explorer             <space>pv
Fuzzy finder              <space>pf
Grep search               <space>ps

Brackets around word      N: yswb
Brackets around mark      V: S)
     *curly brackets      V: S}
Delete delimiters         N: ds<delimiter>

Move line up              V: K
        down              V: J

half-page down            N: <C-d>
half-page up              N: <C-u>
page up                   N: <C-b>
page down                 N: <C-f>

Copy to OS clipboard      V: <space>c

Show vertical diff        :vert diffs <filename>

Convert \ to /            V: <space>win
  ~Tabs
New tab                   N: <space>t  or  :tab split
New tab on file           N: <space>f  or  Ctrl+W+gf
  ~Comments
Comment line out          N: gcc
Combine motions           N: gc<motion>
Comment marked            V: gc
Uncomment                 N: gcgc
  ~Panes
New pane                  :new
                          :vnew

Split pane                :sp
                          :vsp

Change pane               <C-w>hjkl (or arrow keys)
Close pane                :q

Move panes:               <C-w>HJKL

Change pane size          <space>, (horizontal)
                          <space>.
                          <space>+ (vertical)
                          <space># 

Reset pane size           <space>-
  ~Module :Ex
Toggle hidden files       gh
Create file               %
Create directory          d
Delete file/directory     D
Rename file/directory     R

Assign target dir         mt
Mark file/dir for cp/mv   mf
Copy marked to target     mc
Move marked to target     mm
Run ext. cmd on marked    mx
  ~Module fugitive
Open Git cmd              <space>gs

stage (add) file          s
unstage                   u
toggle stage/unstage      -
unstage everything        U

create commit             cc
amend commit (w/ msg)     ca
amend commit (w/o msg)    ce

toggle inline diff        =
insert inline diff        >

Git diff split            dd
close diff buffer         dq

open in new hsplit        gO
open in new tab           O
  ~Module telescope
Find files                <space>pf
Find files (git)          <C-p>
Grep                      <space>ps
  ~CTAGS
Go to definition          gd
Open definition           K
    in new pane
Jump back                 <C-o> or <C-t>
EXPAND COLLAPSE
Name
Size
Modified (UTC)
.gitignore
27 b
2025-05-28
raw
README.md
3 kB
2026-05-16
raw
---
---
---
---
cursor_line_color.lua
59 b
2026-02-03
raw
fugitive.lua
48 b
2025-05-28
raw
lsp.lua
3 kB
2026-05-16
raw
telescope.lua
264 b
2025-05-28
raw
init.lua
21 b
2025-08-23
raw
---
---
---
---
init.lua
5 kB
2026-05-15
raw
remap.lua
2 kB
2025-12-27
raw
---
---
jai.vim
4 kB
2026-06-14
raw
Copyright 2026  E766CB298A6D1E64 | Git-Thing heavily inspired by cgit