Commit graph

110 commits

Author SHA1 Message Date
Oliver Davies d79350f36a Remove reference to treesitter-context 2024-11-29 19:24:55 +00:00
Oliver Davies de553ff052 Update spellfile 2024-11-28 01:32:15 +00:00
Oliver Davies 87a756a4fb Remove nvim-treesitter-context 2024-11-25 08:03:59 +00:00
Oliver Davies 4c5fd19f5a Remove mini.statusline 2024-11-25 08:03:59 +00:00
Oliver Davies 64b3299b82 Update spellfile path 2024-11-21 13:22:17 +00:00
Oliver Davies 69a397e624 Move Nix files into a nix directory
Move everything from `config` to the root level.
2024-11-21 08:56:12 +00:00
Oliver Davies 8916e90050 refactor: combine with Ubuntu Provisioning repo
Combine with this repository with https://github.com/opdavies/ubuntu-provisioning
so that everything can be managed in one place, and add a role for each
piece of software.
2022-01-06 01:04:14 +00:00
Oliver Davies e11cf61218 feat(nvim): add nvim-autopairs 2022-01-05 00:24:55 +00:00
Oliver Davies b80396b0dd fix(nvim): pass the buffer number as a parameter 2022-01-04 21:39:22 +00:00
Oliver Davies 1c47a51c8b nvim: disable TS indenting for YAML files 2022-01-04 21:39:22 +00:00
Oliver Davies 0d68d51ed1 feat(nvim): add a mapping for wrapping text 2022-01-04 21:39:22 +00:00
Oliver Davies 6e4a400002 feat(nvim): add null-ls for formatting 2021-12-25 22:54:11 +00:00
Oliver Davies 8bb5c9b773 fix(nvim): replace incorrect filename 2021-12-25 22:51:51 +00:00
Oliver Davies 4bede5a014 refactor(nvim): organise options.lua 2021-12-25 09:56:22 +00:00
Oliver Davies 1fe7305397 revert: set cmdheight back to 1 2021-12-25 09:55:55 +00:00
Oliver Davies e5a9ca2f61 feat(nvim): enable TreeSitter for indenting 2021-12-25 01:10:53 +00:00
Oliver Davies 4bc2eaa8ff refactor(nvim): refactor lsp configuration 2021-12-24 14:04:15 +00:00
Oliver Davies eab1a43ecd refactor(nvim): re-organise files 2021-12-24 13:36:56 +00:00
Oliver Davies 29409131ea feat(nvim): add rafamadriz/friendly-snippets 2021-12-24 00:02:10 +00:00
Oliver Davies 59055b0a2f chore(nvim): ensure that plugins are installed 2021-12-23 23:39:13 +00:00
Oliver Davies c4e0a44495
chore(nvim): remove vimwiki 2021-12-23 23:11:34 +00:00
Oliver Davies 2eb22cf317 chore(nvim): install plugins automatically
Use `PackerSync` instead of `PackerCompile` as this will both compile
and install the plugins.
2021-12-23 14:54:58 +00:00
Oliver Davies 66b1a4373a chore(nvim): ignore packer_compiled.lua 2021-12-23 14:53:29 +00:00
Oliver Davies c8ed72a611 feat(nvim): set some more options 2021-12-23 00:56:45 +00:00
Oliver Davies 88aae1b8ec feat(nvim): display Packer in a popup 2021-12-23 00:56:23 +00:00
Oliver Davies 79a2687fcf nvim: fold everything by default
To make it easier to remind myself that folding is a thing, for now I'm
going to enable it by default again for all files.
2021-12-17 23:31:25 +00:00
Oliver Davies 9c406d5358 nvim: set the fold level 2021-12-17 23:23:51 +00:00
Oliver Davies 2d9f2a995e chore(nvim): switch to numToStr/Comment.nvim 2021-12-04 01:33:18 +00:00
Oliver Davies 5d18678ab5 fix: automatically compiling packer on save 2021-12-03 08:14:06 +00:00
Oliver Davies 7eb5ce9a8e chore: move the prompt position
Move the prompt position to the top of the Telescope window.
2021-11-18 18:34:53 +00:00
Oliver Davies 04392ea377 feat: experimenting with custom Telescope commands 2021-11-17 22:58:15 +00:00
Oliver Davies af6d7d8b4e refactor(nvim): finish restructuring lua files
This completes what I started in commit
0786ed3b3d, refactoring the lua code by
restructuring the directories and removing the `init` functions at the
bottom of each file.
2021-11-17 18:47:06 +00:00
Oliver Davies 4eb19130a9 feat(nvim): automatically re-compile packer
Automatically re-source the `packer.lua` file if it changes, as well as
automatically running `PackerCompile` to updated the compiled version.
2021-11-17 18:31:09 +00:00
Oliver Davies 3faee1f7fc feat(nvim): add a mapping to edit dotfiles
Add a mapping to open Telescope within my `~/dotfiles` directory so that
I can quickly make any changes to those files without leaving my current
directory or nvim session.
2021-11-17 18:27:38 +00:00
Oliver Davies 850015934e chore(nvim): update so mapping to use init.lua 2021-11-17 18:27:08 +00:00
Oliver Davies fa03fbd4cd feat(nvim): add kyazdani42/nvim-web-devicons
This will add icons to the results list when searching for things with
Telescope.
2021-11-17 12:54:55 +00:00
Oliver Davies 0dfeb542fe feat(nvim): telescope configuration 2021-11-17 12:54:18 +00:00
Oliver Davies 0786ed3b3d chore: move plugin config files into after
Move the nvim configuration files into `.config/nvim/after/plugin` so
that they are autoloaded.

This also means that the local `init` functions can be removed as they
are no longer needed, and this also simplifies the Packer configuration.
2021-11-17 09:42:17 +00:00
Oliver Davies daa92fa662 feat(nvim): add vimwiki 2021-11-11 18:08:42 +00:00
Oliver Davies 7247d57e65 fix(nvim): remove vue filetype for typescript 2021-11-11 18:08:42 +00:00
Oliver Davies 638c058642 chore(nvim): add transparency to the popup menu 2021-11-09 18:01:39 +00:00
Oliver Davies 7b756e570a refactor(nvim): restructure lua configuration 2021-11-07 20:38:20 +00:00
Oliver Davies 20bc33046c nvim: group vim.cmd commands 2021-11-04 00:18:03 +00:00
Oliver Davies 78513b1154 nvim: re-add old mapping to remove hlsearch 2021-11-03 23:42:21 +00:00
Oliver Davies 514e4ad061 nvim: show virtual text for LSP 2021-11-03 00:05:02 +00:00
Oliver Davies fc56046ec3 nvim: remove mattn/emmet-vim 2021-11-03 00:05:02 +00:00
Oliver Davies 9d2ce607d3 nvim: stop packer cleaning itself 2021-11-03 00:05:02 +00:00
Oliver Davies 800df5de37 refactor(nvim): add a local map function alias 2021-11-03 00:05:02 +00:00
Oliver Davies 907f01cb52
nvim: don't fold text by default 2021-11-01 13:39:16 +00:00
Oliver Davies ad7a62bfeb refactor(nvim): use packer for plugins 2021-10-30 23:12:29 +01:00