all repos

init.lua @ 29f1f7d

my nvim config
2 files changed, 6 insertions(+), 0 deletions(-)
feat(keymaps): update jump keymaps to most vim-way
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2022-07-16 23:37:06 +0300
Parent: 8092b77
M lua/configs/gitsigns.lua

@@ -17,6 +17,8 @@ end

map("<leader>gj", g.next_hunk) map("<leader>gk", g.prev_hunk) + map("]g", g.next_hunk) + map("[g", g.prev_hunk) map("<leader>gs", g.stage_hunk) map("<leader>gu", g.undo_stage_hunk) map("<leader>gr", g.reset_hunk)
M lua/configs/lsp/attach.lua

@@ -25,11 +25,15 @@ map("<leader>lf", "<cmd>lua vim.lsp.buf.format {async = true}<cr>")

map("<leader>ls", "<cmd>Telescope lsp_document_symbols<cr>") map("<leader>lj", vim.diagnostic.goto_next) map("<leader>lk", vim.diagnostic.goto_prev) + map("]l", vim.diagnostic.goto_next) + map("[l", vim.diagnostic.goto_prev) end, null_ls = function(_, _) map("<leader>li", "<cmd>LspInfo<cr>") map("<leader>lf", "<cmd>lua vim.lsp.buf.format {async = true}<cr>") map("<leader>lj", vim.diagnostic.goto_next) map("<leader>lk", vim.diagnostic.goto_prev) + map("]l", vim.diagnostic.goto_next) + map("[l", vim.diagnostic.goto_prev) end, }