feat(nvim): add smoothscroll and md preview
This commit is contained in:
parent
2fe7f127e5
commit
a39c4c6434
@ -10,7 +10,7 @@ set -g destroy-unattached
|
||||
unbind C-b
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
bind b set-option status
|
||||
bind-key -n C-b set-option -g status #Ctrl+F3 Combo
|
||||
|
||||
# split panes using | and -
|
||||
bind | split-window -h -c "#{pane_current_path}"
|
||||
|
@ -46,6 +46,8 @@ if u.has_plugin("cmp") then
|
||||
cmd("highlight Normal guibg=none")
|
||||
cmd("highlight NonText guibg=none")
|
||||
|
||||
require('neoscroll').setup()
|
||||
|
||||
-- Configure nvim-tree
|
||||
g.nvim_tree_special_files = {}
|
||||
g.nvim_tree_icons = {
|
||||
|
@ -41,7 +41,8 @@ cmp.setup {
|
||||
},
|
||||
sources = {
|
||||
{name = "nvim_lsp"},
|
||||
{name = "luasnip"}
|
||||
{name = "luasnip"},
|
||||
{name = "path"}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,8 @@ return require("packer").startup(function()
|
||||
use "nvim-lua/popup.nvim"
|
||||
use "mhinz/vim-startify"
|
||||
use "lukas-reineke/indent-blankline.nvim"
|
||||
|
||||
use "karb94/neoscroll.nvim"
|
||||
|
||||
-- Code Navigation
|
||||
use "dense-analysis/ale"
|
||||
use "nathanmsmith/nvim-ale-diagnostic"
|
||||
@ -38,6 +39,7 @@ return require("packer").startup(function()
|
||||
use "nvim-lua/lsp-status.nvim"
|
||||
use "hrsh7th/nvim-cmp"
|
||||
use "hrsh7th/cmp-nvim-lsp"
|
||||
use "hrsh7th/cmp-path"
|
||||
use "weilbith/nvim-code-action-menu" -- Need to find better alternative
|
||||
use "L3MON4D3/LuaSnip"
|
||||
use "windwp/nvim-autopairs"
|
||||
@ -47,7 +49,10 @@ return require("packer").startup(function()
|
||||
run = ':TSUpdate'
|
||||
}
|
||||
|
||||
|
||||
-- Preview Markdown
|
||||
use "ellisonleao/glow.nvim"
|
||||
|
||||
-- Autoformat
|
||||
use "sbdchd/neoformat"
|
||||
|
||||
-- General Popup Window
|
||||
|
Loading…
Reference in New Issue
Block a user