Commit graph

340 commits

Author SHA1 Message Date
fbd607ce5d feat(emacs): add git snippet for the security footer 2021-05-01 14:34:36 +01:00
e48e616c6e fix(emacs): create typescript-tsx-mode
When editing typescript jsx files I was previously using rjsx-mode to
get the jsx highlighting and emmet `className` support. This now
splits out the tsx to ts like other packages like spacemacs and doom
do. This gives me better jsx support with typescript and not impacting
the ts mode that dose not play nicely with jsx.

This seems to be working better with the snippets I created for
spacemacs that works with rjsx-mode and override any functions that
need it for typescript-tsx-mode
2021-05-01 14:26:21 +01:00
3c2b34e98f feat(zsh): add "git add -p" alias
Alias "gap" to "git add -p" for patch adding of files
2021-04-30 20:51:09 +01:00
c704328466 fix(zsh): set the BAT_THEME variable to theme bat cli tool
Setting the bat theme so the cli tool will now integrate better with
the shell theme
2021-04-30 20:46:58 +01:00
2562204827 fix(emacs): move custom-set-variables out of the init.el
This is to stop the generated code from cluttering the init.el and it
can now be ignored by git
2021-04-16 20:49:53 +01:00
60509de1bf feat(fzf): add command for git check out 2021-04-16 20:49:01 +01:00
7c34a6baf2 fix(git): force git to open commits in terminal editor
When committing and using emacs as the editor it would always open a
new emacs window. This was taking focus away from the terminal and
losing flow when context switching out of the terminal and into a new
window.
2021-04-16 19:59:30 +01:00
4296160d7d feat(emacs) add org reveal package 2021-04-16 19:58:03 +01:00
7cab7c158d feat(zsh): override command not found to add command not found link
When you run a shell command that is not found this will print out a
link to https://command-not-found.com to give more info on the
command and good docs on how to install the package that the command
came from. This can be built on to do other things like git suggestions
on common commands that are incorrect
2021-04-16 19:53:25 +01:00
0ced8a28b1 refactor(core): update code structure
This is the big re structure to all of the projects. I have decided to
go with the `GOPATH` format so all of the code is in one place and
organised inherently by code host / group / project
2021-03-16 20:22:26 +00:00
1e4968e1e1 feat(git): update merge-to to rebase onto target branch
Now when merging to it will rebase onto the target branch to make
merge-to work more. I was finding that it will fail and I was doing
the merge step all the time so now its built in.
2021-03-16 20:18:15 +00:00
7cf8c3fa53 feat(emacs): add code files to move away from spacemacs
This is the start to move away from spacemacs and to a custom emacs
config
2021-03-16 20:12:46 +00:00
d182275eb0 refactor(emacs): disable lsp breadcrumbs
This was after a recent update to lsp-mode / spacemacs when this feature was
enabled by default

