Commit graph

13 commits

Author SHA1 Message Date
13fa12c5c3 Ensure files end with a new line 2024-07-14 23:51:56 +02:00
1108538484 vim: add keymaps to change quote style in lua files 2024-02-18 14:25:15 +01:00
e34671ddaa vim: better structure for utils 2024-02-18 02:31:02 +01:00
237d67f82b vim: move code from lua ftplugin to utils
The ftplugin is executed via the FileType event every time a lua file is
opened, so better to have just the keymaps set there.
2024-02-17 15:16:43 +01:00
7817b927ee vim: move lua gf handler from autocmd to ftplugin 2024-02-17 13:23:49 +01:00
94a09924be vim: use <localleader> for after/ftplugin mappings 2023-08-07 22:49:09 +02:00
38476f668c vim: add feedback for lua executor
This is useful when executing lines that produce no output, so I have
some confidence that something actually happened when pressing the key
bindings.

I am printing the message before executing the command because otherwise
this feedback would shadow the output of the command being executed
(which I am presumably interested in and would serve itself as
feedback).
2022-09-28 23:01:12 +02:00
4060d091d7 vim: add mapping to execute multiple lines of lua code 2022-07-25 23:30:38 +02:00
97839fa58b vim: use vim.keymap instead of custom functions
`vim.keymap` was introduced in nvim 0.7, so this is the minimum  version
required for this to work.
2022-07-01 21:37:04 +02:00
cfef55a487 vim: rename buffer local maps for consistency with nvim API 2022-02-09 23:14:25 +01:00
0edb597382 vim: merge lua utils 2022-02-09 23:09:51 +01:00
15a0238078 vim: organize my lua utilities 2022-02-08 20:11:18 +01:00
61f0b64b84 install: make ~/.config a symlink into dotfiles 2022-02-07 19:26:29 +01:00
Renamed from nvim/.config/nvim/after/ftplugin/lua.lua (Browse further)