bring back tabularize to neovim config

This commit is contained in:
Noah Masur 2023-03-08 18:14:52 -05:00
parent 2acd9b3478
commit 3cad3d2fb0
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,9 @@
{ pkgs, ... }: {
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>")
'';
}

View File

@ -31,6 +31,7 @@
pkgs.neovimBuilder { pkgs.neovimBuilder {
package = pkgs.neovim-unwrapped; package = pkgs.neovim-unwrapped;
imports = [ imports = [
../config/align.nix
../config/bufferline.nix ../config/bufferline.nix
../config/completion.nix ../config/completion.nix
../config/gitsigns.nix ../config/gitsigns.nix