This allows neovim instances to share registers, marks, command history
and some other bits.
See :h shada
Augroup stolen from here:
https://vi.stackexchange.com/a/24564
Greg Hurrell video: https://www.youtube.com/watch?v=3jDafvUESbs
This allows me to jump between c source, header and test files easily.
It is capable of a lot more than this but I haven't looked into it too
much yet.
Now uses ccls instead of clang for c language server. Seems better at
jumping to definition.
Also adds <leader k> to open man page since shift k is now overwritten
with the popup for the declaration that lsp provides
Heavily inspired by this: https://dev.to/frost/fish-style-abbreviations-in-zsh-40aa
When space is pushed, zsh will try to expand any aliases that I have put
in the array in this file.
It is currently quite basic, only looking at the first word on the
command line.
Previously, pushing both shift keys would switch the layout between
colemak and qwerty. However, I never use qwerty now so have changed it
so that double shift now toggles capslock. The capslock key remains
bound to backspace as is default in colemak
If a shadow is added to a screenshot, that new images is added to the
clipboard and the next event will be run against that.
Also, add to clipboard is now something you can do after a screenshot
(or shadow add) which is useful if you copy something, then want to
re-add the last screenshot to your clipboard
This is a script that provides context menus (via rofi) based on a
previous action.
It takes an optional --first argument that, when present, causes the
script to select the first option on the list automatically.
It currently has two actions that it knows how to follow:
* using my password manager script to select a password
- In this situation it will get a otp for the same password
* After taking a screenshot
- open the screenshot
- Add a shadow to the screenshot
- Perform ocr on the screenshot
I will extend this to do more things in time.
The two plugins were added along with relevant configuration for each
If in neovim and sudo_askpass isn't set, vim will display a warning if
WW is typed in command mode
I have added a default binging of ctrl+/ to toggle the preview in fzf
I have added some git key bindings for git stuff. They are all in the
form with ctrl+g ctrl+<something>. Most are what they want, for example
branches are ctrl+g ctrl+b however commits are not. I assume this is
because I can't overwrite what ctrl+c does, even if prefixed. I will
look into this at some point but for now commits are ctrl+g ctrl+h.
Largely stolen the code from here:
https://gist.github.com/junegunn/8b572b8d4b5eddd8b85e5f4d40f17236
although with minor tweaks.
I might change the initial ctrl+g binding as it is awkward on colemak
although we'll see how often I use it.
I should probably re-work all of them at some point but these changes
allow for external monitors with a resolution other than 1920x1080. When
switching to laptop only, I disable all other monitors by listing all
rather than hard coding common ones
I have been experimenting with running a terminal on a black and white
e-ink display. A lot of things are difficult to see when converted from
colour to black and white.
The main args completion no longer uses a bash while loop for splitting
up the arguments making it much faster.
I have also removed the use of FZF for looking up modes. This has been
moved into the overidepartialcompletion file in includes.