Commit graph

1109 commits

Author SHA1 Message Date
Oliver Davies a3325b372a feat(nvim): add vim-sort-motion
Re-add a plugin to add a text object and motion to sort lines. This
means I can run commands like `gsip` to sort lines within a paragraph
without needing to select them first.

https://github.com/christoomey/vim-sort-motion
2023-08-16 08:31:53 +01:00
Oliver Davies bbf14c5b5f chore(home-manager): remove vi and vim aliases 2023-08-15 23:17:16 +01:00
Oliver Davies 9e4e746052 fix(nvim): remove git-worktree configuration 2023-08-14 19:31:30 +01:00
Oliver Davies 990a4f62a9 chore(nvim): remove unused plugins 2023-08-14 19:26:53 +01:00
Oliver Davies 7e8fc3c86f feat(home-manager): add local directories to PATH
This adds local `vendor/bin` and `node_modules/.bin` directories to my
`PATH` so I can more quickly and easily run binaries within a project
from within those directories without needing to include the path.
2023-08-14 17:49:20 +01:00
Oliver Davies 9bf205edd8 feat(nvim): add more Harpoon keymaps 2023-08-14 00:50:49 +01:00
Oliver Davies 1f459e59f9 chore(update) 2023-08-14 00:37:27 +01:00
Oliver Davies b63b84e2f1 feat(nvim): add undotree 2023-08-14 00:23:46 +01:00
Oliver Davies 07bc04fa4d revert(readme): add ASCII logo
This reverts commit 6b52cd2119.
2023-08-12 21:48:50 +01:00
Oliver Davies 5bf3964ae3 revert(readme): fix logo formatting
This reverts commit 2b9e7fce26.
2023-08-12 21:48:42 +01:00
Oliver Davies 2b9e7fce26 docs(readme): fix logo formatting 2023-08-12 21:47:17 +01:00
Oliver Davies 6b52cd2119 docs(readme): add ASCII logo 2023-08-12 21:45:54 +01:00
Oliver Davies 577054a9e5 feat(zsh): show ASCII logo in a new terminal 2023-08-12 19:53:07 +01:00
Oliver Davies b7dca115ae feat(nixos): add via and vial for keyboard
...configuration
2023-08-11 00:29:01 +01:00
Oliver Davies ae4c829b4e chore(nvim): update gitsigns keymaps 2023-08-11 00:29:01 +01:00
Oliver Davies ce6193bb7b 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 227dff7fd1 fix(wsl2): use shared Home Manager configuration 2023-08-09 22:37:03 +01:00
Oliver Davies 0c4b2d691d feat(nvim): telescope mapping to delete buffers 2023-08-08 23:59:42 +01:00
Oliver Davies 3b890d9ee5 refactor(flake): split NixOS Home Manager configs
Create a NixOS-specific Home Manager configuration and a reusable shared
configuration that can be imported and also used by other configurations,
such as WSL2.
2023-08-08 22:35:23 +01:00
Oliver Davies 994341071a feat(git): add global gitignore 2023-08-08 20:09:44 +01:00
Oliver Davies 482a74a5e0 fix(wsl2): inherits, import paths, unfree packages 2023-08-08 13:43:44 +01:00
Oliver Davies eac470013b refactor(flake): re-organise systems and modules 2023-08-08 13:24:29 +01:00
Oliver Davies af70a9b56f fix(nvim): remove phpactor as an LSP server 2023-08-07 22:13:45 +01:00
Oliver Davies 202dceada3 chore(nvim): remove lualine packages 2023-08-07 22:03:45 +01:00
Oliver Davies aeb921e7e8 fix(nvim): re-add intelephense for completion 2023-08-07 21:51:38 +01:00
Oliver Davies b18152cb4a chore(nvim): change vim-test strategy 2023-08-07 21:51:20 +01:00
Oliver Davies ddf1ddb1b2 refactor(nixos): define devices by label 2023-08-07 21:42:17 +01:00
Oliver Davies 468d0c71a3 chore(update) 2023-08-07 20:02:51 +01:00
Oliver Davies 894de5d3e6 fix(flake): not loading nvim configuration 2023-08-07 19:37:25 +01:00
Oliver Davies fb30ec5168 refactor(wsl2): move file 2023-08-07 18:28:04 +01:00
Oliver Davies 624faf959c 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 f570b44606 refactor(flake): move nvim config to a package
Add it as a package instead of symlinking it into the `~/.config.nvim`
directory.
2023-08-07 09:44:06 +01:00
Oliver Davies 2140439032 docs: update README 2023-08-06 10:57:20 +01:00
Oliver Davies 750ae0a273 docs: update README 2023-08-06 10:55:59 +01:00
Oliver Davies 2e77243058 feat(zsh): add secrets alias 2023-08-06 00:37:32 +01:00
Oliver Davies 015b617ba1 chore(nixos): use JetBrains Mono 2023-08-05 01:36:00 +01:00
Oliver Davies aa63de628e refactor(flake): inherit inputs 2023-08-05 01:22:18 +01:00
Oliver Davies b68ad75ce3 build(flake): switch to stable by default
Switch to using the stable version of nixpkgs but still use unstable
where it's needed.
2023-08-04 22:54:32 +01:00
Oliver Davies 8f4aa7bbfc chore: remove apollo configuration
Remove the configuraton for my `apollo` laptop as I don't use it
regularly and I want to simplify my configuration before I refactor it.
2023-08-04 21:09:47 +01:00
Oliver Davies 212b62e164 chore(update) 2023-08-04 20:11:54 +01:00
Oliver Davies 6155b77e99 refactor(flake): reformat inputs 2023-07-30 23:01:46 +01:00
Oliver Davies c076c756e6 refactor(nixos): remove unused overlay 2023-07-30 22:57:27 +01:00
Oliver Davies 000bb2fd5e revert(nvim): add mappings for cnext and cprev
Removing these keymaps as they conflict with C-j and C-k which navigates
between horizontal splits in tmux.

I also already have `]q`, `[q`, `]l` and `[l` that do the same `cnext`
and `lnext` navigation.

This reverts commit a02e2765f4.
2023-07-28 09:02:15 +01:00
Oliver Davies a02e2765f4 feat(nvim): add mappings for cnext and cprev 2023-07-26 09:53:23 +01:00
Oliver Davies 346960f313 feat(git): set the default branch name for new
...repositories

When running `git init` to initialise a new repository, set the default
branch name that will be used. In this case, the branch name will be
`main` instead of the old default, `master`.
2023-07-25 20:24:48 +01:00
Oliver Davies b6a3906865 feat(sway): auto-start Firefox and Alacritty 2023-07-25 09:07:41 +01:00
Oliver Davies e0c37b06e7 feat(zoom): configure window settings 2023-07-24 15:12:03 +01:00
Oliver Davies 1dd6dc16e5 chore(sway): change the workspace number
Change the assigned workspace from 10 to 9.
2023-07-22 23:10:30 +01:00
Oliver Davies 6c5b015aee chore(nvim): remove intelephense 2023-07-22 09:35:20 +01:00
Oliver Davies 0580fd54dc feat(nvim): configure lualine 2023-07-22 09:35:20 +01:00