8d727321c2
vim: key maps to move to begin/end of line in insert mode
2022-02-02 01:40:22 +01:00
bdbc1c35d5
vim: more readable key mappings
2022-02-02 01:37:05 +01:00
08a5953fc6
vim: move plugin configurations to after/plugin/*.lua
2022-02-02 00:45:27 +01:00
445e6c4a9d
vim: replace autocmds that just set 'filetype' with ftdetect
2022-02-01 22:23:29 +01:00
7b9b0c297b
vim: remove obsolete autocmds
2022-02-01 21:33:44 +01:00
c0dfdd1d6d
vim: replace FileType autocmds with ftplugins
2022-02-01 21:30:40 +01:00
0aaa310c4d
vim: show uncolored icon in inactive buffers
2022-02-01 21:12:43 +01:00
bb5fe60f53
vim: better visual queue for paste mode
2022-02-01 20:57:55 +01:00
bef5e01951
vim: convert lua files to tabstop = 2
2022-02-01 20:53:19 +01:00
f8181683e9
vim: add lua ftplugin (tabstop = 2)
2022-02-01 20:44:43 +01:00
45eadf6291
vim: better status line (lualine)
2022-02-01 20:38:51 +01:00
6e2995c930
vim: toggle paste with F20
...
I have F20 mapped to the P key in the function layer on my Moonlander
keyboard.
2022-02-01 18:48:55 +01:00
6d4632d02a
vim: replace lightline with lualine
2022-01-31 00:39:43 +01:00
34a4debbce
vim: add vim-fugitive
2022-01-26 00:08:29 +01:00
8c530d5d2d
vim: add keymap to edit $MYVIMRC
2022-01-25 23:59:13 +01:00
0828088421
vim: avoid toggling the search highlight option
...
I usually want to clear the highlights after doing whatever the reason
for the search was, but having to re-enable it all the time was
annoying. So, using `:nohlsearch` fixes that, as this command does
exactly what I actually wanted all along.
2022-01-25 23:12:55 +01:00
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