Commit Graph

459 Commits

Author SHA1 Message Date
14ad39e5c5
nvim: lsp: add HTML, CSS, JS, JSON 2022-08-11 01:05:51 +02:00
b72fab5c29
nvim: only run colorcolumn function on tw change 2022-08-11 01:04:28 +02:00
0e14ee24f2
nvim: re-arrange treesitter config 2022-08-10 21:53:02 +02:00
186544c088
zsh: add ${HOME}/.local/opt/bin to path
I put language servers there for now
2022-08-10 21:24:43 +02:00
c748569a5a
nvim: lsp: add pylsp and lemminx, don't overwrite <Leader>c 2022-08-10 21:23:50 +02:00
6b9e33f4d5
nvim: move treesitter to filetypes 2022-08-10 21:23:23 +02:00
c307a4069f
nvim: load gentoo-syntax always
It defines so many filetypes, it's a headache to list them all.
2022-08-10 21:22:40 +02:00
b5b2e94faa
nvim: lsp: add lua-language-server support 2022-08-10 19:44:57 +02:00
fd529cdd5f
nvim: configure cursorline and scrolloff 2022-08-10 18:05:34 +02:00
51881cecd1
nvim: cosmetic 2022-08-10 17:55:27 +02:00
2590f905a7
nvim: fix autocmds 2022-08-10 17:52:25 +02:00
1c2fe12d9e
nvim: fix automatic config reload 2022-08-10 17:34:00 +02:00
23ada8c2ca
nvim: enable comment keymap in visual mode 2022-08-10 17:33:32 +02:00
f29f0dc217
nvim: change <Leader> to <Space> 2022-08-10 16:36:41 +02:00
4a317170e0
nvim: lsp: highlight symbol under cursor 2022-08-10 16:24:04 +02:00
b1c3738b3a
nvim: tweak completion with lsp 2022-08-10 16:23:23 +02:00
eda572c597
nvim: add auto-pairs 2022-08-10 01:30:02 +02:00
9ef6c92187
nvim: make re-indenting lines use <C-F> in normal mode, too 2022-08-10 01:23:22 +02:00
bdd03d2329
nvim: make <Home> toggler work in insert and visual mode, too 2022-08-10 00:00:12 +02:00
0c2b77555d
zsh: only try to alias emacsremote if it exists 2022-08-09 22:21:37 +02:00
6f5012e070
nvim: add treesitter dep to orgmode plugin 2022-08-09 21:39:23 +02:00
baf6550b8a
nvim: remove syntactic
It spawned windows everywhere without me telling it to.
2022-08-09 21:38:30 +02:00
e7efd8f27f
nvim: add conceal config to make org links look pretty 2022-08-09 14:38:53 +02:00
c1faa5c2d2
nvim: add ,<S-b> keymap to recently used files 2022-08-09 13:49:14 +02:00
1b6a74520c
nvim: add function to insert/update modeline 2022-08-09 13:28:46 +02:00
08f834ff08
nvim: make <Home> toggle between bol and bot 2022-08-09 12:25:47 +02:00
39aad95997
nvim: don't sync with system clipboard, use dedicated keys 2022-08-09 11:47:21 +02:00
a165eb4bd4
nvim: only load gentoo-syntax for ebuilds 2022-08-09 11:29:30 +02:00
93e2284db4
nvim: make listchars stand out as non-text 2022-08-09 11:26:22 +02:00
aa041079c5
nvim: move whitespace function to functions.lua 2022-08-09 11:26:00 +02:00
cb15d8ab62
nvim: add keymaps for scrolling window 2022-08-09 11:24:22 +02:00
2c8986901f
nvim: add gentoo syntax 2022-08-09 00:19:29 +02:00
58ee0ade7f
nvim: add colorcolumn-workaround for git commits 2022-08-08 23:29:17 +02:00
ec373c7934
nvim: set colorcolumn to textwidth 2022-08-08 23:11:28 +02:00
06e9f403e9
nvim: start git commit messages in insert mode 2022-08-08 22:13:48 +02:00
b46408a64a
nvim: call lua function directly in autogroup 2022-08-08 22:13:19 +02:00
a74aecc68c
neovim: add editorconfig plugin 2022-08-08 21:42:35 +02:00
dd45595854
neovim: autochdir + clipboard 2022-08-08 21:42:21 +02:00
479570112e
nvim: replace use with packer.use 2022-08-08 20:27:58 +02:00
11059147e5
nvim: move luasnip dep to lsp declaration 2022-08-08 20:23:44 +02:00
aea3d88329
nvim: fix some keymaps 2022-08-08 20:14:58 +02:00
6644ca74ce
nvim: make change buffer/tab keymaps work in insert mode 2022-08-08 20:05:40 +02:00
95b5fe29a4
nvim: install new plugins if they appear in nvim's lua directory 2022-08-08 20:00:17 +02:00
6c938e3d17
neovim: switch comment toggler, add neogit 2022-08-08 19:58:38 +02:00
6912174892
nvim: add CtrlP 2022-08-08 19:25:36 +02:00
58af1e692a
nvim: add buffer keymaps 2022-08-08 19:12:09 +02:00
c0d0aee138
nvim: add which-key 2022-08-08 19:11:44 +02:00
8f3f56b771
Revert "use use nvim -p by default"
This reverts commit ad7f30759b.
2022-08-08 18:59:38 +02:00
4fbe92945b
nvim: add keymaps for C-BS and C-Del 2022-08-08 18:10:10 +02:00
ad7f30759b
use use nvim -p by default 2022-08-08 16:59:50 +02:00
692ed1cb62
nvim: lsp: make keymaps work
forgot to pass the function. 🤦
2022-08-08 16:57:58 +02:00
a95c239305
nvim: make <space> no-op, don't wrap lines 2022-08-08 15:13:31 +02:00
d9df2ff4ac
nvim: add some key mappings for LSP 2022-08-08 14:52:28 +02:00
c69624e00e
zsh: use emacs keybindings as base 2022-08-08 14:03:06 +02:00
a7d3f4c9ee
nvim: modularise plugin config 2022-08-08 13:57:38 +02:00
0eaee2bc1a
set nvim as default editor 2022-08-08 13:14:26 +02:00
00d5db99d8
nvim: remove trailing whitespace, small fixes 2022-08-08 13:02:04 +02:00
e2883114f1
nvim: add org, completion, lsp 2022-08-08 11:07:10 +02:00
e1ab9ebdb0
initial nvim config 2022-08-08 01:41:01 +02:00
a8f3e416a8
enable true colour in nvim 2022-08-08 01:40:30 +02:00
b5ca49627c
Don't make dropdown terminal transparent 2022-08-08 01:39:48 +02:00
ef49637052
zsh: set GPG_TTY 2022-08-01 22:32:29 +02:00
b638b4d1ac
zsh: only set alias for emacsclient if it is installed 2022-07-31 23:10:05 +02:00
8febf74ca9
fontconfig: Remove Dejavu emojis 2022-07-28 13:10:38 +02:00
5b7e388153
i3: assign veloren to workspace 2022-07-27 15:57:04 +02:00
9ea20a6fb9
fonts: add generic emoji family 2022-07-27 15:55:43 +02:00
cb1bec6d0b
translate: replace newlines with \n 2022-07-19 02:46:32 +02:00
909bb56b4c
Zsh: add alert alias 2022-07-17 01:32:20 +02:00
91c61fb8d6
enhance mkplaylist 2022-06-29 19:55:55 +02:00
09b747a34e
mpv: add low resolution yt-dlp profile 2022-06-29 19:55:30 +02:00
2cee8d2120
add animoji-command 2022-06-15 02:02:12 +02:00
899a473f86
zsh: source local config 2022-06-06 17:44:11 +02:00
7b5afc3634
zsh: typo mv/mkdir 2022-06-04 21:27:27 +02:00
068868965a
yt-dlp: add extended attributes 2022-06-02 19:19:11 +02:00
455f06c2fd
Don't correct mkdir 2022-06-02 19:18:46 +02:00
86a05e56f3
Start inkscape on workspace 6 2022-06-02 19:18:27 +02:00
915c6a7cda
readwwwlog: Remove trailing slash 2022-05-24 00:22:55 +02:00
0125002c9f
Fix mpv audio selection: jp -> ja 2022-05-18 08:04:59 +02:00
647d24ae69
Remove useless quotes 2022-05-15 12:00:34 +02:00
41b83f13a5
cutvid: Fix degraded video quality with hardcoded subtitles
- Extract subtitles first
- Only do 1 encoding pass
2022-05-07 19:08:01 +02:00
b07ee2ccef
cutvid: Document --hardcode-subs in --help 2022-05-07 19:07:39 +02:00
fe36e49563
Fix cutvid completion 2022-05-07 17:39:14 +02:00
a6aa229368
Add cutvid function 2022-05-07 17:26:51 +02:00
99928cb421
apng2webp: check if commands are available 2022-05-04 16:07:31 +02:00
99d550870e
Remove bashisms in apng2webp and allow for images with >100 frames 2022-05-04 15:59:00 +02:00
43809f8332
Fix some small issues in apng2webp 2022-05-04 15:48:01 +02:00
9628fe4f7e
Zsh theme: Make command separators blue 2022-05-04 04:03:14 +02:00
70c7643214
Fix Zsh completions, define functions before calling them 2022-05-04 03:58:54 +02:00
e74efe64d6
Add apng2webp 2022-05-03 20:50:18 +02:00
8c017c5979
Add workaround for terminals claiming to be xterm* 2022-05-01 22:00:41 +02:00
06fb99154d
Add translate function 2022-05-01 10:54:30 +02:00
00fa0a0b1f
Fix terminfo path 2022-05-01 09:03:55 +02:00
910ac330d5
Don't let alacritty claim it is xterm 2022-05-01 09:03:32 +02:00
e3e3531837
Add workaround for alacritty in TERM based key workaround 2022-05-01 09:02:51 +02:00
1312563b85
Unset ZSH plugin variables before filling them 2022-05-01 08:38:56 +02:00
59c208db6c
Improve Zsh completions
Don't complete directory stack, add keybind for filtering completions.
2022-05-01 08:37:55 +02:00
0c933d0a6b
Initialize LS_COLORS
Needed in order for Zsh to pick up default dir colours and so on.
2022-05-01 08:36:08 +02:00
9b950a044b
Zsh: Don't beep on completion 2022-04-30 22:40:20 +02:00
e2c20b9b46
Disable flow control in Zsh (^S/^Q) 2022-04-30 11:04:18 +02:00
5381036aed
Don't correct when using mv 2022-04-28 13:00:58 +02:00
3820ba8626
Replace regular expressions with globs 2022-04-28 12:56:50 +02:00
116e79518f
Add termux workaround to xterm workaround 2022-04-28 08:37:46 +02:00
2bf6d037d4
Add keybinding workarounds for xterm 2022-04-27 23:21:50 +02:00
fb10f2bc55
Ensure that ${fpath} has no duplicate entries 2022-04-27 23:21:07 +02:00
df1e72d517
Enable xterm 256 colour mode 2022-04-27 23:20:43 +02:00
4e3b4b2cf8
Remove useless exports and quotes 2022-04-27 23:10:28 +02:00
a4b11b0f79
Add new Zsh syntax theme and switch to it 2022-04-27 22:36:23 +02:00
4e7c0f4d96
readwwwlog: Fix pastebin.com 2022-04-27 20:56:30 +02:00
4925847c43
Disable compression in git
Compression shall be done by the FS.
2022-04-27 17:58:00 +02:00
f75cb91d0d
Add support for paste.ee to readwwwlog 2022-04-27 15:09:08 +02:00
b252ce4ec5
Tweak path algorithm in Zsh prompt
Reduce allowed element width to increase probability of unshortened last
element.
2022-04-27 15:01:59 +02:00
cd8244faa4
Support all pastebin.TLD services in readwwwlog 2022-04-26 23:48:20 +02:00
450ef82d9b
Add support for paste.centos.org to readwwwlog 2022-04-26 17:53:18 +02:00
62d929127f
readwwwlog: Make sure temporary files are deleted 2022-04-25 21:55:02 +02:00
239e4d293c
readwwwlog: Use id variable everywhere 2022-04-25 15:12:04 +02:00
a2f2c4c6bc
Add support for paste.debian.net to readwwwlog 2022-04-25 15:08:48 +02:00
80933c33f5
readwwwlog: fix text/plain check, only sleep for dpaste 2022-04-25 10:30:30 +02:00
7b35fb38c9
Add support for bpa.st and spunge.us to readwwwlog 2022-04-25 10:24:07 +02:00
23ad6625ba
cat-highlight: Fix error check
It caused cat-highlight to always return with an error status.
2022-04-25 00:16:38 +02:00
d2e68c5c8f
Reorganise highlighter selection in less and cat
- LESSOPEN contains lesspipe{,sh} only
- ~/.lessfilter tries more highlighters
- cat-highlight processes each file independently
- cat-highlight tries to use ~/.lessfilter
2022-04-24 23:53:52 +02:00
d483b23eb1
Zsh-ify PATH and MANPATH 2022-04-24 23:02:02 +02:00
0ceb3c9e73
Zsh prompt: move prompt_cleanup 2022-04-24 22:01:57 +02:00
941e420c2d
Zsh prompt: autoload add-zsh-hook early enough 2022-04-24 19:38:38 +02:00
69c528842a
Move VCS function in prompt 2022-04-24 19:35:03 +02:00
cff0899edb
Fix indentation in prompt_tastytea_help 2022-04-24 19:25:08 +02:00
dfa2822dfd
Add help message for async VCS to prompt 2022-04-24 18:50:21 +02:00
019b2ffed8
Set up vcs_info before enabling the prompt 2022-04-24 18:05:17 +02:00
9f4043a852
Prefix asynchronous VCS worker in prompt theme, add cleanup 2022-04-24 17:53:17 +02:00
ed72ab94d6
Colourise PS{2..4} 2022-04-24 17:14:48 +02:00
070890a95a
Don't unset stuff in prompt theme 2022-04-24 16:24:36 +02:00
08b9289e00
Move some vcs_info options out of prompt theme
Move all vcs_info options that are not styling related to .zshrc
2022-04-24 15:26:04 +02:00
d82a8135de
Convert Zsh prompt into a proper theme
Also make inactive colour a tiny bit brighter.
2022-04-24 15:14:03 +02:00
0eb8bd335a
Put dropdown terminal at y=0 (remove workaround)
See tdrop(1), section BUGS.
2022-04-23 22:23:20 +02:00
88cb329705
Make dropdown terminal floating to prevent flickering 2022-04-23 22:11:59 +02:00
a5b424073c
readwwwlog: Start at line 1 if pattern is not found 2022-04-23 15:41:24 +02:00
a73f29871c
Fix comment 2022-04-23 11:38:48 +02:00
065122564a
Move username colour in prompt to appropriate place 2022-04-23 11:36:09 +02:00
50f2939827
Remove extra %f in git prompt 2022-04-23 11:30:57 +02:00
1a16e70e08
Zsh prompt: Allow to break shrink-path-loop early 2022-04-22 23:15:16 +02:00
164ea811ce
typo 2022-04-22 23:09:11 +02:00
a170e34344
Zsh prompt: refine shrunken path algorithm
- Allow short elements
- Try to keep last element
  - Shorten mid-section if not possible
2022-04-22 23:05:21 +02:00
2e4cfd99e0
Zsh: Early return in _shrunkpwd() 2022-04-22 08:40:10 +02:00
5e22f6cea1
Zsh: async_vcs_prompt -> _async_vcs_prompt 2022-04-21 23:05:38 +02:00
a2a261ddbe
Zsh: Shrink PWD in RPROMPT dynamically 2022-04-21 23:04:25 +02:00
dbb41dd29e
Add forward-local-port 2022-04-18 20:32:12 +02:00
fe6716c2f0
typo 2022-04-18 20:04:47 +02:00
9202b3e53c
Make netgrep use numeric ports 2022-04-18 20:04:06 +02:00
90701ea228
Make xdgtag completion expand file names
The file name seems to be passed to the completion as an unexpanded
string and setting GLOB_SUBST did expand ~ but filenames with space
didn't work.
2022-04-18 13:54:02 +02:00
73e968aea0
Add openwwwimg 2022-04-18 06:27:56 +02:00
8f017a3211
readwwwlog: Use elif 2022-04-18 05:42:55 +02:00