1
0
forked from extern/nix-config
Commit Graph

33 Commits

Author SHA1 Message Date
Donovan Glover
edbeec006f
vim: Use consistent lightline background color 2023-01-07 03:37:02 -05:00
Donovan Glover
93f611225e
vim: Add nerdtree settings
Although there are other solutions available now, nerdtree still works
fairly well for our use case.
2023-01-07 01:28:43 -05:00
Donovan Glover
a17bdb86f6
vim: Add vim-astro
Although I haven't used it to its fullest potential,
https://astro.build/ seems interesting.
2023-01-07 00:48:34 -05:00
Donovan Glover
b1f7d08eac
vim: Don't restrict shell to sh
As far as I remember, this makes using the built-in terminal command
more convenient.
2023-01-06 12:35:40 -05:00
Donovan Glover
eec27882da
vim: Allow saving in directories that don't exist
Now those directories will be automatically created as needed.
2022-12-15 11:41:49 -05:00
Donovan Glover
0a087452a1
vim: Add vim-devicons
Now it's easier to take a glance at NERDTree and see the different kinds
of files in a directory.
2022-11-03 11:28:43 -04:00
Donovan Glover
e32645caf8
vim: Disable middle button click
This helps prevent accidentally pasting things.
2022-11-02 21:02:29 -04:00
Donovan Glover
64029e3c5b
vim: Open Shift JIS files with proper encoding
This makes dealing with certain Japanese files significantly easier
since we no longer have to worry about manually performing a Shift JIS
to UTF-8 conversion before opening the file in vim, nor do we have to
worry about manually changing the encoding with :e ++enc=sjis.
2022-10-24 11:48:22 -04:00
Donovan Glover
5437f3237e
vim: Don't show spelling errors for CJK characters
This makes dealing with CJK files inside vim a much more pleasant
experience. Note that automatically handling Shift JIS encoded files is
something I haven't implemented yet, although a simple keybind could
make things more manageable.
2022-10-24 11:18:20 -04:00
Donovan Glover
e1cd81f9b4
vim: Add Caddyfile support 2022-07-30 01:04:28 -04:00
Donovan Glover
750fb7a2ba
vim(ale): Fix linting with standardjs
Previously ale would show an error message when dealing with JavaScript
files without an .eslintrc. That has now been fixed and standardjs works
as intended.
2022-07-29 10:38:32 -04:00
Donovan Glover
c887d1823d
vim: Update ale location 2022-07-29 10:34:55 -04:00
Donovan Glover
ebc3d2440e
vim: Remove vim-toml
As of Neovim 0.6 and Vim 8.2.3519, vim-toml is now included in the
vanilla software, so using this plugin is no longer necessary.
2022-07-29 09:56:16 -04:00
Donovan Glover
5b33379e36
vim: Remove vim-closetag
This plugin appears to conflict with vim-autopairs, although I prefer
the flexibility that autopairs provides.
2022-03-19 09:46:58 -04:00
Donovan Glover
34c389c790
vim: Add prisma support 2022-01-01 20:54:18 -05:00
Donovan Glover
bcf774fe1d
vim: Show numbers by default 2022-01-01 20:54:09 -05:00
Donovan Glover
cb328838ba
vim: Add back nerdtree
It's nice to have the option to use nerdtree even if I don't need it
often.
2022-01-01 20:53:12 -05:00
Donovan Glover
35a7671728
vim: Add coc.nvim
I've been using coc.nvim for months now, so I might as well commit this.
2022-01-01 20:51:06 -05:00
Donovan Glover
15d0c03809
vim: Update auto-pairs to maintained fork
This fixes an issue where the previous version of auto-pairs would come
across issues when closing parentheses.
2021-08-01 15:02:32 -04:00
Donovan Glover
919178b2d4
vim: Add GraphQL support
Now GraphQL queries look a little nicer.
2021-05-16 14:45:22 -04:00
Donovan Glover
a8660248ea
Switch from vim-jsx to vim-jsx-pretty
Note that vim-jsx is now unmaintained.
2021-05-16 14:42:47 -04:00
Donovan Glover
e2ca722963
meta: Miscellaneous updates
I wanted to commit some more stuff for 2020. Better late than never,
right? The most significant change is probably in fish_prompt.fish.
I fixed an edge case where the directory in question could be the
same as the user's username.
2020-12-31 23:56:22 -05:00
Donovan Glover
0c7e78acb9
vim: Fix vim-jsbeautify initialization
This fixes an issue where vim-jsbeautify would not be initialized.
2019-01-15 22:56:56 -05:00
Donovan Glover
abdc5317e1
vim: Remove vimtex-delim-close keybind
This keybind was causing a delay every time I typed ']', which
was uncomfortable to use, so I removed it.
2018-11-25 20:54:43 -05:00
Donovan Glover
151e706a36
vim: Strategically install plugins
Instead of failing silently when the wal colorscheme is not found, we
can take this as a cue to install the necessary vim plugins instead.
2018-11-14 18:44:22 -05:00
Donovan Glover
b0b27be0ab
vim: Don't raise an error if wal is not found
Since the wal color scheme is not installed until PlugInstall is ran,
the colorscheme function will always throw an error that needs manual
intervention. This fixes that.
2018-11-14 17:50:30 -05:00
Donovan Glover
2fa91642d3
vim: Install vim-plug if it is not present
This commit means that manually copy/pasting the curl command on new
machines is no longer necessary.
2018-10-31 12:35:27 -04:00
Donovan Glover
b85f938296
stow: Add directories for vim, wal, and extras
The extras directory contains lesser-known programs that may
not be commonly stowed.
2018-10-22 17:09:28 -04:00
Donovan Glover
22ef6af42f
Move dotfiles to the dots directory
Now that I've read the man pages for `stow` and actually know how to use
it properly, I can organize my repositiory by using a separate dots
directory specifically for my dotfiles.

Additionally, similar dotfiles are now grouped together. This means less
stow work for me with files that would otherwise only be used in one
environment (e.g. bspwm).

As much as one would like to show off browsing the internet with w3m,
such a setup is highly impractical for daily use. Remembering the
keybindings I set up was also becoming an issue, so I simply removed
them in favor of the defaults, assuming I ever need to use w3m at a
later date (probably not).
2018-09-06 14:07:35 -04:00
Donovan Glover
b3f6e5b09b
Update .vimrc 2018-08-31 13:43:14 -04:00
Donovan Glover
d29fa15f0d
Remove ctags support from vim
Although ctags were a nice addition to vim visually, I hardly made use
of them, if ever. This commit removes ctags since the amount of effort
required to maintain such a feature outweighs any gained benefits.
2018-08-31 04:17:45 -04:00
Donovan Glover
f5b307c9ac
Update vim config
Added the vim-markdown plugin and fixed an issue where neovim would
prevent the terminal cursor from blinking after exiting from it.
2018-04-09 17:28:48 -04:00
Donovan Glover
38c2f28fba
Move vim and neovim to stow 2018-02-27 20:31:44 -05:00