1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 15:21:30 +01:00
Commit Graph

139 Commits

Author SHA1 Message Date
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
bretello
f48e6fa773
vim: add <leader>ue :UltiSnipsEdit mapping 2022-01-25 10:55:42 +01:00
bretello
8773349238
vim: fix rainbowcsv plug config 2022-01-25 10:55:13 +01:00
bretello
c231afe36e
vim: add keywordprg config, override K
hit K to run a ripgrep search on the word under the cursor.
This leverages fzf.vim
2022-01-25 10:52:24 +01:00
bretello
66ca1af8b7
ansible: improve setup.yml playbook, formatting 2022-01-12 10:06:54 +01:00
bretello
0b3213632e
vim: remove csv plug 2021-12-25 22:55:49 +01:00
bretello
683ca475ae
vim: cleanup fzf config 2021-12-22 12:57:55 +01:00
bretello
f05a892907
vim: update fzf layout 2021-12-20 20:09:57 +01:00
bretello
7e00071eda
vim: update ultisnips config 2021-12-20 20:09:00 +01:00
bretello
41816d6821
vim: add <leader>m for :Maps, update git maps 2021-12-20 20:09:00 +01:00
bretello
ea95b4edce vim: improve fzf configuration 2021-12-09 10:47:29 +01:00
bretello
40540908e0 vim: improve fugitive/gitgutter shortcuts 2021-12-09 10:43:05 +01:00
bretello
f1454a95f7 vim: update ALE configuration 2021-12-09 10:36:21 +01:00
bretello
b249ed88f3 vim: add cursorcolum toggle shortcut (<leader>i) 2021-12-09 10:36:17 +01:00
bretello
ef244d81e2 vim: add fzf_colors option 2021-12-09 10:22:26 +01:00
bretello
ca7a7453a9
vim: update ALE rust config 2021-12-09 00:11:19 +01:00
bretello
207a46b847
vim: fix comment 2021-12-09 00:02:39 +01:00
bretello
81a84dacd2
vim: add json comment highlighting 2021-12-09 00:02:38 +01:00
bretello
d58d4232e8
vim: cleanup airline config 2021-12-09 00:02:38 +01:00
bretello
5d45f454f8
vim: add tab switch shortcuts 2021-12-09 00:02:38 +01:00
bretello
6a5991de8b
vim: add tagbar plug 2021-12-09 00:02:37 +01:00
bretello
84236e28ad
vim: clean up colorscheme config 2021-12-09 00:02:37 +01:00
bretello
f297e2e221 vim: load plugins on-demand 2021-11-16 14:46:30 +01:00
bretello
b7f6ea2fc9 vim: add rainbow csv plugin 2021-11-16 14:42:56 +01:00