Commit graph

751 commits

Author SHA1 Message Date
Jonathan Hodgson
e477f57e64 VIM: Makes deoplete start by default 2020-09-26 18:12:02 +01:00
Jonathan Hodgson
e0bbd0aade VIM: Adds deoplete plugin
This and LSP were the two things that made me make the switch to neovim.

It is a fast and configurable auto-complete tool
2020-09-26 17:59:41 +01:00
Jonathan Hodgson
807981701e VIM: Adds lsp config submodule 2020-09-26 17:49:45 +01:00
Jonathan Hodgson
7c8d0127ea VIM: Adds vim-repeat plugin 2020-09-26 17:44:15 +01:00
Jonathan Hodgson
4aefb736c3 VIM: Adds vim-surround plugin 2020-09-26 17:42:27 +01:00
Jonathan Hodgson
4d75673fe0 VIM: Adds vim-vinegar plugin
This plugin makes some changes to netrw that I think should be default.

The mapping I use most is - from any buffer to open it's directory
2020-09-26 17:37:49 +01:00
Jonathan Hodgson
f9bb318e77 VIM: Adds some syntax plugins
These plugins shouldn't add much (if any) functionality. They are just
for syntax highlighting, indenting etc.
2020-09-26 17:27:32 +01:00
Jonathan Hodgson
5f134c7f07 Removes .netrwhist
Including adding it to gitignore
2020-09-26 17:15:27 +01:00
Jonathan Hodgson
2830500014 VIM: Adds fzf plugin
FZF is a fuzzy searcher that can be found here:
https://github.com/junegunn/fzf

I use it for a lot of things inside and outside vim
2020-09-26 17:11:39 +01:00
Jonathan Hodgson
409d99d713 VIM: Adds listchars variable
Newlines, trailing spaces and tabs will now be shown by unicode
characters
2020-09-26 16:56:35 +01:00
Jonathan Hodgson
144a01b4d2 Updates readme to reflect vim no longer being a submodule 2020-09-26 16:56:02 +01:00
Jonathan Hodgson
29fbe811a9 VIM: adds options for tabwidth
I intentionally use a proper tab character rather than spaces because I
prefer tabs to spaces.
2020-09-26 16:49:12 +01:00
Jonathan Hodgson
2ab9b7a9b4 VIM: Adds check around clipboard mappings and auto correct spelling 2020-09-26 16:48:00 +01:00
Jonathan Hodgson
fa9e7ef249 VIM: Adds ctrl+c and ctrl+v mappings for clipboard use 2020-09-26 16:33:07 +01:00
Jonathan Hodgson
05cf5d188c VIM: Adds split movement mappings
Ctrl + h,j,k,l will move between vim splits
2020-09-26 16:23:35 +01:00
Jonathan Hodgson
8a99723c51 VIM: Adds some simple settings from my old vimrc
* New windows opening right and down
* spellcheck language en_gb
* Tell vim it's a fast terminal
* number and relativenumber
* allow buffers to be backgrounded
* Try and keep cursor 5 lines from the bottom / top when scrolling
2020-09-26 16:15:53 +01:00
Jonathan Hodgson
fbf82ca323 VIM: Moves plugins to init.vim and adds syntax and filetype on
syntax on needs to be run after the plugins are loader otherwise their
ftdetect won't be evaluated.

source: b98553808d (diff-f1ac6cb94fa93f38916c6118994b11e3R197-R204)
2020-09-26 16:02:40 +01:00
Jonathan Hodgson
40e3ec0081 VIM: Adds jj mapping for escapeing insert mode 2020-09-26 15:47:01 +01:00
Jonathan Hodgson
3424880833 VIM: Swaps colon and semicolon in normal and visual mode
I use colon (command mode) far more than semicolon (repeat any of fFtT)
2020-09-26 15:42:59 +01:00
Jonathan Hodgson
8a3cc67dce VIM: Add my prefered colourscheme: gruvbox and set leaders
This involved adding a submodule which contains the gruvbox plugin.

Normally I have the background transparent when using vim but I am going
to try without that.

