1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-18 17:51:31 +01:00
Commit Graph

162 Commits

Author SHA1 Message Date
bretello
245eb034f4
vim: add comments to navigation shortcuts 2023-12-28 16:23:18 +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
f4e960be35 vim: lower timeout for combined keymaps 2023-10-25 11:44:33 +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
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
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
323542a705
vim: cleanup wayland copy/paste 2023-09-14 13:07:36 +02:00
bretello
5563b3434f
vim: fix aupat for iptables files 2023-06-22 11:25:33 +02:00
bretello
ca30bd2d47
vim: tagbar: fix mouse-click issue
related: 3b6cf2b
2023-01-27 12:34:55 +01:00
bretello
3b6cf2b92f
vim: tagbar: workaround for mouse-click issue
the world ends at column 223.

https://stackoverflow.com/questions/7000960/in-vim-why-doesnt-my-mouse-work-past-the-220th-column

Note that (at least on alacritty) the ttymouse=sgr workaround does not
work:

```vim
if has('mouse_sgr') " fixes unclickable panes after a specific column (~220?)
    set ttymouse=sgr
else
    set ttymouse=xterm2
end
```
2023-01-20 14:31:08 +01:00
bretello
8e3c36d200
vim: tagbar/airline: properly show tag in lower right corner 2023-01-20 14:30:16 +01:00
bretello
2066baee05
vim: linting cleanup 2023-01-19 17:33:44 +01:00
bretello
3f89412fcc
vim: ALE: allow right click for refactors/code actions 2023-01-19 15:07:17 +01:00
bretello
8d561fea1f
vim: add <leader>D :AleToggle 2023-01-17 13:57:14 +01:00
bretello
b95fac5c72
vim: add config options for ALE's virtualtext 2023-01-17 13:56:47 +01:00
bretello
9299c753e0
vim: add F8 shortcut for tagbar 2022-12-23 12:12:25 +01:00
bretello
12e521a2c6
vim: remap <leader>gl to Commits, add <leader>gL for :Bcommits 2022-12-21 13:54:02 +01:00
bretello
937555cd8d
vim: do not lint on text changed/insert leave 2022-11-26 00:56:23 +01:00
bretello
5b575986c9
misc improvements/cleanup
- add fzf-tab-config
- fix fzf plugin install
- change shortcut for spell
- set default shell to zsh
2022-11-26 00:56:23 +01:00
bretello
b0ae3d6e3d
vim: update ale/gutentags config, add new git maps
Git maps:

- <leader>gp -> push
- <leader>gl -> log
- <leader>gc -> commit
- <leader>gpf -> push --force-with-lease
- <leader>gs -> stage hunk under cursor
- <leader>gu -> unstage hunk under cursor
2022-08-12 15:52:55 +02:00
bretello
9f566efa8e
vim: add actionlint support (through ALE) 2022-05-03 10:17:42 +02:00
bretello
26e313e21e
vim: map <leader>H to actionlint on current file 2022-04-08 12:07:48 +02:00
bretello
75a00b2380
vim: fix Goyo config 2022-04-04 15:47:31 +02:00
bretello
5393f33795
vim: add GL shortcut to show git log for function under cursor 2022-03-31 19:30:31 +02:00
bretello
f88413ddf8
vim: make <leader>n show references in quickfix 2022-03-31 19:30:11 +02:00
bretello
bef37c3601
vim: add <leader>q shortcut (closes windows) 2022-03-26 16:43:46 +01:00
bretello
c5be7e7f0c
vim: set minimum fold lines 2022-03-25 08:52:57 +01:00
bretello
782accd7ae
vim: do not return to previous edit position for files in .git 2022-03-25 08:34:09 +01:00
bretello
7005372b5a
vim: create undo_dir when missing 2022-03-25 08:33:47 +01:00
bretello
78ee86c14a
vim: only load ultisnips when python3 is available 2022-03-25 08:30:16 +01:00
bretello
ecd2472910
tmux: add history limit 2022-02-26 22:45:14 +01:00
bretello
9d2a3d99bd
vim: add (commented) vim themes plugs 2022-02-07 21:12:30 +01:00
bretello
24e705b332
vim: shortcuts improvements
- add `T` when on python file to run the pytest test
    under the cursor
- add <leader>xx to open a work buffer
- cleanup fugitive diff/blame/log maps
- remove outdated maps
2022-02-07 21:08:04 +01:00