Commit graph

98 commits

Author SHA1 Message Date
Oliver Davies 09ad375bda Remove mini.statusline 2024-05-08 00:07:50 +01:00
Oliver Davies d719ab5cbe Fix for Treesitter Context error for Markdown
...files

https://github.com/nvim-treesitter/nvim-treesitter-context/issues/431
2024-05-07 16:04:37 +01:00
Oliver Davies 94e6c8ab13 Remove oil.nvim, configure netrw 2024-05-03 23:06:46 +01:00
Oliver Davies 0d142447d5 Add path completion for rst files 2024-05-02 20:11:50 +01:00
Oliver Davies 63b5ea30df Wrap contents in rst files 2024-05-02 19:45:22 +01:00
Oliver Davies a823cb2d01 Remove obsidian.nvim 2024-05-02 17:18:52 +01:00
Oliver Davies 8059264ca9 Update DAP configuration 2024-04-30 07:38:19 +01:00
Oliver Davies 50944ccc71 Add oil.nvim 2024-04-24 21:35:35 +01:00
Oliver Davies 4fa91b9720 Add Obsidian keymaps
Add Obsidian keymaps to create and search notes.
2024-04-22 21:57:07 +01:00
Oliver Davies fded826b0a Reapply "Add obsidian.nvim and marksman"
This reverts commit e82db1df25.
2024-04-22 20:30:48 +01:00
Oliver Davies 942e334cb5 Re-add vim-fugitive
This reverts commit 75f3877a13.
2024-04-17 20:14:06 +01:00
Oliver Davies e8ffa065a1 Add PHP filetype for inc and module extensions 2024-04-07 11:50:57 +01:00
Oliver Davies 820ab697f1 Use global statusline 2024-04-07 11:49:20 +01:00
Oliver Davies 305bb400b5 Set *.theme files as the PHP filetype
This wasn't working with vim-polyglot enabled, as per
https://github.com/neovim/neovim/issues/23522, so I'm removing at - as
least temporarily.
2024-04-07 01:09:37 +01:00
Oliver Davies 779687182c Remove mini.splitjoin
I already have `treesj` which works better for PHP and Nix compared to
the `mini.splitjoin`.
2024-04-02 01:20:37 +01:00
Oliver Davies e82db1df25 Revert "Add obsidian.nvim and marksman"
This reverts commit da206ae6ff.
2024-03-31 10:12:31 +01:00
Oliver Davies da206ae6ff Add obsidian.nvim and marksman 2024-03-29 01:26:56 +00:00
Oliver Davies e3ddc8cf77 Re-add vimux and use it when running tests 2024-03-26 23:41:08 +00:00
Oliver Davies 026c4a3c1f Use nixfmt before alejandra 2024-03-18 22:27:13 +00:00
Oliver Davies 75f3877a13 Remove vim-fugitive 2024-03-18 20:37:06 +00:00
Oliver Davies 021093bd3d Foramt files with stylua 2024-03-14 07:42:24 +00:00
Oliver Davies b4ca3831b0 Update gitsigns keymaps 2024-03-14 01:41:40 +00:00
Oliver Davies e64463259b Add jsonlint and nvim-spectre
https://github.com/nvim-pack/nvim-spectre
2024-03-12 22:52:17 +00:00
Oliver Davies 452f297a39 Set number of lines to search for a textobject 2024-03-07 07:59:45 +00:00
Oliver Davies e43054e92e Remove icons in statusline 2024-03-07 07:33:49 +00:00
Oliver Davies de117a56e2 Update Harpoon keymaps 2024-02-27 22:32:56 +00:00
Oliver Davies 3cfe6444c6 Use alexghergh/nvim-tmux-navigation
Replace `christoomey/vim-tmux-navigator` with
`alexghergh/nvim-tmux-navigation`.