I have set my leader key to space and my local leader to \ which I am
used to
2020-09-26 15:39:17 +01:00
Jonathan Hodgson
dbddb76f6f Adds a link to mounting without sudo to bookmarks 2020-09-26 15:13:44 +01:00
Jonathan Hodgson
28386e90fb Adds an interactive jq experement 2020-09-26 15:13:23 +01:00
Jonathan Hodgson
c02e14dcfc Adds some useful util bash functions 2020-09-26 15:12:48 +01:00
Jonathan Hodgson
fc2ea10d47 Adds background switcher systemd files to dotfiles 2020-09-26 15:10:01 +01:00
Jonathan Hodgson
381c66d766 BIN: Updates git-delete-submodule to remove them if they've been moved
The old script assumed that submodles name and path were the same, now
that isn't the case
2020-09-26 14:46:23 +01:00
Jonathan Hodgson
83fb1dc1a1 VIM: removes old nvim files for fresh start 2020-09-26 14:45:49 +01:00
Jonathan Hodgson
18ad4d528b VIM: Wiping vim configuration
My old vim config has a lot in there that I no longer use and as a
result I will be starting again. My vim configuration used to be a
submodule of my dotfiles, this proved to be more hassel than it was
worth so from now my new vim configuration will be in my main dotfiles
repository in the vim/ directory.

I will be re-building my vim configuration and plan do document
everything as I go in commit messages as seen in Greg Hurrel's excelent
dotfiles repo: https://github.com/wincent/wincent

I will try to keep the number of non-syntax plugins to a minimum.
2020-09-26 14:43:25 +01:00
Jonathan Hodgson
3d37f3c645 Wraps strings in double quotes 2020-09-25 10:46:36 +01:00
Jonathan Hodgson
16fe25ba4a Adds corp-curl script 2020-09-23 09:51:09 +01:00
Jonathan Hodgson
085f17ab1f Adds scripts to help with ssl testing 2020-09-22 15:49:42 +01:00
Jonathan Hodgson
77955b1e18 Renames jwtcat to catjwt to avoid clash with 3rd party tool 2020-09-22 15:41:06 +01:00
Jonathan Hodgson
d106799a8b Creates script for printing jwt web tokens 2020-09-22 15:40:20 +01:00
Jonathan Hodgson
516af805c3 Adds git-fuzzy to zsh 2020-09-22 15:39:54 +01:00
Jonathan Hodgson
aa9f0b967e Adds script to download a series from iplayer 2020-09-19 11:25:48 +01:00
Jonathan Hodgson
0fa0b5e0a5 Updates tridactylrc and adds gnvim script
The script simply opens a new terminal with nvim running in it, passing
any arguments directly to nvim

This is used by tridactyl to open a text box in vim

Also added some new search engines and some other keybindings
2020-09-19 11:24:02 +01:00
Jonathan Hodgson
dcad943088 Adds unread emails to prompt 2020-09-19 11:23:21 +01:00
Jonathan Hodgson
f6f7c490b8 Adds fzf completion to ytaudio 2020-09-19 11:22:53 +01:00
Jonathan Hodgson
b48b57851a Adds sl to commands not to notify on end 2020-09-19 11:20:34 +01:00
Jonathan Hodgson
3a647e8756 Makes zsh expand initial command properly 2020-09-19 11:19:58 +01:00
Jonathan Hodgson
b19db697e8 A start to webtest script 2020-09-19 11:18:55 +01:00
Jonathan Hodgson
b21b0ced09 several changes to rss feed links
* Youtube videos now come from youtube's rss feeds rather than
invidious'. invidio.us has shut down and I had trouble with the other
instances, some needed captcha's (on a rss feed?!?!) others just didn't
work. I decided that an RSS feed request to google's servers was
probably ok and unlikely to stop working

I also added some new feeds
2020-09-19 11:15:29 +01:00
Jonathan Hodgson
5197f64a20 Git config changes
Makes nvim editor, adds delta as pages and tweaks lol and lola aliases
2020-09-19 11:14:20 +01:00
Jonathan Hodgson
0d357e8f9e Makes linkhandler handle more
It now handles some peertube, more invidious and xkcd
2020-09-19 11:12:34 +01:00
Jonathan Hodgson
2acea3ea54 Makes systemd handle davmail and regular inbox checks 2020-09-19 11:10:40 +01:00
Jonathan Hodgson
c80a9ec925 Allow syncing of just inbox rather than all mailboxes 2020-09-19 11:09:20 +01:00
Jonathan Hodgson
237b06631c Updates vim config 2020-09-19 11:07:38 +01:00
Jonathan Hodgson
5490877e2e Fixes cyberchef script 2020-09-19 11:03:31 +01:00
Jonathan Hodgson
90231cca39 Changes to how cat works mainly
Cat is now a function rather than an alias. It will tie in with grc if
possible and add syntax highlighting to the file

if not, will fall back do using bat
2020-09-15 17:13:32 +01:00
Jonathan Hodgson
3e59d66cd7 Adds initial tridactyl config 2020-09-04 18:00:08 +01:00
Jonathan Hodgson
3f265a3c25 Makes password manager change keyboard layout when inserting 2020-09-03 17:08:46 +01:00