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
|
unbind C-b
|
||||||
set-option -g prefix C-a
|
set-option -g prefix C-a
|
||||||
bind-key C-a send-prefix
|
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 -
|
# split panes using | and -
|
||||||
bind | split-window -h -c "#{pane_current_path}"
|
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 Normal guibg=none")
|
||||||
cmd("highlight NonText guibg=none")
|
cmd("highlight NonText guibg=none")
|
||||||
|
|
||||||
|
require('neoscroll').setup()
|
||||||
|
|
||||||
-- Configure nvim-tree
|
-- Configure nvim-tree
|
||||||
g.nvim_tree_special_files = {}
|
g.nvim_tree_special_files = {}
|
||||||
g.nvim_tree_icons = {
|
g.nvim_tree_icons = {
|
||||||
|
@ -41,7 +41,8 @@ cmp.setup {
|
|||||||
},
|
},
|
||||||
sources = {
|
sources = {
|
||||||
{name = "nvim_lsp"},
|
{name = "nvim_lsp"},
|
||||||
{name = "luasnip"}
|
{name = "luasnip"},
|
||||||
|
{name = "path"}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ return require("packer").startup(function()
|
|||||||
use "nvim-lua/popup.nvim"
|
use "nvim-lua/popup.nvim"
|
||||||
use "mhinz/vim-startify"
|
use "mhinz/vim-startify"
|
||||||
use "lukas-reineke/indent-blankline.nvim"
|
use "lukas-reineke/indent-blankline.nvim"
|
||||||
|
use "karb94/neoscroll.nvim"
|
||||||
|
|
||||||
-- Code Navigation
|
-- Code Navigation
|
||||||
use "dense-analysis/ale"
|
use "dense-analysis/ale"
|
||||||
@ -38,6 +39,7 @@ return require("packer").startup(function()
|
|||||||
use "nvim-lua/lsp-status.nvim"
|
use "nvim-lua/lsp-status.nvim"
|
||||||
use "hrsh7th/nvim-cmp"
|
use "hrsh7th/nvim-cmp"
|
||||||
use "hrsh7th/cmp-nvim-lsp"
|
use "hrsh7th/cmp-nvim-lsp"
|
||||||
|
use "hrsh7th/cmp-path"
|
||||||
use "weilbith/nvim-code-action-menu" -- Need to find better alternative
|
use "weilbith/nvim-code-action-menu" -- Need to find better alternative
|
||||||
use "L3MON4D3/LuaSnip"
|
use "L3MON4D3/LuaSnip"
|
||||||
use "windwp/nvim-autopairs"
|
use "windwp/nvim-autopairs"
|
||||||
@ -47,7 +49,10 @@ return require("packer").startup(function()
|
|||||||
run = ':TSUpdate'
|
run = ':TSUpdate'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- Preview Markdown
|
||||||
|
use "ellisonleao/glow.nvim"
|
||||||
|
|
||||||
|
-- Autoformat
|
||||||
use "sbdchd/neoformat"
|
use "sbdchd/neoformat"
|
||||||
|
|
||||||
-- General Popup Window
|
-- General Popup Window
|
||||||
|
Loading…
Reference in New Issue
Block a user