Add Tabular <leader> = to line up ='s
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
require("config.lazy")
|
require("config.lazy")
|
||||||
|
|
||||||
|
-- visual mode <space> = to line up "=" in selection
|
||||||
|
vim.keymap.set('v', '<leader>=', ':Tabularize /=<CR>', { noremap = true, silent = true })
|
||||||
|
|
||||||
-- za to fold, zm and zR to (un)fold all
|
-- za to fold, zm and zR to (un)fold all
|
||||||
vim.cmd("set foldmethod=marker")
|
vim.cmd("set foldmethod=marker")
|
||||||
|
|
||||||
|
|||||||
9
nvim/.config/nvim/lua/plugins/tabular.lua
Normal file
9
nvim/.config/nvim/lua/plugins/tabular.lua
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"godlygeek/tabular",
|
||||||
|
--init = function()
|
||||||
|
-- require("/home/scottc/.local/share/nvim/lazy/tabular/autoload/tabular.vim")
|
||||||
|
-- require("tabluar/autoload/tabular.vim").setup({})
|
||||||
|
--end
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user