Commit graph

121 commits

Author SHA1 Message Date
Oliver Davies 35e2fe1d91 Simplify neovim keymaps and change clipboard
...setting
2024-12-29 11:54:21 +00:00
Oliver Davies 1a14118877 Configure Neovim for the text filetype 2024-12-14 11:20:03 +00:00
Oliver Davies 58f645ee50 Add multigrep from TJ's video 2024-12-12 22:04:23 +00:00
Oliver Davies 3d4bca0ada Execute Lua code in the current file, range or
...line
2024-12-10 16:57:56 +00:00
Oliver Davies 4f6202de81 Fix keymap 2024-12-09 16:27:07 +00:00
Oliver Davies fc8925f4b2 Set keymaps after loading options
Ensure `<leader>` is set in options.lua before settings keymaps in
keymaps.lua.
2024-12-09 16:25:58 +00:00
Oliver Davies 0a4c0ee7a7 Update spellfile 2024-12-08 22:42:38 +00:00
Oliver Davies bab5f8f4a8 Fix occassional Neovim loading error 2024-12-07 00:43:21 +00:00
Oliver Davies 8be04fdab9 Update spellfile 2024-12-05 19:33:06 +00:00
Oliver Davies 3acd73f6a2 Update spellfile 2024-12-02 22:34:00 +00:00
Oliver Davies 7e102e3555 Enable the mouse in Neovim
I already have it enabled in i3, tmux, etc, so why not in Vim?
2024-11-30 23:11:06 +00:00
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