c0d1bd2df8
nvim: disable spell checking for NeogitStatus buffers
2024-07-21 19:12:46 +02:00
608d971a3c
nvim: use ftplugin instead of autocmd for NeogitCommitMessage settings
2024-07-21 19:11:52 +02:00
7952eeed2f
nvim: use single line comments for plantuml files
2024-07-17 22:48:10 +02:00
3d68f6fb65
Add .editorconfig
2024-07-17 22:48:10 +02:00
13fa12c5c3
Ensure files end with a new line
2024-07-14 23:51:56 +02:00
76ecc9b533
nvim: disable conceal for markdown files
2024-07-12 16:35:25 +02:00
5274f0a7f2
nvim: use 2 spaces for file type cmake
2024-07-11 12:25:31 +02:00
5a957f6de3
nvim: Add PlantUML syntax
2024-07-11 12:24:25 +02:00
786b28fba5
vim: Apply gitcommit
options to NeogitCommitMessage
buffers
2024-02-24 21:08:01 +01: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
6724d45051
vim: enable conceal for markdown files
2024-02-15 22:14:02 +01:00
427baf06d1
vim: set a reasonable comment string for C++ files
2024-02-15 22:13:45 +01:00
d5e870758d
vim: set commentstring for C# files
2023-09-01 08:51:48 +02:00
94a09924be
vim: use <localleader> for after/ftplugin mappings
2023-08-07 22:49:09 +02:00
f41a8a426e
vim: use 2 spaces for indentation in Markdown files
2022-10-07 12:08:45 +02:00
861c13b7bd
vim: clean up old mapping functions
2022-10-05 00:09:33 +02:00
38173a4577
vim: indent zsh
files with 2 spaces
2022-10-04 10:36:44 +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
daa67a6311
vim: quit help windows with q
2022-02-08 20:15:04 +01:00
15a0238078
vim: organize my lua utilities
2022-02-08 20:11:18 +01:00
85dd0a4838
vim: use tabstop = 2 for shell scripts
2022-02-07 20:13:56 +01:00
61f0b64b84
install: make ~/.config a symlink into dotfiles
2022-02-07 19:26:29 +01:00