Commit Graph

504 Commits (37f33a3614a9516ccca46b16dc216feff94d4af4)

Author SHA1 Message Date
bretello 37f33a3614 vim: fix ruff python formatter 2023-12-04 11:10:09 +01:00
bretello 0ada46b805 vim: use ruff as default python formatter 2023-12-04 10:21:54 +01:00
bretello c41a91e784
vim: add <Leader>] and <Leader>[ to move between definitions
`<Leader>[` moves to the start of the previous method/function/class
definition, `<Leader>]` to the start of the next
2023-11-22 12:52:22 +01:00
bretello a20bffdf67
zsh: python: cleanup mkvenv 2023-11-11 23:33:50 +01:00
bretello 1537ddcc64
zsh: python: add -f flag to mkvenv
- improve mkvenv with getopts option parsing
- add -f flag to force recreation of venv

Usage:
```bash
mkvenv [-sf] [venv_name]
```
2023-11-11 18:54:40 +01:00
bretello aaea49ecf8 aliases: add J global alias for `| jq` 2023-10-25 11:48:03 +02:00
bretello 41eb8f1a5f zsh: vimscratch: add filetype arg
Allows setting filetype for vimscratch command.

Usage: `<command> | vimscratch [filetype]`.

For example:

```bash
curl https://myip.wtf/json | vimscratch json
```
Will open the output of the curl command as a json
temporary file in vim.
2023-10-25 11:45:54 +02:00
bretello f4e960be35 vim: lower timeout for combined keymaps 2023-10-25 11:44:33 +02:00
bretello 58201b2ab7 zsh: cleanup git functions 2023-10-25 11:43:44 +02:00
bretello 4d9462239f zsh: move git fuzzy log to gitconfig (usage: `git flog`) 2023-10-25 11:43:16 +02:00
bretello c329308759 zsh: avoid printing command name in completion wrapper 2023-10-25 11:34:36 +02:00
bretello ee531d18cd functions: remove debug statements in vimscratch 2023-09-25 12:56:09 +02:00
bretello 125a4e7aed functions: allow arguments in vimscratch 2023-09-25 12:39:24 +02:00
bretello cff20cef16
Revert "vim: ale: try using deoplete for completion"
This reverts commit bfad3b2a4c.
deoplete requires pynvim to be always available.
This is annoying when using virtualenvs or pynvim is not available.
2023-09-22 18:21:56 +02:00
bretello f307a705a2 vim: add info (texinfo) reader
Use `:Info <command>` to read the info page
for `<command>`

Read more on https://github.com/HiPhish/info.vim
2023-09-20 10:19:55 +02:00
bretello a4019ac53a zsh: fix FZF_CTRL_T_COMMAND 2023-09-15 11:33:53 +02:00
bretello cffd1ef025 vim: ale: use cursor detail and floating preview 2023-09-15 10:23:01 +02:00
bretello bfad3b2a4c vim: ale: try using deoplete for completion 2023-09-15 10:23:01 +02:00
bretello c71f4a83a3 ipython: make config saner 2023-09-15 10:23:01 +02:00
bretello 5703c21e43 gitconfig: formatting 2023-09-15 10:23:01 +02:00
bretello 7efeedf6d9
add extras folder
just miscellaneous script/configs that could be useful
2023-09-15 00:35:36 +02:00
bretello e32676922e
zsh: add tracing module 2023-09-15 00:33:46 +02:00
bretello b96f0a6f86
zsh: add pacman module 2023-09-15 00:32:28 +02:00
bretello 51f92885fe
ipython: add fix for broken pager with bat 2023-09-15 00:29:56 +02:00
bretello d4bf2f32f8
vim: allow local override of config via the .vimrc.local file 2023-09-15 00:29:56 +02:00
bretello e749eedb75
vim: get rid of set shell/shellcmdflag 2023-09-15 00:29:56 +02:00
bretello 455ba2c17e
vim: misc linting fixes 2023-09-15 00:29:56 +02:00
bretello f6880b715e
vim: group autocommands in augroups 2023-09-15 00:29:55 +02:00
bretello de05c9c8f7
vim: add support for THEME_PREFER_LIGHT env variable 2023-09-15 00:29:55 +02:00
bretello 20baed04d9
vim: cleanup plugs 2023-09-15 00:29:55 +02:00
bretello cf6dad897d
vim: plugs: add colorizer for hex color codes 2023-09-15 00:29:55 +02:00
bretello fa69ebe8f9
vim: ale: tweak ale_lint_on enter/insert 2023-09-15 00:29:55 +02:00
bretello 0e5f23e864
vim: ale: add arduino config 2023-09-15 00:29:55 +02:00
bretello 1ccb61013d
vim: make plugs lazier 2023-09-15 00:29:55 +02:00
bretello a0c5985009
vim: ale: add basic android dev configuration 2023-09-15 00:29:55 +02:00
bretello 90c870b91d
vim: ale: update linters 2023-09-14 23:30:31 +02:00
bretello be236d0e25
vim: <leader>Q :close! 2023-09-14 23:30:31 +02:00
bretello f5f6133c53
vim: ale: update fixers 2023-09-14 23:30:31 +02:00
bretello 4b19ff0f38
ansible: update brethil dotfiles mark 2023-09-14 23:30:31 +02:00
bretello 9ed23cd5a5
ansible: update packages 2023-09-14 23:30:31 +02:00
bretello 99baa7f1e0
zsh: automatically enable/disable python virtualenvs on chdir 2023-09-14 23:30:31 +02:00
bretello 1dcdb77f97
zsh: add SAVEHIST for unlimited history 2023-09-14 23:30:31 +02:00
bretello c5532fea31
zsh: add FZF_CTRL_T_COMMAND 2023-09-14 23:30:30 +02:00
bretello 70aec3b2b6
useful_commands: add dbus introspection 2023-09-14 23:30:30 +02:00
bretello 39abcd4756
zsh: remove set -x from mangrep() definition 2023-09-14 23:30:30 +02:00
bretello 5a1c3c07ac
zsh: add support for THEME_PREFER_LIGHT env variable for bat theme 2023-09-14 23:30:30 +02:00
bretello 0c52f21233
pdbrc: add support from THEME_PREFER_LIGHT env variable 2023-09-14 22:40:49 +02:00
bretello b193afe50a
upgrade script: avoid printing extra line on source 2023-09-14 22:38:57 +02:00
bretello 323542a705
vim: cleanup wayland copy/paste 2023-09-14 13:07:36 +02:00
brethil 24fc7dd2ed zsh: add `bathelp` alias for highlighting commands' -h/--help flags 2023-09-11 15:47:22 +02:00