Commit graph

164 commits

Author SHA1 Message Date
76e05f928c fix(vim): treesitter highlighting to org files
The treesitter plugin for org files was getting setup after the org
plugin was loading, this is throwing errors when trying to view or edit
org files.

Now the plugin order has been changed so it all works correctly
2022-07-31 20:43:31 +01:00
5103be7421 feat(vim): get emmet to load for erb files 2022-07-31 20:42:11 +01:00
6ba17a7e36 feat(vim): add vim-fugitive and vim-rhubarb plugins 2022-07-25 20:56:59 +01:00
442232ed0d chore(pp): fix formatting 2022-07-25 20:07:53 +01:00
ac1be9cab1 refactor(pp): have a good think about the package that get installed
This has not been reviewed for quite some time, and things linke
filezilla as getting installed.
2022-07-25 20:01:40 +01:00
1f9440bd30 feat(vim): add solargraph lsp to start the ruby stuff 2022-07-25 20:00:49 +01:00
f11697bf39 chore(vim): remove command-t from loading start using ivy.nvim 2022-07-25 19:59:59 +01:00
9424d2c09f fix(zsh): make editor nvim
The alias from vim to nvim dose not work when using `git commit`
2022-07-25 19:57:33 +01:00
ec470f93db fix(vim): lint files when we open buffers
Currently they are only getting saved when you save buffers. I was
missing errors when jumping around because the files do not get saved.

This will now show me the errors when the buffer opens not only when the
buffer is saved and I get to see linting errors when jumping around a
codebase.
2022-07-25 19:57:00 +01:00
b97ece9419 chore(core): remove ubuntu.startup file
This is legacy for fixing terminal colors in when using urxvt term on
unity. This has not been a problem since using base16 term colors.
2022-07-25 19:57:00 +01:00
0701476af3 feat(pp): add delta diff tool 2022-07-25 19:56:56 +01:00
e9bfc19b22 chore(git): configure delta to have a light theme 2022-07-25 09:59:37 +01:00
Ade Attwood
2085bcb5fb feat(vim): enable lua support with linting and the lsp 2022-07-10 21:14:19 +01:00
Ade Attwood
68c1b1ba32 chore(vim): add mapping to exit completion
This is when inside a snippet the tab get taken over by the completion
menu, you can then not jump to the next mark in the snippet.

Now you can use <C-e> to close the completion menu and tab will then
jump to the next mark in the snippet.
2022-07-10 21:11:42 +01:00
Ade Attwood
110b609a26 fix(vim): change wildignore to CommandTWildIgnore setting
Use the CommandTWildIgnore insted of the wildignore so I can still get
completion for :e in folders like vendor or node_modules but, they will be
ignored from command-t file searches.
2022-07-07 19:54:49 +01:00
Ade Attwood
db5f19471e feat(vim): add in the old run plugin
This is for quickly running command in a terminal from within vim
2022-07-07 19:50:31 +01:00
Ade Attwood
73bd21a464 chore(pp): change oh-my-zsh package location from there rename 2022-07-07 19:49:27 +01:00
Ade Attwood
9d1114a885 chore(pp): move to neovim unstable
This is to get some features to use some plugins like the built in LSP.
On the hole its going well. Writing code is way more responsive with
the built in LSP. Project navigation is still not there, Ivy is a really
nice emacs package that I am still trying to find a replacement.
2022-07-07 19:46:00 +01:00
Ade Attwood
42e3ec99e4 chore(pp): remove alacritty terminal install
Now I am using the builtin terminal, simple-terminal or mate terminal
for ubuntu.
2022-07-07 19:42:18 +01:00
Ade Attwood
742e5fa82d refactor(pp): update docker to v1.29
This is mainly get access to tmpfs via docker-compose

See: https://docs.docker.com/storage/tmpfs/
2022-07-07 19:35:46 +01:00
Ade Attwood
3c44bfada0 chore(pp): remove vscode settings
This is getting hard to manage cuz the settings.json is always changing
with different things I am playing with. The main editor is vim or
emacs, vscode is just a text editor for using multiple cursors.
2022-06-12 20:59:56 +01:00
Ade Attwood
1881ac53ca fix(git): ensure the git editor is nvim not vim
Aliases apparently don't work in the .gitconfig
2022-06-12 20:48:46 +01:00
Ade Attwood
7240bda30e fix(pp): change git urls from 'git://' to 'https://'
The 'git' schema no longer works git repos no longer get cloned
2022-06-12 20:44:21 +01:00
Ade Attwood
c281311657 feat(vim): start moving back 2022-06-12 20:25:17 +01:00
Ade Attwood
a533f76a3c refactor(emacs): update terminal prompt and enable goto-address-mode
Update the terminal prompt so you can step forward and backwards though terminal
props using vims `[[` and `]]` that is included in evil-mode.

Enable goto-address-mode in the terminal so I am click on and open urls in the
browser from the terminal. This is most used for opening create merge requests
links when pushing commits to a branch.
2022-04-25 19:50:13 +01:00
Ade Attwood
7cb0fc34a8 fix(emacs): misspelling in rjsx-mode making tree sitter not load 2022-04-25 19:45:10 +01:00
Ade Attwood
86bf86d201 chore(shell): remove nvim plugin
At this point there is a very little I am using of oh-my-zsh. I think it could
be worth looking at removing it and build my own git module based on the
oh-my-zsh one
2022-04-09 07:59:05 +01:00
Ade Attwood
9baabb8b1b feat(emacs): add html via web-mode to fmt-mode 2022-04-09 07:56:27 +01:00
Ade Attwood
e92e803761 chore: go back to the dark theme 2022-04-09 07:55:38 +01:00
Ade Attwood
5d825446cc feat(emacs): add status icons to compilation notification
When the compilation notification displays it will now show an icon with the
result of the compilation.
2022-04-09 07:50:34 +01:00
Ade Attwood
a28ec75358 chore(bin): add the script to update the dotfiles
For some reason this was not added to the repo
2022-04-09 07:48:08 +01:00
Ade Attwood
66bfdd39b7 refactor(emacs): remove doom-themes and to full base16-themes
This would switch between 'doom-tomorrow' for use with the GUI and
'base16-tomorrow' when using the terminal. Previously the base16 themes has some
issues with GUI emacs and doom was much better. However, since a913143ee when I
forked base16 I have been making small tweaks and don't use the doom themes any
more.

