diff options
Diffstat (limited to 'nvim/after/plugin')
| -rw-r--r-- | nvim/after/plugin/bufdel.lua | 3 | ||||
| -rw-r--r-- | nvim/after/plugin/bufferline.lua | 22 | ||||
| -rw-r--r-- | nvim/after/plugin/markdown-preview.lua | 6 | ||||
| -rw-r--r-- | nvim/after/plugin/nvim-markdown.lua | 9 | ||||
| -rw-r--r-- | nvim/after/plugin/oil.lua | 48 |
5 files changed, 0 insertions, 88 deletions
diff --git a/nvim/after/plugin/bufdel.lua b/nvim/after/plugin/bufdel.lua deleted file mode 100644 index 12d097f..0000000 --- a/nvim/after/plugin/bufdel.lua +++ /dev/null @@ -1,3 +0,0 @@ -require('bufdel').setup { - quit = false, -- quit Neovim when last buffer is closed -} diff --git a/nvim/after/plugin/bufferline.lua b/nvim/after/plugin/bufferline.lua deleted file mode 100644 index 53db4f3..0000000 --- a/nvim/after/plugin/bufferline.lua +++ /dev/null @@ -1,22 +0,0 @@ -vim.cmd.colorscheme "catppuccin" -vim.opt.termguicolors = true - -require("bufferline").setup({ - options = { - offsets = { - { - filetype = "undotree", - text = "Undo Zone", - text_align = "center", - separator = true - } - }, - show_buffer_icons = true, -- disable filetype icons for buffers - separator_style = "thick", - hover = { - enabled = true, - delay = 200, - reveal = {'close'} - }, - } -}) diff --git a/nvim/after/plugin/markdown-preview.lua b/nvim/after/plugin/markdown-preview.lua deleted file mode 100644 index 65170e6..0000000 --- a/nvim/after/plugin/markdown-preview.lua +++ /dev/null @@ -1,6 +0,0 @@ -vim.cmd([[ - function OpenMarkdownPreview (url) - execute "silent ! firefox --new-window " . a:url - endfunction - let g:mkdp_browserfunc = 'OpenMarkdownPreview' -]]) diff --git a/nvim/after/plugin/nvim-markdown.lua b/nvim/after/plugin/nvim-markdown.lua deleted file mode 100644 index e65f78d..0000000 --- a/nvim/after/plugin/nvim-markdown.lua +++ /dev/null @@ -1,9 +0,0 @@ -vim.g.vim_markdown_conceal = 2 --- vim.g.vim_markdown_math = 1 -vim.g.vim_markdown_toc_autofit = 1 - -local map = vim.keymap.set; -local opts = { noremap = false, silent = true} - -map('', 'o', '<Plug>Markdown_NewLineBelow<Esc>', opts) -map('', 'O', '<Plug>Markdown_NewLineAbove<Esc>', opts) diff --git a/nvim/after/plugin/oil.lua b/nvim/after/plugin/oil.lua deleted file mode 100644 index f2a2c7d..0000000 --- a/nvim/after/plugin/oil.lua +++ /dev/null @@ -1,48 +0,0 @@ -require("oil").setup({ - -- Oil will take over directory buffers (e.g. `vim .` or `:e src/`) - -- Set to false if you still want to use netrw. - default_file_explorer = true, - -- Id is automatically added at the beginning, and name at the end - -- See :help oil-columns - columns = { - "icon", - -- "permissions", - -- "size", - -- "mtime", - }, - -- Buffer-local options to use for oil buffers - buf_options = { - buflisted = false, - bufhidden = "hide", - }, - -- Send deleted files to the trash instead of permanently deleting them (:help oil-trash) - delete_to_trash = true, - -- Skip the confirmation popup for simple operations - skip_confirm_for_simple_edits = false, - -- Selecting a new/moved/renamed file or directory will prompt you to save changes first - prompt_save_on_select_new_entry = true, - -- Keymaps in oil buffer. Can be any value that `vim.keymap.set` accepts OR a table of keymap - -- options with a `callback` (e.g. { callback = function() ... end, desc = "", nowait = true }) - -- Additionally, if it is a string that matches "actions.<name>", - -- it will use the mapping at require("oil.actions").<name> - -- Set to `false` to remove a keymap - -- See :help oil-actions for a list of all available actions - keymaps = { - ["g?"] = "actions.show_help", - ["<CR>"] = "actions.select", - ["<C-s>"] = "actions.select_vsplit", - ["<C-h>"] = "actions.select_split", - ["<C-t>"] = "actions.select_tab", - ["<C-p>"] = "actions.preview", - ["<C-c>"] = "actions.close", - ["<C-l>"] = "actions.refresh", - ["-"] = "actions.parent", - ["_"] = "actions.open_cwd", - ["`"] = "actions.cd", - ["~"] = "actions.tcd", - ["gs"] = "actions.change_sort", - ["g."] = "actions.toggle_hidden", - }, - -- Set to false to disable all of the above keymaps - use_default_keymaps = true, -}) |