Commit graph

103 commits

Author SHA1 Message Date
Bruno BELANYI 53c88541e7 [ADD][VIM] More colorschemes 2020-12-12 14:12:42 +01:00
Bruno BELANYI 0c175aa650 [ADD][VIM] Photon colorscheme 2020-12-12 14:12:42 +01:00
Bruno BELANYI 1a76ae3dec [ADD][VIM] ALE related mappings 2020-12-12 14:12:42 +01:00
Bruno BELANYI 295670f792 [ADD][VIM] Color column 100 in Haskell files 2020-12-12 14:12:42 +01:00
Bruno BELANYI f17b377b0d [UPDATE][VIM] Use ghc with dynamic libraries 2020-12-12 14:12:42 +01:00
Bruno BELANYI 357ee8fd89 [UPDATE][VIM] ALE configuration for Haskell 2020-12-12 14:12:42 +01:00
Bruno BELANYI da32b4f8e6 [ADD][VIM] TOML plugin 2020-12-12 14:12:42 +01:00
Bruno BELANYI 270bc39397 [ADD][VIM] Haskell filetype configuration 2020-12-12 14:12:42 +01:00
Bruno BELANYI 1daa1cce96 [UPDATE][VIM] Color column 99 in Rust files
As mandated by the official coding style for Rust.
2020-12-12 14:12:42 +01:00
Bruno BELANYI 7fc21c978e [ADD][VIM] Use tabs in gitconfig 2020-12-12 14:12:42 +01:00
Bruno BELANYI 0ad4b69dad [ADD][VIM] Mail filetype configuration 2020-12-12 14:12:42 +01:00
Bruno BELANYI 2b0a7deccc [ADD][VIM] More Tim Pope plug-ins 2020-12-12 14:12:42 +01:00
Bruno BELANYI e3c85a7df5 [ADD][VIM] Tex filetype configuration 2020-12-12 14:12:42 +01:00
Bruno BELANYI 3923fb230c [ADD][VIM] YAML filetype configuration 2020-12-12 14:12:42 +01:00
Bruno BELANYI 5e6a17064b [ADD][VIM] Auto-format Rust files on save 2020-12-12 14:12:42 +01:00
Bruno BELANYI 94ed7a9e9e [FIX][VIM] Unlet ftplugin variables without errors 2020-12-12 14:12:42 +01:00
Bruno BELANYI 510d768f2d [ADD][VIM] Nix plugin 2020-12-12 14:12:42 +01:00
Bruno BELANYI 62b3d66dc8 [FIX][VIM] Remove typo 2020-12-12 14:12:41 +01:00
Bruno BELANYI 986c255736 [ADD][VIM] CMake specific configuration 2020-12-12 14:12:41 +01:00
Bruno BELANYI 61fb44f08b [UPDATE][VIM] Change colorscheme
I added more colorschemes that look good. Onedark should be a nice
change from Gruvbox.
2020-12-12 14:12:41 +01:00
Bruno BELANYI 58e8869538 [ADD][VIM] Use lazyredraw 2020-12-12 14:12:41 +01:00
Bruno BELANYI 31174951ff [ADD][VIM] Auto-format Python files on save 2020-12-12 14:12:41 +01:00
Bruno BELANYI ff1649bd58 [ADD][VIM] Only show sign column on active buffer 2020-12-12 14:12:41 +01:00
Bruno BELANYI da54f2d130 [UPDATE][VIM] Move plugin settings to directory 2020-12-12 14:12:41 +01:00
Bruno BELANYI bdf2b7a58c [UPDATE][VIM] Better display of whitespace
I noticed that I didn't have any display for non-breaking spaces. While
adding this option, I chose to update tabs and trailing spaces display
too.
2019-11-05 16:00:42 +01:00
Bruno BELANYI b610120360 [UPDATE][VIM] Better description for misc mappings 2019-11-05 16:00:42 +01:00
Bruno BELANYI 8b3eb2d05e [ADD][VIM] Mapping to source current buffer 2019-11-05 16:00:42 +01:00
Bruno BELANYI b1db71ddfa [ADD][VIM] Home-row insertion mode escape mappings 2019-11-05 16:00:42 +01:00
Bruno BELANYI f5c1d37ca3 [ADD][VIM] Mapping to jump to/from quickfix list 2019-11-05 16:00:42 +01:00
Bruno BELANYI dfc7166126 [ADD][VIM] Mapping search using fzf 2019-11-05 16:00:42 +01:00
Bruno BELANYI f08e81154f [ADD][VIM] Info reader plug-in 2019-10-27 18:53:47 +01:00
Bruno BELANYI 824b349542 [FIX][VIM] Do not highlight trailing space in help 2019-10-27 18:53:36 +01:00
Bruno BELANYI a3d8ef9a63 [UPDATE][VIM] Move mappings to different files
Because a lot of my mappings use the <Leader> key, this is the only file
that *must* be loaded before all the others, otherwise the value of
leader when the script is read will be erroneous.