https://github.com/alexghergh/nvim-tmux-navigation
2024-02-27 17:32:24 +00:00
Oliver Davies 129a2dc990 Move conform and nvim-lint configuration 2024-02-26 19:42:28 +00:00
Oliver Davies 743c9f92f2 Update snippet completion keybindings 2024-02-26 15:40:27 +00:00
Oliver Davies 3afe1bd12b Tidy neovim configuration
* Remove some unused plugins and packages.
  * e.g. floaterm, projectionist, vim-wiki, vim-easy-align,
    vim-surround, visual-star-search, vim-rhubarb
* Replace none-ls with conform.nvim and nvim-lint.
* Replace lualine.nvim with mini-statusline.
* Add neodev.
* Simplify cmp completion sources.
2024-02-24 22:26:31 +00:00
Oliver Davies 94581a9c7f Re-add fidget.nvim
https://github.com/j-hui/fidget.nvim
2024-02-21 16:11:49 +00:00
Oliver Davies 30fd6fd0c2 Fix test command 2024-02-05 09:31:59 +00:00
Oliver Davies 2c7e547bf5 Add more floating terminals 2024-01-27 21:56:17 +00:00
Oliver Davies 728355ac1f Add vim-floaterm 2024-01-27 21:37:21 +00:00
Oliver Davies e026ed154c Update vim-wiki path 2024-01-27 21:30:50 +00:00
Oliver Davies 9b6d5e172b Add vim-wiki 2024-01-26 01:29:49 +00:00
Oliver Davies 64facc315d Add a keymap to run :Git commit 2024-01-17 22:11:59 +00:00
Oliver Davies f17d139c59 Don't do completion in command mode
This is stopping normal expansion of things like `%:h` for the directory
of the current buffer.
2024-01-10 00:50:45 +00:00
Oliver Davies 2e6df3a8bd Revert "Move key mappings"
This reverts commit b7f26524b0ddcd5db1b2783c20bdb423d4cb1bfb.
2024-01-08 17:50:15 +00:00
Oliver Davies 32a8356040 Switch back to 23.05
Issues with Neovim, Harpoon and/or Telescope.
2023-12-24 16:59:08 +00:00
Oliver Davies e63c7c48b7 Move key mappings 2023-12-19 08:10:22 +00:00
Oliver Davies be4eb457f0 Display Harpoon window at the top of the screen 2023-12-17 20:29:06 +00:00
Oliver Davies 8d54f69fa7 Upgrade to Harpoon 2 2023-12-11 17:45:36 +00:00
Oliver Davies 965a5d5c1d Configure netrw in Neovim 2023-11-29 09:57:49 +00:00
Oliver Davies d0ac1ed026 revert(nvim): update Harpoon mappings
This reverts commit e05aadef340b3a243e6f40c8e5b9378c82dcce86.
2023-11-23 11:54:55 +00:00
Oliver Davies e7d7da79f1 chore(nvim): update Harpoon mappings 2023-11-21 08:01:37 +00:00
Oliver Davies 887fdbcd10 chore(nvim): update treesitter configuration 2023-11-14 20:15:12 +00:00
Oliver Davies 9d22cf6315 chore(nvim): configure lualine 2023-11-07 07:53:58 +00:00
Oliver Davies 3537d9a71f feat(nvim): use rstfmt for rst file formatting
Add `vimPlugins.conform-nvim` to add formatting rst files with `rstfmt`.

This isn't supported as a formatter in `none-ls`, and I wanted to try
and potentially switch to `conform-nvim` and `nvim-lint` in the future,
so this is a potential first step towards that.

`rstfmt` itself is already installed and available within my additional
Vim packages.

This currently needs to be run manually, as I don't want to change my
default keybind for formatting until I've supported all the filetypes and formatters
I have in `none-ls`.

To run the foramt manually, run `:lua require"conform".format()`.

See:

- https://github.com/stevearc/conform.nvim
- https://github.com/mfussenegger/nvim-lint
- https://pypi.org/project/rstfmt
- https://www.youtube.com/watch?v=ybUE4D80XSk
2023-11-04 21:46:13 +00:00
Oliver Davies 06408d7336 feat(nvim): configure lualine 2023-11-04 20:37:30 +00:00