mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
chore(nvim): Removed unused plugins, renamed some files
This commit is contained in:
@@ -13,12 +13,12 @@ vim.opt.backupdir = vim.fn.stdpath("config") .. "/backup/"
|
|||||||
|
|
||||||
vim.opt.wrap = true
|
vim.opt.wrap = true
|
||||||
vim.opt.cursorline = true
|
vim.opt.cursorline = true
|
||||||
|
|
||||||
vim.opt.inccommand = "split" -- With :%s command, show the preview in a split instead of inline
|
vim.opt.inccommand = "split" -- With :%s command, show the preview in a split instead of inline
|
||||||
vim.opt.splitkeep = "screen"
|
vim.opt.splitkeep = "screen"
|
||||||
|
|
||||||
-- Fix markdown indentation settings
|
-- Fix markdown indentation settings
|
||||||
vim.g.markdown_recommended_style = 0
|
vim.g.markdown_recommended_style = 0
|
||||||
|
|
||||||
vim.g.have_nerd_font = true
|
vim.g.have_nerd_font = true
|
||||||
|
|
||||||
vim.opt.listchars = { tab = "» ", trail = "·", nbsp = "␣" }
|
vim.opt.listchars = { tab = "» ", trail = "·", nbsp = "␣" }
|
||||||
vim.opt.inccommand = "split"
|
|
||||||
|
|||||||
@@ -370,6 +370,8 @@ return {
|
|||||||
|
|
||||||
-- Default Mappings on the popup
|
-- Default Mappings on the popup
|
||||||
--
|
--
|
||||||
|
-- ["f"] = Search the children nodes using telescope
|
||||||
|
--
|
||||||
-- ["J"] = actions.move_down(), -- Move focused node down
|
-- ["J"] = actions.move_down(), -- Move focused node down
|
||||||
-- ["K"] = actions.move_up(), -- Move focused node up
|
-- ["K"] = actions.move_up(), -- Move focused node up
|
||||||
--
|
--
|
||||||
|
|||||||
8
common/.config/nvim/lua/plugins/code-navigation.lua
Normal file
8
common/.config/nvim/lua/plugins/code-navigation.lua
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"easymotion/vim-easymotion",
|
||||||
|
keys = {
|
||||||
|
{ "<leader>j", "<Plug>(easymotion-s)", desc = "Easymotion jump" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
return {
|
|
||||||
-- NOTE: Placeholder for new plugins I'm trying out
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
return {
|
|
||||||
{ "easymotion/vim-easymotion" },
|
|
||||||
{ "unblevable/quick-scope" },
|
|
||||||
}
|
|
||||||
@@ -241,26 +241,6 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
"Rics-Dev/project-explorer.nvim",
|
|
||||||
enabled = false,
|
|
||||||
dependencies = {
|
|
||||||
"nvim-telescope/telescope.nvim",
|
|
||||||
},
|
|
||||||
opts = {
|
|
||||||
-- TODO: fix it
|
|
||||||
command_pattern = "find -L ~/Code -mindepth 1 -maxdepth 3 -type d -name '.git' -printf '%h\n'",
|
|
||||||
newProjectPath = "~/Code/Dabble/", --custom path for new projects
|
|
||||||
file_explorer = function(dir) --custom file explorer set by user
|
|
||||||
vim.cmd("Neotree close")
|
|
||||||
vim.cmd("Neotree " .. dir)
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
config = function(_, opts)
|
|
||||||
require("project_explorer").setup(opts)
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- Session management. Saves your session in the background
|
-- Session management. Saves your session in the background
|
||||||
-- TIP: autocmd to autoload sessions at: ../config/autocmd.lua
|
-- TIP: autocmd to autoload sessions at: ../config/autocmd.lua
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user