Skip to content

Commit

Permalink
feat(plugin): Add 'junegunn/vim-easy-align' to easy align character
Browse files Browse the repository at this point in the history
  • Loading branch information
kang8 committed Feb 5, 2024
1 parent 857fa72 commit e9eb22a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"toggleterm.nvim": { "branch": "main", "commit": "b49df5cdce67a8964d1b027dae94bde212092b51" },
"true-zen.nvim": { "branch": "main", "commit": "2b9e210e0d1a735e1fa85ec22190115dffd963aa" },
"vim-fugitive": { "branch": "master", "commit": "e7bf502a6ae492f42a91d231864e25630286319b" },
"vim-easy-align": { "branch": "master", "commit": "12dd6316974f71ce333e360c0260b4e1f81169c3" },
"vim-gh-line": { "branch": "master", "commit": "fbf368bdfad7e5478009a6dc62559e6b2c72d603" },
"vim-git": { "branch": "master", "commit": "105fd5559bd9df3f1204ecdcac2a587614e1a4be" },
"vim-hurl": { "branch": "main", "commit": "19fd504879a63fb41e1abd34b0439c321c302ec9" },
Expand All @@ -65,4 +66,3 @@
"vim-matchup": { "branch": "master", "commit": "7f81ae12542b2a35819f0324895df9bd8626c8ba" },
"vim-sleuth": { "branch": "master", "commit": "1cc4557420f215d02c4d2645a748a816c220e99b" },
"visual-surround.nvim": { "branch": "main", "commit": "ab8b7087793366c000e3b8a7ead6f84bc564347d" }
}
8 changes: 8 additions & 0 deletions lua/plugins/common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,12 @@ return {
'NStefan002/visual-surround.nvim',
config = true,
},
{
'junegunn/vim-easy-align',
event = 'VeryLazy',
config = function()
-- don't use keys property, because is will lazy do
vim.keymap.set({ 'n', 'x' }, 'ga', '<Plug>(EasyAlign)')
end,
},
}

0 comments on commit e9eb22a

Please sign in to comment.