f779e5c4b6
vim: enable true color inside tmux
2022-01-25 00:51:01 +01:00
ae056c50b3
vim: organize plugins by theme
2022-01-25 00:44:34 +01:00
4cbfb53fe1
vim: use local ref to vim.g for efficiency
2022-01-25 00:44:24 +01:00
1acd99e2fa
vim: nicer setting of options
2022-01-24 22:01:02 +01:00
4d52a8204b
vim: make gf
work in init.lua
2022-01-23 20:12:58 +01:00
fffb78e27e
Reorganize packages and simplify bootstrap
2021-11-18 00:21:57 +01:00
e1753e4f55
vim: replace vim-plug with packer.nvim
2021-11-16 17:18:56 +01:00
b31dcac34e
vim: use API for setting keymaps
2021-11-11 15:27:58 +01:00
cc343b91c4
vim: disable unused builtin plugins
2021-11-11 10:05:29 +01:00
e8d8eed462
vim: remove old VimL files
2021-11-11 10:04:30 +01:00
aaf0527c4d
vim: quick and dirty move keymaps to lua (with vim.cmd)
2021-11-11 10:02:59 +01:00
d9ae564153
vim: port autocmd to lua using wrapper function
...
Wrapper is needed until this PR is merged into neovim:
https://github.com/neovim/neovim/pull/14661
2021-11-11 09:43:17 +01:00
e3c0dac924
vim: move vim-plug invocation to a lua file
2021-11-11 09:20:27 +01:00
6946addc61
vim: port options to lua
2021-11-11 09:18:19 +01:00
4ad4ee81f8
vim: split up init to ease porting
2021-11-11 09:06:52 +01:00
4aaf6ebb36
vim: init.vim -> init.lua
...
For sanity, let's start small. Just keep the old one around for now and
source it from init.lua.
2021-11-11 08:36:34 +01:00
c018c96859
vim: fix formatlistpat
...
The previous format for some reason was causing problems when wrapping
comments in files with ft=sh. This new pattern seems to fix the issue
while keeping the old functionality.
2021-11-08 14:51:54 +01:00
5805ab5e5f
vim: better listchars and highlights
2021-11-08 12:27:21 +01:00
f5dd2bd54b
vim: improve formatoptions
2021-11-08 12:26:58 +01:00
231bce970a
vim: disable bells and window auto-resize
2021-11-08 12:25:55 +01:00
e3c0bd323b
vim: always use dark background
...
The reason for this is that in some servers the automatic detection (see
:help background) is guessing it wrong and using a light background,
consequently burning my eyeballs every time I open vim.
Hard coding the dark background seems fine for now, as I seem to never
really have a need for the light version. If the needs arises in the
future, then I'll have to come up with a better solution, but KISS for
now.
2021-10-27 10:13:41 +02:00
7d3659e2f3
vim: remove local configs
...
I actually don't have a use case for this at the moment and removing it
avoids running arbitrary vimscript unintentionally. I can always add it
back later if a real world use case arises...
2021-10-27 10:11:32 +02:00
492c5ccfa7
vim: status line tweaks
2021-08-30 11:43:01 +02:00
648b339ae1
vim: better line number mappings
2021-08-30 11:33:12 +02:00
20c3128b11
vim: add mapping to lisr buffers and switch
2021-08-30 11:27:12 +02:00
58f3e5621e
vim: use relative line numbers on startup
2021-08-16 13:21:43 +02:00
18f36d9061
vim: use unnamedplus register to sync with clipboard
2021-08-16 13:05:35 +02:00
1f5cfe8de7
vim: <leader>h toggles search highlight
2021-08-16 12:43:33 +02:00
1622e4abde
Organize config files by program
2021-08-10 13:06:48 +02:00