This is now time to remove them and go full base16
2022-03-13 20:43:53 +00:00
Ade Attwood
70b3d16a4b fix(emacs): sort out language tool this was just not working 2022-03-13 20:42:44 +00:00
Ade Attwood
4760acc065 feat(emacs): rebuild format.el
This is the first implementation of the fmt-mode built with 'reformatter'. This
removes the CLI tool that was calling all the different formatters and replaces
it with an emacs mode.

The CLI tool was an attempt to create a common CLI tool to format code. In
reality this just became hard to maintain and was only ever used in the emacs
formatter. To format code in the CLI I was just using the upstream tools.

See: https://github.com/purcell/emacs-reformatter
2022-03-13 20:36:11 +00:00
Ade Attwood
7c184d8616 feat: ask to remove branch in git-merge-patch
When trying to merge-patch it will fail if the branch you are trying to merge is
already on the local machine.

This will ask if you want to remove it. The branch will be removed locally and
then pulled from the remote to ensure you are not merging any un-pushed local
changes.
2022-03-13 20:33:15 +00:00
Ade Attwood
2965923990 fix(emacs): limit supper tag to prog-mode
When my custom tab was getting set on all modes it was not letting me tab in
counsel or any of the command like modes.

This now only uses the supper tab in prog-mode where this really applies.
2022-03-13 20:30:06 +00:00
Ade Attwood
147b0ada48 chore: add screenshots 2022-02-19 23:20:38 +00:00
Ade Attwood
fbe9d264cd docs: update readme 2022-02-19 23:16:42 +00:00
Ade Attwood
ae2de6a719 feat(emacs): go full quelpa
Move all of the package installation from the default package.el to quelpa. This
has the main advantage of being able to update packages better. I have also got
a few package coming from forks and custom repos.

This also removes all of the `ensure t` from the use-package statements as we
have already set `use-package-always-ensure` so its not needed.
2022-02-19 22:15:11 +00:00
Ade Attwood
589237ea50 feat(emacs): implement super tab
This is a port of the original super tab I had in vim. It has a hierarchy of
checks for actions when using the tab so I can use tab for snippet expanding,
expanding emmet expressions.

Currently this dose not support tab for cycling though completions, and I am
sure there will be some bugs in some situations.
2022-02-19 20:43:21 +00:00
Ade Attwood
bb7671734c refactor(emacs): update the development config
Add clangd config args for the LSP config.

Remove all the custom company ordering and overriding to add in the snippets in
to the completion menu. This was only causing issues, so we now have to remember
what the snippets are. We can think about adding in a select snippet command via
counsel or something if this becomes a bigger issue.

Add in compilation notifications via `notify-send` cli tool. This helps when
testing or compiling is taking a long time an I put it into the background. When
it is done we now get desktop notifications
2022-02-19 20:33:28 +00:00
Ade Attwood
8c0ff15ca4 chore(emacs): remove lsp-treemacs package
Treemacs was remove in 08335fb, this package was left in an needed to be removed
2022-02-19 20:30:24 +00:00
Ade Attwood
5c3892b1a6 feat(emacs): add custom projectile project type
Add a new project type for Practically Makefile projects that are using
conventional tools.

This implements a few features all based around PHP and JavaScript projects. The
most notable features are:

- Compilation error detection for Jest JS testing framework
- Compilation error detection for Psalm PHP static analyser
- Alternate file support for Codeception "Cest" files
- JS test commands supporting "Jest"
- PHP test commands supporting "Codeception", "PHP Unit" and "Simple PHP Unit"
- Full project test support detecting the file type and the test command to run
2022-02-19 20:19:43 +00:00
Ade Attwood
fc58b21d01 style: align puppet array items 2022-02-19 14:43:29 +00:00
Ade Attwood
55e3e98701 chore: add languagetool back in
I am sure this was installed before, it must have been removed when I started
making the repo public.

Anyway this adds it all back and also sets up the emacs package for using it
when writing.
2022-02-19 14:43:14 +00:00
Ade Attwood
21b38da6e9 chore(emacs): configure puppet by default
Now the puppet packages get loaded by default. I don't really know why it was
not getting loaded, it must have been some time since I have needed to edit any
puppet config
2022-02-19 09:22:30 +00:00
Ade Attwood
acf6a0d08b chore(shell): add alias to switch kube namespaces 2022-02-19 09:21:09 +00:00
Ade Attwood
73ec9f8f3f chore(emacs): org mode updates
Lots of different updates while I am working on refining the Org workflow
2022-02-15 20:51:38 +00:00
Ade Attwood
d29a601b65 feat(emacs): add command for extracting a patch from emails 2022-02-15 20:47:31 +00:00
Ade Attwood
e5877a73da refactor(emacs): ui updates
Moves the setting of the font size onto a function so it can be used
dynamically. This is for when I am moving emacs across monitors with different
DPI's.

Also move base-16-themes to my fork
2022-02-15 20:43:06 +00:00