summaryrefslogtreecommitdiff
path: root/.config/nvim/after
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-10-13 10:43:49 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-10-13 10:43:49 -0400
commita66988a6e884273b13a12a85ab80dd08e8a7ce4a (patch)
treeda3373a6e92b203c132eeb9e61cbeca53915d710 /.config/nvim/after
parent1d1039dfd58c3295c03f98a1890fb67f1bf98a46 (diff)
Lots of changes
Diffstat (limited to '.config/nvim/after')
-rw-r--r--.config/nvim/after/plugin/colors.lua8
-rw-r--r--.config/nvim/after/plugin/fugitive.lua1
-rw-r--r--.config/nvim/after/plugin/harpoon.lua10
-rw-r--r--.config/nvim/after/plugin/lsp.lua4
-rw-r--r--.config/nvim/after/plugin/orgmode.lua20
-rw-r--r--.config/nvim/after/plugin/telescope.lua7
-rw-r--r--.config/nvim/after/plugin/treesitter.lua34
-rw-r--r--.config/nvim/after/plugin/undotree.lua1
8 files changed, 0 insertions, 85 deletions
diff --git a/.config/nvim/after/plugin/colors.lua b/.config/nvim/after/plugin/colors.lua
deleted file mode 100644
index 33e9aaf..0000000
--- a/.config/nvim/after/plugin/colors.lua
+++ /dev/null
@@ -1,8 +0,0 @@
-function ColorMyPencils(color)
- color = color or "everforest"
- vim.cmd.colorscheme(color)
- vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
- vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
-end
-
-ColorMyPencils()
diff --git a/.config/nvim/after/plugin/fugitive.lua b/.config/nvim/after/plugin/fugitive.lua
deleted file mode 100644
index 80c9070..0000000
--- a/.config/nvim/after/plugin/fugitive.lua
+++ /dev/null
@@ -1 +0,0 @@
-vim.keymap.set("n", "<leader>gs", vim.cmd.Git)
diff --git a/.config/nvim/after/plugin/harpoon.lua b/.config/nvim/after/plugin/harpoon.lua
deleted file mode 100644
index eed35ed..0000000
--- a/.config/nvim/after/plugin/harpoon.lua
+++ /dev/null
@@ -1,10 +0,0 @@
-local mark = require("harpoon.mark")
-local ui = require("harpoon.ui")
-
-vim.keymap.set("n", "<leader>a", mark.add_file)
-vim.keymap.set("n", "<C-e>", ui.toggle_quick_menu)
-
-vim.keymap.set("n", "<C-h>", function() ui.nav_file(1) end)
-vim.keymap.set("n", "<C-t>", function() ui.nav_file(2) end)
-vim.keymap.set("n", "<C-n>", function() ui.nav_file(3) end)
-vim.keymap.set("n", "<C-s>", function() ui.nav_file(4) end)
diff --git a/.config/nvim/after/plugin/lsp.lua b/.config/nvim/after/plugin/lsp.lua
deleted file mode 100644
index d39b467..0000000
--- a/.config/nvim/after/plugin/lsp.lua
+++ /dev/null
@@ -1,4 +0,0 @@
-local lsp = require('lsp-zero')
-
-lsp.preset("recomended")
-lsp.setup()
diff --git a/.config/nvim/after/plugin/orgmode.lua b/.config/nvim/after/plugin/orgmode.lua
deleted file mode 100644
index d51a4d8..0000000
--- a/.config/nvim/after/plugin/orgmode.lua
+++ /dev/null
@@ -1,20 +0,0 @@
--- Load custom treesitter grammar for org filetype
-require('orgmode').setup_ts_grammar()
-
--- Treesitter configuration
-require('nvim-treesitter.configs').setup {
- -- If TS highlights are not enabled at all, or disabled via `disable` prop,
- -- highlighting will fallback to default Vim syntax highlighting
- highlight = {
- enable = true,
- -- Required for spellcheck, some LaTex highlights and
- -- code block highlights that do not have ts grammar
- additional_vim_regex_highlighting = {'org'},
- },
- ensure_installed = {'org'}, -- Or run :TSUpdate org
-}
-
-require('orgmode').setup({
- org_agenda_files = {'~/Dropbox/org/*', '~/my-orgs/**/*'},
- org_default_notes_file = '~/Dropbox/org/refile.org',
-})
diff --git a/.config/nvim/after/plugin/telescope.lua b/.config/nvim/after/plugin/telescope.lua
deleted file mode 100644
index d7b6471..0000000
--- a/.config/nvim/after/plugin/telescope.lua
+++ /dev/null
@@ -1,7 +0,0 @@
-local builtin = require('telescope.builtin')
-vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
-vim.keymap.set('n', '<leader>fg', builtin.git_files, {})
-vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
-vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
-vim.keymap.set('n', '<leader>fq', builtin.live_grep, {})
-
diff --git a/.config/nvim/after/plugin/treesitter.lua b/.config/nvim/after/plugin/treesitter.lua
deleted file mode 100644
index c24c5d7..0000000
--- a/.config/nvim/after/plugin/treesitter.lua
+++ /dev/null
@@ -1,34 +0,0 @@
-require'nvim-treesitter.configs'.setup {
- -- A list of parser names, or "all" (the five listed parsers should always be installed)
- ensure_installed = { "c",
- "lua",
- "vim",
- "vimdoc",
- "query",
- "latex",
- "bibtex",
- "csv",
- "diff",
- "dockerfile",
- "bash",
- "org",
- "go"
- },
-
- -- Install parsers synchronously (only applied to `ensure_installed`)
- sync_install = false,
-
- -- Automatically install missing parsers when entering buffer
- -- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
- auto_install = true,
-
- highlight = {
- enable = true,
-
- -- Setting this to true will run `:h syntax` and tree-sitter at the same time.
- -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
- -- Using this option may slow down your editor, and you may see some duplicate highlights.
- -- Instead of true it can also be a list of languages
- additional_vim_regex_highlighting = false,
- },
-}
diff --git a/.config/nvim/after/plugin/undotree.lua b/.config/nvim/after/plugin/undotree.lua
deleted file mode 100644
index b6b9276..0000000
--- a/.config/nvim/after/plugin/undotree.lua
+++ /dev/null
@@ -1 +0,0 @@
-vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)