Commit graph

127 commits

Author SHA1 Message Date
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
Oliver Davies 626bcd4ce4 refactor(nvim): move more settings to lua 2021-10-30 22:00:53 +01:00
Oliver Davies 396fab57da chore(nvim): clean up lsp configuration 2021-10-30 15:14:30 +01:00
Oliver Davies 506b1d3286 feat(nvim): add formatting for tabnine
Add completion formatting for the cmp_tabnine source so that its
suggestions are easily identifiable.
2021-10-30 15:14:30 +01:00
Oliver Davies 3c0d75b7e6 refactor(nvim): move vim options into lua 2021-10-30 15:14:30 +01:00
Oliver Davies d68e3ea22b feat(nvim): add harpoon 2021-10-30 15:14:30 +01:00
Oliver Davies dd24187a5d feat(nvim): enable ghost text in lsp 2021-10-30 15:14:30 +01:00
Oliver Davies e0b1365b39 feat(nvim): add norcalli/nvim-colorizer 2021-10-30 15:14:30 +01:00
Oliver Davies 1473b4da61 nvim: set colour for indent lines 2021-10-30 15:14:30 +01:00
Oliver Davies 024e24606d chore(nvim): try some different key mappings 2021-10-20 13:21:41 +01:00
Oliver Davies 9654f7d095 feat(nvim): add cmp formatting 2021-10-19 23:41:48 +01:00
Oliver Davies 6c75b2ce66 feat(nvim): add luasnip 2021-10-19 23:41:48 +01:00
Oliver Davies 685f68f70a feat(nvim): clear highlighting after search 2021-10-16 21:30:40 +01:00
Oliver Davies 957d40c6a4 fix(nvim): set php filetype for .test files 2021-10-15 23:19:21 +01:00
Oliver Davies e27a802308 feat(nvim): use italic text for comments 2021-10-15 23:09:03 +01:00
Oliver Davies aeebd343f8 refactor(nvim): extract plugins/colours.lua 2021-10-15 22:59:19 +01:00
Oliver Davies 5d80d36328 feat(nvim): add mappings for floaterm 2021-10-15 00:12:18 +01:00
Oliver Davies ba5b30b136 feat(nvim): use lewis6991/gitsigns.nvim
Replace airblade/vim-gitgutter with lewis6991/gitsigns.
2021-10-14 11:30:11 +01:00
Oliver Davies b6bca8d50f refactor(nvim): split options into their own file 2021-10-14 00:32:55 +01:00
Oliver Davies 00ffae0590 refactor(nvim): split mappings into their own file 2021-10-14 00:26:50 +01:00
Oliver Davies 1fa5e57b9b feat(nvim): add more mappings
Add key mappings for easily moving text and some small behaviour tweaks.
2021-10-14 00:26:50 +01:00
Oliver Davies b64abbfacb feat(nvim): enable mouse support 2021-10-14 00:26:49 +01:00
Oliver Davies e7d7d47ae4 feat(nvim): copy text to the system clipboard 2021-10-13 23:23:29 +01:00
Oliver Davies 18a5b3b627 style: be more consistent with lua formatting 2021-10-13 21:00:31 +01:00
Oliver Davies dedcbddc86 refactor(nvim): split lsp into setup and mappings 2021-10-13 21:00:23 +01:00
Oliver Davies ab788203db refactor(nvim): split plugin config
Split lua plugin configuration into separate files.
2021-10-13 17:54:36 +01:00
Oliver Davies 2d2a2e5490 feat(nvim): replace compe with cmp, add tabnine 2021-10-13 15:10:40 +01:00
Oliver Davies d61e4cf210 fix(nvim): lsp not running for typescript 2021-10-13 15:10:40 +01:00
Oliver Davies 28c5ae22f9 refactor(nvim): remove nvim-lspinstall
Remove the kabouzeid/nvim-lspinstall plugin and configure the language
servers in init.lua.

I don't use all of the languages bundled with nvim-lspinstall, and the
ones that I use are already installed via Ansible in my
ubuntu-provisioning repository.

