Commit graph

189 commits

Author SHA1 Message Date
615413d6e2 style(vim): add lua style and luacheck and format lsp config again 2022-12-22 20:41:30 +00:00
2670607006 refactor(vim): update the lsp config
Remove old servers that don't get used any more. Move config into a
table for better visibility on what servers are installed and their
configs.
2022-12-22 20:38:56 +00:00
3e4a265578 style(vim): format lsp config 2022-12-22 20:12:50 +00:00
42da517d5d chore(pp): comment out gem packages for now
This is not working correctly when ruby is installed with RVM. It will
need some debugging that will need to be done another time.

For now the only one getting use is puppet-lint, if this is not found it
can be installed when need.
2022-12-22 19:58:10 +00:00
6b8cc6b420 feat(tmux): add popup window switcher
This is a script that will popup a window with a list of windows in a
fzf promp. When selected the window will be focused. If the window is in
another session the session will also be switched and the window focused
2022-12-22 19:56:02 +00:00
3d387e4552 feat(vim): add term script back in from the history
This is from the dotfiles a long time ago, its still in vimscript, don't
think I will ever convert it over to lua.

This also disables base16 shell when the terminal is running inside vim
like I am doing with emacs.
2022-12-03 16:50:31 +00:00
490cd76629 refactor(vim): remove exit after run command
I am finding my self wanting to view the output of command nowadays,
rather then wanting to run a quick command and see if its passed or not.
By removing the exit at the end of the command the terminal dose not
close now. If I want the terminal to close I can still append the
command with `&& exit` when using `Run`
2022-12-03 16:14:29 +00:00
d04bc93c9d feat(vim): add codeclimate plugin 2022-11-15 20:38:14 +00:00
e93f9864b5 feat(vim): override the cspell linter for better integration
This will now use a custom config file `$HOME/.cspell.json` that will
use a custom dictionary for my own words. This will have things like my
name so cspell stop telling me I spelt my name wrong.

Will also add the `--language-id` flag with the current filetype, so it
can match language specific words.
2022-11-15 20:08:40 +00:00
0506dd4842 feat(vim): split out and refactor format on save so it can be toggled
This is off by default and will need to be turned on when developing on
code that will need to be formatted on saving.
2022-11-15 20:05:39 +00:00
e7897fc7e0 fix(vim): add binding to jump between snippet placeholders
Currently it is set up to use tab to jump between placeholders and go to
the next completion item. This is causing conflicts when typing
variables in the snippet placeholders.

Now you can use <CTRL-h> to jump to the next placeholders. This is only
available when the completion is active so, dose not conflict with
switching windows.
2022-10-01 11:44:37 +01:00
67f15d126d chore(pp): go dark mode
Really need to find a way to switch between light and dark mode.
2022-10-01 11:42:10 +01:00
aab25b20e0 chore(vim): remove compile of command-t
I think this will soon be replaced with ivy.nvim
2022-09-08 21:10:52 +01:00
c810abd159 chore(shell): add some more path setup 2022-09-08 21:09:07 +01:00
6808cf40b2 fix(vim): remove treesitter for indenting and go back to native 2022-09-08 20:53:32 +01:00
04a4d88c3c feat(vim): add the rust_analyzer lsp 2022-09-08 20:52:59 +01:00
12c916817a fix(vim): remove conflict keymap for lsp
This keymap is conflicting with switching windows up. This is baked into
my workflow with tmux navigator and vim
2022-09-08 20:50:59 +01:00
0dd4a191a1 feat(vim): style the completion better
This also keeps it a consistent width so it does not keep jumping
arround. We are also using nice nerd font icons without using `lspkind`
2022-09-08 20:45:35 +01:00
4274d31d39 chore(vim): move lint code into the lua lint file
This was not working on for some reason in vim script
2022-09-08 20:43:59 +01:00
ee7def9362 chore(vim): change the default tabstop to 2 from 4 2022-09-08 20:42:08 +01:00
cd9b06d987 fix(vim): ensure new split are make in the correct direction
vsplit  This is created to the right of the current window
split   This is made below the current window
2022-09-08 20:39:10 +01:00
6cd434f0a9 chore(vim): new theme to match the tmux prompt 2022-09-08 20:35:59 +01:00
6ffb547907 feat(tmux): time for a long overdue new theme 2022-09-08 20:30:35 +01:00
89ee851600 chore(pp): remove vscode install
This now get installed in other ways. What already installed on the last
two setups
2022-09-08 20:28:40 +01:00
8ace3ffffe chore(emacs): remove the install and update 2022-09-08 20:25:49 +01:00
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