Compare commits
2 commits
0c96b0b356
...
56f81f598e
Author | SHA1 | Date | |
---|---|---|---|
Sanchayan Maity | 56f81f598e | ||
Sanchayan Maity | 547bf78b9b |
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,8 +1,8 @@
|
|||
tmux/.tmux/resurrect
|
||||
nvim/.config/nvim/.netrwhist
|
||||
nvim/.config/nvim/plugin/packer_compiled.vim
|
||||
nvim/.local/share/nvim/site/pack/packer/start
|
||||
nvim/.local/share/nvim/site/pack/packer/opt/*
|
||||
nvim/.local/share/nvim/site/pack/paqs/start
|
||||
nvim/.local/share/nvim/site/pack/paqs/opt/*
|
||||
nvim/.local/share/nvim/log
|
||||
nvim/.local/share/nvim/lsp.log
|
||||
nvim/.local/share/nvim/rplugin.vim
|
||||
|
|
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -7,9 +7,6 @@
|
|||
[submodule "tmux/.tmux/plugins/tmux-butler"]
|
||||
path = tmux/.tmux/plugins/tmux-butler
|
||||
url = https://github.com/woodstok/tmux-butler
|
||||
[submodule "nvim/.local/share/nvim/site/pack/packer/opt/packer.nvim"]
|
||||
path = nvim/.local/share/nvim/site/pack/packer/opt/packer.nvim
|
||||
url = https://github.com/wbthomason/packer.nvim
|
||||
[submodule "tmux/.tmux/plugins/tmux-fuzzback"]
|
||||
path = tmux/.tmux/plugins/tmux-fuzzback
|
||||
url = https://github.com/roosta/tmux-fuzzback.git
|
||||
|
@ -19,3 +16,6 @@
|
|||
[submodule "tmux/.tmux/plugins/vim-tmux-navigator"]
|
||||
path = tmux/.tmux/plugins/vim-tmux-navigator
|
||||
url = https://github.com/christoomey/vim-tmux-navigator.git
|
||||
[submodule "nvim/.local/share/nvim/site/pack/paqs/start/paq-nvim"]
|
||||
path = nvim/.local/share/nvim/site/pack/paqs/start/paq-nvim
|
||||
url = https://github.com/savq/paq-nvim.git
|
||||
|
|
1
nvim/.config/nvim/after/plugin/nvim-autopairs.lua
Normal file
1
nvim/.config/nvim/after/plugin/nvim-autopairs.lua
Normal file
|
@ -0,0 +1 @@
|
|||
require("nvim-autopairs").setup {}
|
1
nvim/.config/nvim/after/plugin/pqf.lua
Normal file
1
nvim/.config/nvim/after/plugin/pqf.lua
Normal file
|
@ -0,0 +1 @@
|
|||
require('pqf').setup()
|
|
@ -116,6 +116,7 @@ require 'plugins'
|
|||
require 'autocmd'
|
||||
require 'keymappings'
|
||||
require 'lsp'
|
||||
require 'treesitter'
|
||||
|
||||
-- Load our custom color scheme
|
||||
vim.cmd.colorscheme('yolokai')
|
||||
|
|
|
@ -1,105 +1,41 @@
|
|||
-- Add the in built Cfilter plugin. Replaces QFGrep.
|
||||
vim.cmd 'packadd cfilter'
|
||||
vim.cmd 'packadd packer.nvim'
|
||||
|
||||
local init = function ()
|
||||
use {'wbthomason/packer.nvim', opt = true}
|
||||
-- Vertical Motion
|
||||
use 'phaazon/hop.nvim'
|
||||
-- Search
|
||||
use {
|
||||
'junegunn/fzf',
|
||||
run = './install --bin'
|
||||
}
|
||||
use 'junegunn/fzf.vim'
|
||||
-- Manage Project sessions
|
||||
use 'rmagatti/auto-session'
|
||||
-- Snippets
|
||||
use {
|
||||
'dcampos/nvim-snippy',
|
||||
requires = {
|
||||
'honza/vim-snippets',
|
||||
}
|
||||
}
|
||||
-- Git support
|
||||
use 'lewis6991/gitsigns.nvim'
|
||||
use 'tpope/vim-fugitive'
|
||||
use 'https://github.com/SanchayanMaity/gitlinker.nvim'
|
||||
-- Boost vim command line mode
|
||||
use 'vim-utils/vim-husk'
|
||||
-- Quickfix
|
||||
use 'chengzeyi/fzf-preview.vim'
|
||||
use {
|
||||
'https://gitlab.com/yorickpeterse/nvim-pqf',
|
||||
config = function()
|
||||
require('pqf').setup()
|
||||
end
|
||||
}
|
||||
-- Text Object plugins
|
||||
use {
|
||||
'wellle/targets.vim',
|
||||
'tpope/vim-surround',
|
||||
'kana/vim-textobj-user',
|
||||
'idbrii/textobj-word-column.vim',
|
||||
'glts/vim-textobj-comment'
|
||||
}
|
||||
use 'numToStr/Comment.nvim'
|
||||
-- Tim pope essentials
|
||||
use {
|
||||
'tpope/vim-repeat',
|
||||
'tpope/vim-sleuth',
|
||||
'tpope/vim-dispatch'
|
||||
}
|
||||
-- Directory viewer
|
||||
use 'elihunter173/dirbuf.nvim'
|
||||
-- Alignment
|
||||
use 'junegunn/vim-easy-align'
|
||||
use 'nvim-lua/plenary.nvim'
|
||||
-- LSP
|
||||
use 'kosayoda/nvim-lightbulb'
|
||||
-- Language support & syntax highlighting
|
||||
use 'mfussenegger/nvim-lint'
|
||||
use 'lvimuser/lsp-inlayhints.nvim'
|
||||
use 'sdiehl/vim-cabalfmt'
|
||||
-- treesitter based syntax highlighting
|
||||
use {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
requires = {
|
||||
{
|
||||
"nvim-treesitter/playground",
|
||||
after = "nvim-treesitter",
|
||||
cmd = { "TSPlaygroundToggle", "TSHighlightCapturesUnderCursor" },
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-treehopper",
|
||||
after = "nvim-treesitter",
|
||||
},
|
||||
},
|
||||
config = "require('treesitter')",
|
||||
run = ':TSUpdate'
|
||||
}
|
||||
-- Marks and registers
|
||||
use {
|
||||
'chentoast/marks.nvim',
|
||||
}
|
||||
use 'andymass/vim-matchup'
|
||||
use 'christoomey/vim-tmux-navigator'
|
||||
use {
|
||||
"windwp/nvim-autopairs",
|
||||
config = function()
|
||||
require("nvim-autopairs").setup {}
|
||||
end
|
||||
}
|
||||
use 'gpanders/nvim-parinfer'
|
||||
end
|
||||
|
||||
local config = {
|
||||
git = {
|
||||
subcommands = {
|
||||
update = 'pull --ff-only --progress --rebase=false --no-tags',
|
||||
fetch = 'fetch --depth 999999 --progress --no-tags',
|
||||
}
|
||||
}
|
||||
require "paq" {
|
||||
'phaazon/hop.nvim' ,
|
||||
'junegunn/fzf' ,
|
||||
'junegunn/fzf.vim' ,
|
||||
'rmagatti/auto-session' ,
|
||||
'dcampos/nvim-snippy' ,
|
||||
'honza/vim-snippets' ,
|
||||
'lewis6991/gitsigns.nvim' ,
|
||||
'tpope/vim-fugitive' ,
|
||||
'SanchayanMaity/gitlinker.nvim' ,
|
||||
'vim-utils/vim-husk' ,
|
||||
'chengzeyi/fzf-preview.vim' ,
|
||||
'https://gitlab.com/yorickpeterse/nvim-pqf',
|
||||
'wellle/targets.vim' ,
|
||||
'tpope/vim-surround' ,
|
||||
'kana/vim-textobj-user' ,
|
||||
'idbrii/textobj-word-column.vim' ,
|
||||
'glts/vim-textobj-comment' ,
|
||||
'numToStr/Comment.nvim' ,
|
||||
'tpope/vim-repeat' ,
|
||||
'tpope/vim-sleuth' ,
|
||||
'tpope/vim-dispatch' ,
|
||||
'elihunter173/dirbuf.nvim' ,
|
||||
'junegunn/vim-easy-align' ,
|
||||
'nvim-lua/plenary.nvim' ,
|
||||
'kosayoda/nvim-lightbulb' ,
|
||||
'mfussenegger/nvim-lint' ,
|
||||
'lvimuser/lsp-inlayhints.nvim' ,
|
||||
'sdiehl/vim-cabalfmt' ,
|
||||
'nvim-treesitter/nvim-treesitter' ,
|
||||
'nvim-treesitter/playground' ,
|
||||
'mfussenegger/nvim-treehopper' ,
|
||||
'chentoast/marks.nvim' ,
|
||||
'andymass/vim-matchup' ,
|
||||
'christoomey/vim-tmux-navigator' ,
|
||||
'windwp/nvim-autopairs' ,
|
||||
'gpanders/nvim-parinfer'
|
||||
}
|
||||
|
||||
return require('packer').startup(init, config)
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 1d0cf98a561f7fd654c970c49f917d74fafe1530
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 540642d7765fa5fbe661f26b635b08ad9fb24fd0
|
Loading…
Reference in a new issue