See: c4ad14a73a/layers/+tools/lsp/README.org (breadcrumb-on-headerline)
2020-12-29 09:15:31 +00:00
72431d9b18 refactor(emacs): start playing with Hasklig font 2020-12-29 07:58:41 +00:00
755f41bcf8 feat(zsh): add fzf scripts 2020-12-28 21:12:43 +00:00
b7a3aabf49 feat(zsh): add dynamic path support 2020-12-28 21:11:58 +00:00
c80eec632c fix(core): fix bat install
When installing bat from the Ubuntu repo the executable name is `catbat`. After
updating to 20.04 the executable `bat` is not there. This links catbat -> bat so
bat works as expected
2020-12-28 20:51:00 +00:00
6c43582e35 feat(emacs): move to doom modeline 2020-12-28 19:46:12 +00:00
4ccb9323a1 fix(zsh): export go path to execute programmes installed with go get 2020-12-28 09:28:02 +00:00
b751a5f34b fix(zsh): disable base16 shell when in ssh session
When connecting to a workstation with this zshrc base16 will get in causing
issues in the theme on the client workstation
2020-12-28 09:22:43 +00:00
578d0b5f8b pref(zsh): improve start up time of zsh
Remove unused plugins and override composer plugin there was only one bit that
was really slow when evaluating the bin directory
2020-12-28 09:19:32 +00:00
766e50106e refactor(emacs): remove fringe color from theme
This gives the themes a move minimal and clean look.
2020-11-22 21:12:34 +00:00
4019c0a4eb improvement(code): remove line numbers and add defaultFormatter 2020-11-22 21:09:34 +00:00
d3a2f6dbe3 fix(emacs): update spacemacs to the develop branch via puppet
Before puppet was only checking to see if the repo was present. Now it is
checking to see if the branch is updated with the develop branch and getting
auto update when the puppet manifests are applied
2020-11-22 21:03:09 +00:00
340ed4036b fix(git): format .gitconfig and move to Emacs for the editor
For some reason the .gitconfig was indented with tabs this has now been
correctly formatted. Also move over to the Emacs client for the git editor. This
has been working well for now. My in the future look at forcing the editor to
open in the terminal as sometimes the focusing in X is a bit off
2020-11-22 20:57:40 +00:00
430871e37a feat: add mkcert install and config
See: https://github.com/FiloSottile/mkcert
2020-11-22 20:53:53 +00:00
9bb1595dec feat(emacs): make emacs open file to a line like a normal editor
When opening files in emacs from the terminal using the default command `+LINE`
is not really useful an no programs output files and lines in that format. All
programmes output a file like `path/to/file.ext:2` this is line 2 in the file
`path/to/file.ext` if you were to open this with the emacs command it would be
`emacs +2 path/to/file.ext`. With this commit you can use `emacs
path/to/file.ext:2` and it will open the file on line 2 like you would expect.

As a extra I have overridden the tmux open command to add the `--no-wait` to the
editor command so that we can continue to use the terminal window as the file is
open in emacs and we don't need to close the file to use the terminal.
2020-11-04 20:15:44 +00:00
b68fd82987 fix(emacs): sort out base16 terminal colors 2020-11-04 19:56:21 +00:00
b35513512b feat(shell): add docker ls -a alias dkls
This lists all container on the system event stopped ones. This is different to
`dkps` that only displays running container. Some times it is helpfully to
display stopped container for getting the id and viewing logs when debugging
crashing containers
2020-10-25 20:12:47 +00:00
1368b94faf fix(php): remove practically php bin export
This is now conflicting with phpenv and multiple php bin directories were
getting exported to the `PATH`
2020-10-25 20:10:36 +00:00
3464a86fb0 fix(emacs): zsh shell when inside emacs
When running zsh inside emacs base16 colors messes the colors. By using the
`INSIDE_EMACS` this excludes loading the shell color theme when running shells
inside emacs
2020-10-17 16:48:48 +01:00
ca5a928f55 feat(emacs): add spacemacs config
This was moved out of the private repo
2020-10-17 16:47:40 +01:00
e2adbf5e10 fix(emacs): stop tramp from hanging
When editing remote files in emacs via tramp it would just hang when the ssh
connection was made

See: https://www.emacswiki.org/emacs/TrampMode#toc9
2020-10-13 20:44:36 +01:00
337f603e45 refactor(core): remove thunderbird
This is not used anymore and replaced my notmuch emacs and mutt. I have mainly
been using the notmuch interaction in emacs so mutt maybe removed soon.
2020-09-21 20:49:53 +01:00
bb5eb593b3 refactor(vscode): add ignoreTrimWhitespace to the settings 2020-09-21 20:12:27 +01:00
12e2d3e841 fix(eamcs): change repo url and remove spacemacs dotfile
Change the git source for spacemacs so it links up with the existing git source.
Also remove the spacemacs dotfile, this will be in the private repo until I can
sort out a private spacemacs module to put some stuff
2020-09-21 20:09:37 +01:00
1787c434f8 feat(term): add alacritty and base16 colours
This add alacritty install and configuration. We are also include base16 for
terminal colours.
2020-09-20 21:13:11 +01:00
195b5060ed feat(emacs): add emacs install and setup
#	modified:   Puppetfile
2020-09-20 12:19:23 +01:00
01d6024067 feat(vscode): get vscode installed and configured 2020-09-20 10:32:02 +01:00
80239af169 refactor(core): start to make dotfiles public
This is the first commit that brings the privet dotfiles to a public
reop previously this was all one puppet module. Now this has been split
out so I can put all of the private files in a private puppet module
2020-09-20 06:22:17 +01:00