Compare commits

...

2 Commits

Author SHA1 Message Date
juan
4b3e0236e0
Add glow: the markdown previewer
Currently using my own fork, will change to upstream once
the PR is accepted.
2022-05-09 11:25:29 +08:00
juan
931400b709
add mapping for tabs 2022-05-09 11:23:42 +08:00
3 changed files with 8 additions and 1 deletions

View File

@ -28,3 +28,4 @@ global.neoformat_basic_format_trim = 1
-- leader settings
global.mapleader = ' '
global.glow_border = "rounded"

View File

@ -15,6 +15,7 @@ vim.api.nvim_set_keymap('', '<A-K>', '<C-w>K', {})
vim.api.nvim_set_keymap('', '<A-L>', '<C-w>L', {})
vim.api.nvim_set_keymap('', '<A->>', '<C-w>>', {})
vim.api.nvim_set_keymap('', '<A-<>', '<C-w><', {})
vim.api.nvim_set_keymap('', '<A-T>', '<C-w>T', {})
-- undo to the last , . or !
vim.api.nvim_set_keymap('i', ',', ',<c-g>u', {noremap = true})
vim.api.nvim_set_keymap('i', '.', '.<c-g>u', {noremap = true})

View File

@ -25,7 +25,7 @@ return require('packer').startup(function(use)
after = 'packer.nvim',
config = function()
vim.g.serenade_enable_italic = 1
vim.g.serenade_sign_column_background = 'none'
vim.g.serenade_sign_column_background = 'none'
vim.g.serenade_better_performance = 1
vim.cmd("colorscheme serenade")
end
@ -162,4 +162,9 @@ return require('packer').startup(function(use)
-- integrations
use {"tpope/vim-fugitive", cmd = "G"}
use {
"JuanCldCmt/glow.nvim",
branch = 'main',
cmd = {"Glow", "GlowInstall"}
}
end)