Commit Graph
80 Commits
Author SHA1 Message Date
Folke Lemaitre a2d604928b feat(root): customizable root detection and :LazyRoot command 2023-10-12 11:48:02 +02:00
Folke Lemaitre f1a8f24a36 feat(format): new LazyVim formatter with integrations for lsp/none-ls/conform/eslint/... 2023-10-12 11:48:02 +02:00
Folke Lemaitre c8c929c9fd perf(util): split lazyvim.util in smaller separate modules 2023-10-12 11:48:02 +02:00
Folke Lemaitre 25f3587f3f refactor(keymaps): move safe keymap.set wrapper to util and add message not to use it in a personal config 2023-10-08 10:28:01 +02:00
Folke Lemaitre 1bc78272da feat(keymaps): added support for lazy's per-mode keymap disabling 2023-10-08 10:15:28 +02:00
Folke Lemaitre 3f868aa825 feat(keymaps): added toggle for relative line numbers 2023-10-03 14:56:55 +02:00
Folke Lemaitre 9b16770573 fix(format): moved formatting keymap to lua/lazyvim/config/keymaps.lua 2023-10-01 23:31:24 +02:00
Folke Lemaitre 9935dc3944 fix: cleanup all Neovim < 0.9.0 code 2023-10-01 14:18:25 +02:00
Iordanis Petkakis ec0ddd481c fix(keymaps): change v mode to x mode for save file (#1262)
While trying to disable `<C-s>` entirely by `vim.keymap.del({ "i", "v","n", "s" }, "<C-s>")`
in my own `keymaps.lua`, I got an error on reopening Neovim `No such mapping`.
After tinkering around a bit, I changed `v` to `x`, since `v` incorporates both
`x` and `s` and the error stopped occuring.
2023-08-29 18:07:56 +02:00
Folke Lemaitre 23e2b073e6 fix(keymaps): remove gw keymap 2023-08-29 18:00:54 +02:00
Folke Lemaitre df0818880e fix(util): fixed line number toggling. Closes #1173 2023-07-20 23:38:43 +02:00
Folke Lemaitre a28acf0ce7 feat(keymaps): added leader-K to run keywordprg 2023-07-18 08:46:52 +02:00
Folke Lemaitre 9387ab388e feat: added leader-L to show the LazyVim changelog 2023-07-13 08:18:02 +02:00
Folke Lemaitre 089606b48d fix(lsp): upstream inlay_hint rename 2023-06-30 20:44:39 +02:00
jyuan0 e9358d977a fix(keymaps): remove redundant ':' on lazy keymap (#977) 2023-06-25 10:05:07 +02:00
Folke Lemaitre 01c7eeebd0 feat: added support for the new builtin inlay hints
Enable with:
```lua
{"neovim/nvim-lspconfig", opts = {inlay_hints = {enabled = true}}}
```
2023-06-21 08:01:59 +02:00
Folke Lemaitre ebd002f135 fix(keymaps): disable ctrl-hjkl for lazygit. Fixes #905 2023-06-16 19:06:27 +02:00
Folke Lemaitre d6bb907cf0 fix(keymaps): dont map jk in visual. Use x instead of v. Fixes #912 2023-06-09 16:27:45 +02:00
Beartama e049928b8b fix(keymaps): better j/k for visual mode (#902) 2023-06-08 13:48:23 +02:00
Folke Lemaitre 1897617c98 fix(keymaps): terminal show/hide 2023-06-06 07:46:32 +02:00
Folke Lemaitre d31772f981 fix(keymaps): added c-_ mapped to c-/ to make it work in some terminals 2023-06-06 00:11:52 +02:00
Folke Lemaitre 952a0cfb96 fix(keymaps): remove c-w mapping 2023-06-05 12:10:55 +02:00
Folke Lemaitre 7a36e2989c feat(keymaps): added <c-/> in normal/terminal mode to toggle main terminal 2023-06-03 10:54:29 +02:00
Folke Lemaitre 49ae2344a1 feat(keymaps): added some useful keymaps for terminals 2023-06-03 10:49:58 +02:00
Folke Lemaitre 7c9abd7463 fix(vscode): only remap keybinds when running in vscode 2023-05-24 21:59:37 +02:00
Jonas Holst Damtoft 9cfe88c7ba fix: remove debug notify (#808) 2023-05-24 10:34:27 +02:00
Folke Lemaitre 5bf45e3139 feat(vscode): better vscode support 2023-05-24 08:45:20 +02:00
João Paquim 06e4ba2fdb style: Fix comments on autocmds and keymaps loading (#779) 2023-05-19 15:06:59 +02:00
Folke Lemaitre a9e9204dae fix(lazygit): dont use <esc><esc> for normal more for laygit to prevent delays on <esc>. Fixes #567 2023-04-16 11:18:44 +02:00
Brian Di Palma 59fa83653f feat(keymaps): Add previous/next trouble/quickfix item keymap [q, ]q (#299) 2023-02-28 11:31:35 +01:00
Folke Lemaitre 70966bbc19 style: desc for gw 2023-02-28 09:59:01 +01:00
Calvin Bochulak 8a9265efed style: add description for "gw" keymap (#327) 2023-02-28 09:58:29 +01:00
Andreas GerlachandFolke Lemaitre 088914e1dd feat(trouble): keymaps for trouble quicklist / loclist (#171)
* use trouble quicklist / loclist if available

* feat: added keymaps for loclist and qf list with trouble

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2023-02-07 21:50:41 +01:00
Folke Lemaitre 2ff213126c fix(keymaps): move lines with silent and without triggering cmdline. Fixes #184 2023-02-06 08:43:59 +01:00
Folke Lemaitre e5626e9a2d fix(keymaps): silent by default 2023-02-06 08:43:59 +01:00
Folke Lemaitre 2ae2a63265 fix(bufferline): plugin was renamed from nvim-bufferline.lua -> bufferline.nvim. Fixes #128 2023-01-25 08:19:44 +01:00
Folke Lemaitre 012dbab586 feat(keymaps): do not create keymaps when a lazy keys handler exists 2023-01-23 08:08:12 +01:00
Folke Lemaitre 7be8efaa84 fix(keymaps): switch <leader>gg and <leader>gG to be consistent with the other keymaps 2023-01-20 20:12:47 +01:00
Elijah Manor 52b4213ab1 style(keymaps): Add context to tab related keymaps (#82)
The description for the tab keymaps are currently a bit generic. This gives extra information so they are more helpful in which-key and also in the documentation (if that is how you are generating them in the other repo)
2023-01-20 15:36:11 +01:00
Folke Lemaitre 3362f0abc4 feat(buffer)!: remove <leader>b[, <leader>b] in favor of ]b and [b 2023-01-19 14:16:03 +01:00
Folke Lemaitre c2693e2d16 feat(keymaps): added [b and ]b to switch buffers 2023-01-19 13:59:49 +01:00
Folke Lemaitre 8d8626c5d9 fix(keymaps): added Inspect to <leader>ui 2023-01-17 09:17:04 +01:00
Folke Lemaitre fd95026665 refactor(keymaps): use Util instead of requiring again 2023-01-16 22:15:41 +01:00
Folke Lemaitre 5a99809844 feat(keymaps): added shortcuts for split and vsplit <leader>- and <leader>| 2023-01-16 21:59:23 +01:00
Folke Lemaitre b278b062ec feat(lsp): added opts.autoformat to be able to disable autoformat by default. Fixes #65 2023-01-16 14:13:24 +01:00
Sylvester HofstraandSylvester 30b7215de8 fix(keymaps): Resolve comment after PR got merged (#61)
Co-authored-by: Sylvester <sylvester@socialbrothers.nl>
2023-01-15 19:42:22 +01:00
Sylvester HofstraandSylvester e03471df70 fix(keymaps): Add unique keymap to toggle relative number (#60)
Co-authored-by: Sylvester <sylvester@socialbrothers.nl>
2023-01-15 16:40:42 +01:00
Folke Lemaitre 30dc8c5732 fix(keymaps): <leader>ur now does the same as Neovim's better <c-l> 2023-01-13 09:02:14 +01:00
Andreas GerlachandAndreas Gerlach 46dba8f67e fix(keymaps): add missing wk entries for buffer switching; lowercase UI in menu (#45)
Co-authored-by: Andreas Gerlach <andreas.gerlach@xarvio.com>
2023-01-11 19:58:58 +01:00
Folke Lemaitre 0cfc15e739 refactor(keymaps)!: terminal keymaps are now under <leader>ft and <leader>fT 2023-01-11 17:27:52 +01:00