1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-24 20:41:31 +01:00
Commit Graph

559 Commits

Author SHA1 Message Date
bretello
58393456a9
zsh: functions: add 'bold' function to print bold text 2023-12-21 16:13:48 +01:00
bretello
353378af8c
pdbrc: simplify for bretello/pdbpp version
https://github.com/bretello/pdbpp
2023-12-21 16:12:51 +01:00
bretello
439f29318c
zsh: disable completions when a comment is started, change comment highlight style 2023-12-21 16:11:32 +01:00
bretello
f9e4a2c224
zsh: clean/improve brethil theme 2023-12-21 16:09:43 +01:00
bretello
b5ebe15e79
ansible: fix yay install script 2023-12-20 12:33:27 +01:00
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