I also tried to use `git write-tree` and `git commit-tree` to emulate a
manual octopus merge to preserve the line history for each file. But
honestly that gave a graph that was too ugly for a history that really
did not need that amount of accountability. However it is a fun
exercise, and I recommend to everyone to try it at least once.
See Raymond Chen's blog `The Old New Thing`, with the post titled `How
to split out pieces of a file while preserving git line history: The
hard way with commit-tree`, for an explanation.
2019-10-26 00:55:20 +02:00
Bruno BELANYI 1d58d25015 [UPDATE][VIM] Remove Gmove leader mappings
I never use it, and git-messenger shadows the mapping, which I should
make less implicit by at least removing this useless option.
2019-10-25 23:48:16 +02:00
Bruno BELANYI d9eab5526f [UPDATE][VIM] Factorise b:undo_ftplugin
Instead of re-writing the same condition each time, I put the function
in an autoload plugin instead (which is going to be loaded just about
every time I start writing code, but that's neither here nor there) to
stop repeating myself.
2019-10-25 14:27:21 +02:00
Bruno BELANYI 36faab278e [FIX][VIM] Set b:undo_ftplugin if not set
I hit the problem when loading a fugitive window, but this should be
done for all filetype plug-ins before trying to append to the variable.
2019-10-25 14:15:56 +02:00
Bruno BELANYI 571d5bc9e0 [ADD][VIM] ALE settings for Mypy linter in Python 2019-10-25 14:01:19 +02:00
Bruno BELANYI 43a0785118 [ADD][VIM] Disable better-whitespace with fugitive
The inline diff view in fugitive contains spaces, they shouldn't be
highlighted to avoid distracting me.
2019-10-25 13:58:27 +02:00
Bruno BELANYI 044f5f4c14 [UPDATE][VIM] Disable spell-checking by default
I was starting to get annoyed by all the spell-checks happening inside
strings and comments that underlined words which are not mistakes but
also not in the dictionary.
2019-10-22 09:39:37 +02:00
Bruno BELANYI b6b79c71f5 [UPDATE][VIM] Remove gruvbox lightline theme
I don't like the colors of the gruvbox theme in lightline because errors
and warnings are not highlighted. I could fix the theme, but I've been
using instead wombat for a while and find that it looks perfectly fine.
2019-10-21 14:15:36 +02:00
Bruno BELANYI ef51e87126 [FIX][VIM] Correct ALE warning color in lightline
Because of a typo, the background color was not changed when warnings
were displayed.
2019-10-21 14:14:52 +02:00
Bruno BELANYI 62ce5480bc [UPDATE][VIM] Move Makefile setting to ftplugin 2019-10-19 05:46:29 +02:00
Bruno BELANYI 7de7a7ec2e [ADD][VIM] Use cheat40 plug-in
This is a nice plug-in to show a little 40-columns wide window
containing a cheat-sheet about Vim, or any custom cheat-sheet in the
runtimepath.
2019-10-19 05:46:29 +02:00
Bruno BELANYI edaafabbf7 [UPDATE][VIM] Move Netrw specific setting to ft 2019-10-19 05:46:29 +02:00
Bruno BELANYI e8314d6f34 [ADD][VIM] C++ namespace snippet 2019-10-19 05:46:29 +02:00
Bruno BELANYI 8faf2e188b [UPDATE][VIM] Better UltiSnips settings
The mappings are easier to use, and my personal snippets are stored
under my `.vim` folder in my home directory.
2019-10-19 05:46:29 +02:00
Bruno BELANYI 7701eb13d3 [ADD][VIM] Mapping to remove search highlighting 2019-10-19 05:46:29 +02:00
Bruno BELANYI cca1075b5b [UPDATE][VIM] Specify ALE linter timings 2019-10-19 05:46:29 +02:00
Bruno BELANYI 7dc3190ee2 [UPDATE][VIM] Move ALE linter options to ftplugin 2019-10-19 05:46:29 +02:00
Bruno BELANYI 0473705335 [UPDATE][VIM] Use b:undo_ftplugin
You're supposed to undo the changes that you made to a buffer's
variables when doing filetype-related settings. The variable
'b:undo_ftplugin' contains the commands necessary to revert any changes
that you have made to accomodate this filetype.

I removed the mappings for left and right in a quickfix windows because
I don't use them, and the 'qf' plug-in already maps those (meaning I had
an error when I tried to unmap them after qf already did so).
2019-10-19 05:46:29 +02:00