Requires neovim >= 0.11
Requires dependencies:
- make
- git
- fd
- ripgrep
To clone with:
git clone git@github.com:trilowy/nvim-config.git ~/.config/nvim/Note: <leader> is space in this configuration.
<leader>w- [w]rite buffer<leader>c- [c]lose buffer<leader>d- close all buffers except current one]q- next [q]uickfix[q- previous [q]uickfixgd- LSP: [g]oto [d]efinitiongr- LSP: [g]oto [r]eferencesgI- LSP: [g]oto [I]mplementationgD- LSP: [g]oto [D]eclarationgy- LSP: [g]oto t[y]pe definition<leader>la- [L]SP: code [a]ctions<leader>lh- [L]SP: toggle inlay [h]ints<leader>lr- [L]SP: [r]ename<leader>ls- [L]SP: document [s]ymbols<leader>lS- [L]SP: workspace [S]ymbols
-- open parent directory
<leader>se- [s]earch s[e]ssion
<c-b>and<c-f>- scroll the documentation window [b]ack/[f]orward<c-n>and<c-p>- select the [n]ext/[p]revious item<c-i>- accept ([i]nsert) the completion<c-space>- manually trigger a completion / toggle documentation<c-l>and<c-h>- move to the right/left of each of the expansion locations (function arguments)<c-s>- show signature
<leader>k- change case
<leader>rt- [r]ust crates: [t]oggle<leader>rr- [r]ust crates: [r]eload<leader>rv- [r]ust crates: show [v]ersions<leader>rf- [r]ust crates: show [f]eatures<leader>rd- [r]ust crates: show [d]ependencies<leader>ru- [r]ust crates: [u]pdate<leader>rU- [r]ust crates: [U]pgrade<leader>rA- [r]ust crates: upgrade [A]ll crates<leader>rx- [r]ust crates: e[x]pand to inline table<leader>rX- [r]ust crates: e[X]tract into table<leader>rH- [r]ust crates: [H]omepage<leader>rR- [r]ust crates: [R]epository<leader>rD- [r]ust crates: [D]ocumentation<leader>rC- [r]ust crates: open [C]rates.io
<leader>gb- [g]it: [b]ranches<cr>- checks out the currently selected branch<c-t>- tracks currently selected branch<c-r>- rebases currently selected branch<c-a>- creates a new branch, with confirmation prompt before creation<c-d>- deletes the currently selected branch, with confirmation prompt before deletion<c-y>- merges the currently selected branch, with confirmation prompt before deletion
<leader>gB- [g]it: [B]lame<leader>gc- [g]it: [c]lose diff view<leader>gf- [g]it: [f]ile commit history<leader>gg- [g]it: status or conflict resolution<tab>- Open the diff for the next file<s-tab>- Open the diff for the previous file[F- Open the diff for the first file]F- Open the diff for the last filegf- Open the file in the previous tabpage<C-w><C-f>- Open the file in a new split<C-w>gf- Open the file in a new tabpage<leader>e- Bring focus to the file panel<leader>b- Toggle the file panel.g<C-x>- Cycle through available layouts.[x- In the merge-tool: jump to the previous conflict]x- In the merge-tool: jump to the next conflict<leader>Co- Choose the OURS version of a conflict<leader>Ct- Choose the THEIRS version of a conflict<leader>Cb- Choose the BASE version of a conflict<leader>Ca- Choose all the versions of a conflictdx- Delete the conflict reCion<leader>CO- Choose the OURS version of a conflict for the whole file<leader>CT- Choose the THEIRS version of a conflict for the whole file<leader>CB- Choose the BASE version of a conflict for the whole file<leader>CA- Choose all the versions of a conflict for the whole filedX- Delete the conflict reCion for the whole file
<leader>gh- [g]it: project commit [h]istory<leader>gl- [g]it: [l]og
<leader>jo- [j]ava: [o]rganize imports<leader>jv- [j]ava: extract [v]ariable<leader>jc- [j]ava: extract [c]onstant<leader>jm- [j]ava: extract [m]ethod
<leader><leader>- find existing buffers<c-d>- close buffer
<leader>/- fuzzily search in current buffer<leader>s.- [s]earch recent files (.for repeat)<leader>sc- [s]earch [c]olor scheme<leader>sd- [s]earch [d]iagnostics<leader>sf- [s]earch [f]iles<leader>sg- [s]earch by [g]rep<leader>sh- [s]earch [h]elp<leader>sp- [s]earch in~/workspace[p]rojects<leader>sr- [s]earch [r]esume<leader>sR- [s]earch [R]egisters<leader>ss- [s]earch [s]elect Telescope<leader>st- [s]earch [t]odo<leader>sw- [s]earch current [w]ord
| Token | Match type | Description |
|---|---|---|
sbtrkt |
fuzzy-match | Items that match sbtrkt |
'wild |
exact-match (quoted) | Items that include wild |
^music |
prefix-exact-match | Items that start with music |
.mp3$ |
suffix-exact-match | Items that end with .mp3 |
!fire |
inverse-exact-match | Items that do not include fire |
!^music |
inverse-prefix-exact-match | Items that do not start with music |
!.mp3$ |
inverse-suffix-exact-match | Items that do not end with .mp3 |
]tand[t- next/previous [t]odo in the buffer