mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-14 04:52:56 +00:00
14 lines
312 B
Nix
14 lines
312 B
Nix
{ pkgs, ... }:
|
|
{
|
|
|
|
# Plugin for aligning text programmatically
|
|
|
|
plugins = [ pkgs.vimPlugins.tabular ];
|
|
lua = ''
|
|
-- Align
|
|
vim.keymap.set("", "<Leader>ta", ":Tabularize /")
|
|
vim.keymap.set("", "<Leader>t#", ":Tabularize /#<CR>")
|
|
vim.keymap.set("", "<Leader>tl", ":Tabularize /---<CR>")
|
|
'';
|
|
}
|