Commit graph

51 commits

Author SHA1 Message Date
Edward Litherland-Smith ed8f4f3ccb Add homebrew install path for fzf as well as local 2022-05-09 14:57:09 +01:00
Edward Litherland-Smith bec1f5801b Set number as well as relative number 2022-04-29 13:14:13 +01:00
Edward Litherland-Smith 2db254c7c7 Turn off number for terminal 2022-04-28 14:27:37 +01:00
Edward Litherland-Smith 5614060b0a Add vim surround pluging
Remove configure_options as moving to neovim
Tweak vimrc for neovim compatability
Add neovim setup details to README
2022-04-28 10:00:56 +01:00
Edward Litherland-Smith aa68d37952 Add Ack plugin with Ag support 2022-04-27 11:37:30 +01:00
Edward Litherland-Smith 7c182949d7 Remove broken function from NERDTree 2022-04-27 11:02:50 +01:00
Edward Litherland-Smith a3283674aa Add NERDTree plugin and config 2022-04-27 10:56:28 +01:00
Edward Litherland-Smith a7533a3764 Merge branch 'main' of github.com:elitherl/vim-config into main 2022-04-27 10:44:05 +01:00
Edward Litherland-Smith bd57d572cd Add shortcut to format documents 2022-04-27 10:43:48 +01:00
Edward Litherland-Smith 6459177a8f Add fzf plugin and config 2022-04-27 10:39:34 +01:00
Edward Litherland-Smith c75c90acc6 Extend systemd file syntax highlighting to pickup systemctl edit temp files 2022-02-02 11:41:15 +00:00
Edward Litherland-Smith fdc0bde4f2 Turn off linewrapping in .csv files 2021-10-13 09:16:04 +01:00
Edward Litherland-Smith 446f0b6977 Associate VSCode .code-workspace file as JSON 2021-10-05 14:20:20 +01:00
Edward Litherland-Smith 26f618c26a Disable mouse so that clipboard works properly 2021-05-04 13:34:56 +01:00
Edward Litherland-Smith 3d3f1bf66c Move jedi-vim to opt, only load if compiled with python3 2021-04-06 09:56:07 +01:00
Edward Litherland-Smith ed65ad8cc9 Back to not writing swp files 2021-03-31 08:54:35 +01:00
Edward Litherland-Smith edd55a3bb8 Change swp file handling
Change from not writing swp file to keeping it in memory, stops
writing to disk still but keeps duplicated editing feature of
having swp files
2021-03-29 15:47:27 +01:00
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 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 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 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 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 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 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 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 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