Commit graph

70 commits

Author SHA1 Message Date
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 32a8356040 Switch back to 23.05
Issues with Neovim, Harpoon and/or Telescope.
2023-12-24 16:59:08 +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
Oliver Davies e5c40a7a14 feat(nvim): configure cmdline completion 2023-10-27 21:12:23 +01:00
Oliver Davies 9e2c79fb1c chore(nvim): replace splitjoin with treesj 2023-10-18 22:42:48 +02:00
Oliver Davies 688619a6dd chore(nvim): remove plugins temporarily
I'm removing these temporarily to see how it affects performance.
2023-10-09 00:14:49 +01:00
Oliver Davies d03b4b1bd5 fix(nvim): next and prev hunk keymaps 2023-10-09 00:11:54 +01:00
Oliver Davies 83a90087e1 chore(nvim): use run 2023-10-07 22:32:23 +01:00
Oliver Davies 2860bc06db feat(nvim): use neoterm with vim-test 2023-09-29 21:31:12 +01:00
Oliver Davies 7ac939b428 feat(nvim): re-add lualine-lsp-progress 2023-09-28 07:22:58 +01:00
Oliver Davies 376a4bda43 feat(nvim): add lualine 2023-09-27 21:01:28 +01:00
Oliver Davies 5c9da925d5 chore(nvim): remove unused configuration 2023-09-18 22:49:55 +01:00
Oliver Davies 421d1658a8 feat(nvim): add friendly-snippets 2023-09-15 19:20:40 +01:00
Oliver Davies ca2e48dbdb feat(nvim): add a keymap for switching to the
...alternative file
2023-09-14 19:08:50 +01:00
Oliver Davies 265803b240 feat(nvim): configure alternate files for Fractal
Configure `*.twig` and `*.config.yml` as alternate files in
Projectionist.
2023-09-05 12:56:24 +01:00
Oliver Davies 7c4f361f28 feat(nvim): re-add projectionist.vim
Re-add `projectionist.vim` with a minimal configuration for setting the
alternate file in basic PHP library or TypeScript projects.
2023-09-05 07:52:01 +01:00
Oliver Davies 767269b904 fix(nvim): re-add completion configuration 2023-09-05 07:24:34 +01:00
Oliver Davies cb8dba24c9 style(nvim): run stylua 2023-09-04 11:05:13 +01:00
Oliver Davies 59e7868f52 revert(nvim): re-add lualine and noice
This reverts commit db7d2b442f03c9d02bd8471c71f3eb483a40ca2b.
2023-09-01 12:11:15 +01:00
Oliver Davies 4974d2d2f2 feat(nvim): re-add lualine and noice 2023-08-29 21:46:02 +01:00
Oliver Davies 5f8b5cc3de feat(nvim): re-add todo-comments.nvim 2023-08-27 17:34:58 +01:00
Oliver Davies dff990f52b feat(nvim): add more Harpoon keymaps 2023-08-14 00:50:49 +01:00
Oliver Davies 3e2ac919df feat(nvim): add undotree 2023-08-14 00:23:46 +01:00
Oliver Davies 3c67aad960 chore(nvim): update gitsigns keymaps 2023-08-11 00:29:01 +01:00
Oliver Davies b9a0d52e86 feat(nvim): add fugitive keymaps
Add keymaps to open `git status` within Fugitive as well as push and
pull changes within a fugitive buffer.
2023-08-11 00:29:01 +01:00
Oliver Davies 8a0404356f chore(nvim): remove lualine packages 2023-08-07 22:03:45 +01:00
Oliver Davies 7c6996cc70 chore(nvim): change vim-test strategy 2023-08-07 21:51:20 +01:00
Oliver Davies 8634516e68 refactor: restructure my Code directory
I recently restructed the contents of my `~/Code` directory so that
repositories are grouped by their provider and organisation.

For example, my `dotfiles` are now located at
`~/Code/github.com/opdavies/dotfiles`.

Likewise, `build-configs` is now located at
`~/Code/github.com/OliverDaviesLtd/build-configs` as it's within the
`OliverDaviesLtd` organisation.

As well as `~/Code/github.com`, I also have `~/Code/bitbucket.org` for
Bitbucket repositories. These are also grouped within subdirectories for
each organisation.

This change means I need to update any reference to the old `dotfiles`
location to the new one and I can update the `t` function to adjust the
min and max depth it uses to find directories.
2023-08-07 09:53:33 +01:00
Oliver Davies 511f7fe21e feat(nvim): configure lualine 2023-07-22 09:35:20 +01:00
Oliver Davies 79a3a22a3c feat: transparency in alacritty and nvim 2023-06-10 10:20:54 +01:00