Commit graph

862 commits

Author SHA1 Message Date
Edward Litherland-Smith f3e7f78896 Disable writing swp files 2021-03-29 14:34:20 +01:00
Edward Litherland-Smith ca86a91b10 Add vim-gitgutter plugin and relevant config
Add gitgutter added/modified/removed count to statusbar
2021-03-29 14:31:11 +01:00
Edward Litherland-Smith e528b2a095 Merge branch 'main' of github.com:elitherl/vim-config into main 2021-03-23 14:33:46 +00:00
Edward Litherland-Smith ba1ca5bb49 Add instruction for clearing options 2021-03-23 14:33:18 +00:00
Edward Litherland-Smith 3aaa2d5ddb Add mypy as a python linter 2021-03-23 14:32:40 +00:00
Edward Litherland-Smith ddd147f808 Remove pylint, replaced with flake8 2021-03-12 14:30:44 +00:00
Edward Litherland-Smith df7e6222bc Add flake8 as python linter 2021-03-12 11:44:49 +00:00
Edward Litherland-Smith 9d5d65066c <leader>b to list buffers and prompt for buffer name to switch to 2021-03-10 14:24:08 +00:00
Edward Litherland-Smith 83f7ff47de Add terminal ANSI colours so Vim term matches colourscheme 2021-02-26 11:34:13 +00:00
Edward Litherland-Smith 744ad0749d Update syntax highlighting in diff
Remove syntax off as it turned syntax off for the whole session,
replace with diff highlighting and keeping syntax on during diff
2021-02-25 11:48:38 +00:00
Edward Litherland-Smith 9522f1a352 Change python textwidth to 88 from 79 to match black formatting 2021-02-23 16:09:32 +00:00
Edward Litherland-Smith e42394fd45 Fix WSL starting in REPLACE mode without breaking arrow keys 2021-02-23 11:57:53 +00:00
Edward Litherland-Smith 27688cd7c9 Fix arrow keys not working in insert mode 2021-02-23 11:52:38 +00:00
Edward Litherland-Smith 09839b8a02 Make tabstop=2 default behvaviour
Reduce extra ft files by making tabstop=2 the default behaviour
and overwriting as needed, instead of multiple files just setting
tabstop for a specific filetype and nothing else
2021-02-23 11:34:38 +00:00
Edward Litherland-Smith 146b537744 Add better python indenting 2021-02-22 15:48:10 +00:00
Edward Litherland-Smith 0fa1c87e95 Set tab length to 2 for vim files 2021-02-22 13:13:53 +00:00
Edward Litherland-Smith f7d12160c8 Update README.md with misc instructions
Add instructions to remove untracked content warning because
documentation is generated for python-syntax
2021-02-22 11:15:12 +00:00
Edward Litherland-Smith 6ea109871f Update tmux colour style 2021-02-22 10:01:46 +00:00
Edward Litherland-Smith 5e49218109 Add test to vimrc for 256 variable 2021-02-22 09:45:12 +00:00
Edward Litherland-Smith 1c81b45af9 Disable syntax during diff again for onehalf 2021-02-22 09:35:42 +00:00
Edward Litherland-Smith f07b34e790 Add checks for true colour support in terminal (visual only) 2021-02-22 09:05:59 +00:00
Edward Litherland-Smith 3fe142b8ca Keep syntax highlighting even on diff 2021-02-19 13:41:46 +00:00
Edward Litherland-Smith 519cf87831 Add onehalf theme, set as default + theme for lightline
Rename compile_options to configure_options

Move tmux.conf into .vim directory to enable consistent behaviour
when setting up vim + tmux on other machines
2021-02-19 09:59:49 +00:00
Edward Litherland-Smith daa10cd4f3 Add monokai_pro theme, move themes to better place 2021-02-12 15:18:00 +00:00
Edward Litherland-Smith f4caa3d868 Add colorcolumn to highlight lines too long, set textwidth for
python files
2021-02-11 17:03:29 +00:00
Edward Litherland-Smith af4d768026 Fix for Vim8.2 in WSL starting in REPLACE mode 2021-02-11 15:56:03 +00:00
Edward Litherland-Smith 9ece6e7600 Add some notes on compiling vim 2021-02-11 15:53:09 +00:00
Edward Litherland-Smith 442b41ccd0 Add vim source as submodule, to always build from a consistent version 2021-02-11 14:41:55 +00:00
Edward Litherland-Smith 9aa5247f27 Add jedi plugin for python file completion 2021-02-04 15:39:00 +00:00
Edward Litherland-Smith aa00def90c Add help tags generation to vimrc 2021-02-04 08:46:53 +00:00
Edward Litherland-Smith eb638bf4d8 Add tmux-navigator plugin 2021-02-02 11:35:57 +00:00
Edward Litherland-Smith 06aa965488 Add better python syntax highlighting 2021-01-26 10:48:17 +00:00
Edward Litherland-Smith c911384504 Hide dotfiles in explorer by default 2021-01-26 10:34:44 +00:00
Edward Litherland-Smith 4f72369350 Move ALE to start, enable completion for omnifunc 2021-01-22 13:54:21 +00:00
Edward Litherland-Smith d3960cf92f Add vim-markdown and tabular for better markdown formatting 2021-01-22 13:34:45 +00:00
Edward Litherland-Smith abeb2a9e02 Add BufOnly command to close all buffers other than current 2021-01-20 14:51:32 +00:00
Edward Litherland-Smith 142223cf0e Add shortcut to close buffer whilst keeping split (Bd) 2021-01-07 09:13:12 +00:00
Edward Litherland-Smith 5f326d48bd Set spelling locally, set autoread
Set spell locally for .md files and set json locally for .ipynb files -
instead of globally for each.

Set autoread to reload files when changed (e.g. cronjobs or git)

Add .swp files to .gitignore
2021-01-07 08:59:23 +00:00
Edward Litherland-Smith bcebc3f79e Remove custom '[' and ']', install vim unimpaired instead 2021-01-05 09:12:27 +00:00
Edward Litherland-Smith 9d262f2bc2 Add shortcuts for navigating quick fix menu 2021-01-04 14:20:59 +00:00
Edward Litherland-Smith 711c00e23a Add Esc remapping 2021-01-04 09:08:22 +00:00
Edward Litherland-Smith 138a641f03 Turn on spellcheck in markdown files 2020-12-22 13:59:36 +00:00
Edward Litherland-Smith 13876a2ab2 Stop text wrapping from breaking words 2020-12-21 08:52:45 +00:00
Edward Litherland-Smith 71fc49c2b9 Move ale to /opt so it's not started automatically. Just start with ':packadd ale' then reload open file(s) 2020-12-18 13:39:08 +00:00
Edward Litherland-Smith f093ef8b6b Add various plugins, configure lightline
Add ALE (Asynchronous Lint Engine), fugitive for git
and configure lightline to work better with both of these
2020-12-18 10:38:50 +00:00
Edward Litherland-Smith a673d5391a Move onedark, don't load automatically 2020-12-18 09:40:04 +00:00
Edward Litherland-Smith 4e8cd3a0e5 Remove nerdtree, vim Explore works just as well (if not better) 2020-12-18 09:26:05 +00:00
Edward Litherland-Smith df0c9a5d62 Add tab character for listchars 2020-12-18 09:18:50 +00:00
Edward Litherland-Smith f9c87114cc Add .ipynb syntax highlighting as json 2020-12-17 09:49:27 +00:00
Edward Litherland-Smith d54fc6ed05 Rename .vimrc to vimrc within repository files for convenience 2020-12-17 09:38:02 +00:00