Fixes #20
2021-10-13 08:57:23 +01:00
Oliver Davies 403581e9f8 nvim: remove space characters 2021-10-07 01:39:37 +01:00
Oliver Davies 62fb00e5f7 refactor(nvim): group plugins 2021-10-06 22:29:47 +01:00
Oliver Davies e06ec03cc7 fix(nvim): fix background transparency 2021-10-06 22:18:29 +01:00
Oliver Davies 4d47e5224f nvim: change plugin location 2021-10-06 18:43:19 +01:00
Oliver Davies 65097dfffe nvim: update Telescope mappings 2021-10-06 13:47:05 +01:00
Oliver Davies bd9077d277 nvim: add dracula theme 2021-10-06 07:31:53 +01:00
Oliver Davies 8b6f8037c8 nvim: change plugin location 2021-10-06 07:26:20 +01:00
Oliver Davies 9ac7834d18 feat(nvim): use the neovim test strategy 2021-10-05 18:43:32 +01:00
Oliver Davies 5d3c35a725 nvim: add voldikss/vim-floaterm 2021-10-05 18:38:12 +01:00
Oliver Davies 78b018c076 nvim: remove jiangmiao/auto-pairs 2021-10-05 18:37:45 +01:00
Oliver Davies e4eecbc99b feat(nvim): add vim-test plugin 2021-10-05 15:18:46 +01:00
Oliver Davies f021efed01 feat(nvim): add mattn/emmet-vim 2021-09-28 22:33:50 +01:00
Oliver Davies 74812eb833 chore: remove preservim/nerdtree 2021-09-28 08:36:01 +01:00
Oliver Davies 0b5b883821 chore: remove old plugin configuration 2021-09-28 08:35:51 +01:00
Oliver Davies ef8b74190d chore: remove .netrwhist 2021-09-28 08:33:59 +01:00
Oliver Davies 9e4d2f5ccb chore: group and sort key mappings 2021-09-28 07:35:30 +01:00
Oliver Davies 1e7af29130 chore: remove Ctrl+P mapping 2021-09-28 07:34:42 +01:00
Oliver Davies a77cccf2c9 chore(nvim): update lspinstall config 2021-09-28 00:07:51 +01:00
Oliver Davies 896b6fe2b5 chore(nvim): use git_files instead of find_files 2021-09-24 13:12:07 +01:00
Oliver Davies 8a70176600 core(nvim): delete indentline.vim 2021-09-24 12:53:15 +01:00
Oliver Davies 66a509d2a4 feat(nvim): add lukas-reineke/indent-blankline 2021-09-24 12:53:07 +01:00
Oliver Davies 802b2b522e nvim: fix wrapping and indents 2021-09-22 21:09:07 +01:00
Oliver Davies 1ffc461982 fix: comment out completion code for now
Can review again at another point.

Fixes #19
2021-09-18 00:16:28 +01:00
Oliver Davies 92d1ddeff2 feat: add a mapping to make the file executable
Press Ctrl+x in Vim to make the current file executable. Useful when
writing bash scripts.
2021-09-17 21:29:23 +01:00
Oliver Davies 73e76b4d97 feat: add tmux-sessioner script
Add a script for quickly navigating between directories using fzf and
tmux sessions. Executable within zsh and Vim.
2021-09-17 19:42:11 +01:00
Oliver Davies 2f2c020719 Commit plugin changes 2021-09-11 08:13:04 +01:00
Oliver Davies b5f21ae1d0 nvim: Add kabouzeid/nvim-lspinstall 2021-09-03 19:40:33 +01:00
Oliver Davies 6dc20d3c2f nvim: Add nvim-ts-context-commentstring 2021-09-01 21:34:06 +01:00
Oliver Davies ab321e7697 nvim: Add vuels 2021-08-19 15:27:33 +01:00
Oliver Davies 3b1ad2cc25 chore(nvim): Remove unused key mappings 2021-08-11 09:57:32 +01:00
Oliver Davies 48b5c9b908 fix(nvim): Run make for telescope-fzy-native 2021-08-11 09:46:08 +01:00
Oliver Davies 27b8254a68 refactor: Rename vim to nvim 2021-08-11 09:45:34 +01:00