You've already forked dotfiles
fix: changing up the statuscolumn setup
This commit is contained in:
@@ -66,3 +66,10 @@ vim.keymap.set('n', '<leader>eo', ':Lexplore<CR>', options)
|
||||
|
||||
-- Allow for leaving Terminal mode using the escape key instead of the odd default
|
||||
vim.keymap.set('t', '<Esc>', '<C-\\><C-n>')
|
||||
|
||||
local sc = require('statuscolumn')
|
||||
vim.keymap.set('n', '<leader>q', function ()
|
||||
print('woot')
|
||||
sc.show_both_nums = not sc.show_both_nums
|
||||
vim.opt.statuscolumn = "%!v:lua.require('statuscolumn').statusColumn()"
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user