1930c8758f
zsh:keys: Make shift-return act like return
2022-10-21 11:05:18 +02:00
594e31d4b7
vim:coc: Customize completion menu mappings
...
When no item was inserted yet, the first tab should insert the first
item or the first shift-tab should select and insert the last item.
2022-10-21 03:34:10 +02:00
2d27e598b6
vim:coc: Use tabs for indentation
2022-10-21 02:05:21 +02:00
fc9f8f93ef
vim:coc: Fix issues with new version v0.0.82
...
- CheckBackspace needs to be used instead of <SID>CheckBackspace
- Comment out clashing/obtrusive leader/space mappings
- Change classobj mappings to use `o` as they were clashing with the
comment textobj.
- Simulate the default statusline with the help of 'statusline'.
Otherwise it would be empty/just containing coc elements.
2022-10-21 02:05:21 +02:00
928b1e8647
vim:coc: Add the remaining parts of suggested conf
...
"Lieber haben als brauchen".
2022-10-21 01:43:52 +02:00
3d44400c59
vim:plugins: Update coc.nvim to v0.0.82
...
Update the copied parts from the suggested config in the README.
2022-10-21 01:40:28 +02:00
77393007bf
vim: Move coc config into existing structure
2022-10-21 01:33:36 +02:00
350dd257f0
zsh:keys: Change ctrl-dot sequence to libtermkey
2022-10-21 01:25:36 +02:00
49e8e3a756
zsh:keys: Move through dirs like vims jumplist
2022-10-21 01:25:00 +02:00
286baf335f
zsh:keys: Shift-{,Back}space should act like w/o
2022-10-21 01:23:43 +02:00
8651b073eb
zsh:keys: Rely more on terminfo and use libtermkey
...
Introduce first mapping that follows the 'fixed keyboard input'[^1]
sequences. They allow the differentiation of all keys with each modifier
without gotchas like `tab` send the same sequence as `ctrl-i`.
[^1] - https://www.leonerd.org.uk/hacks/fixterms/
2022-10-21 01:22:52 +02:00
658797bda2
zsh:keys: Use vi- variants of navigation binds
...
They seem to be more consistent in doing the same/reversed thing when
triggering them backwards.
2022-10-21 01:22:51 +02:00
8de8151cbe
tmux: Activate extended_keys
...
With it libtermkey/libtickit[^1] mappings are supported.
[^1] - https://www.leonerd.org.uk/code/libtermkey/
[^2] - https://www.leonerd.org.uk/hacks/fixterms/
2022-10-21 01:21:48 +02:00
83e10f32da
vim:plugins: Hotfix broken packloadall w/ nvim 0.8
2022-10-21 01:03:17 +02:00
d6e7f2d9f2
meta:install.conf: Fix git hooks symlink path
2022-10-21 01:01:18 +02:00
b698873d2c
vim:keys: Fix BCommits and G blame mapping clash
2022-10-21 00:52:45 +02:00
b82405a8c0
meta:commit-msg: Allow all characters in prefix
...
There is no real reason for a restriction.
Also merge the two character groups.
2022-10-21 00:49:17 +02:00
a94f72c4d9
vim:keys:<leader>*: Start vim's search too
...
Additionally to start the search with ripgrep, start a vim search as
well. That way navigation between search results in the opened file is
easier.
The register is modified directly and hlsearch is turned on manually
instead of using the builtin `*`, so that the cursor does not move to
the next result in the current file.
2022-10-21 00:45:47 +02:00
1aa6266200
vim:keys: Fix <leader>* for words starting w/ b
...
`<C-R><C-W>` inserts the cword, but skips over any character that were
already typed. This broke the search for words beginning with a `b`.
2022-10-21 00:39:21 +02:00
298b205aa9
vim:coc: Add vimlang and json language server
2022-10-20 21:55:53 +02:00
d99118646c
git:alias: Add more short-hands
2022-10-20 16:40:16 +02:00
861b159c78
git:alias: Add multiple short-hand versions
2022-10-20 16:39:23 +02:00
e15fc71054
zsh,git: Add git-make-fork
2022-10-17 17:28:31 +02:00
bc0affc832
vim:autocmd: Do not mark stdin as modified
...
Set `nomodified` after reading from standard input. This way the buffer
can be closed without error message.
This will **not** disable modified warnings completely. If the input is
modified after read, vim will reset `modified` (As it should).
2022-10-16 02:01:25 +02:00
39e8b266d0
vim:keys: Add mapping to strip trailing whitespace
2022-10-16 01:57:16 +02:00
e2566444d4
polybar:audio: Display volume level when muted too
2022-10-16 01:57:16 +02:00
d327ddf79b
polybar: Ignore/abort on missing commands/files
...
Catch if the files needed in the battery module are missing and exit
early.
Do not mess up the bar by printing error messages. Instead abort.
2022-10-16 01:09:59 +02:00
e564bf0fe6
i3: Add binding to switch between visible monitors
...
I have not tested this with more than 2 monitors. I am unsure if the
binding will cycle through them or just between two.
2022-10-15 19:02:29 +02:00
61e8ccc176
zsh:glog: Add bindings for faster navigation
2022-10-15 19:01:18 +02:00
af2c96cd5c
zsh:glog: Cycle preview positions with ctrl-space
2022-10-15 18:57:11 +02:00
87e3232780
zsh:glog: Require 152 columns for preview on right
...
This seem to make more sense especially for smaller terminals where the
previous formula would have resulted in both sides being unreadable.
2022-10-15 18:56:26 +02:00
896970de81
vim:keys: Remove unused mappings to move lines
2022-10-13 18:48:35 +02:00
7be49e9318
vim:keys: Use RFC 3339 for vmap version of utc
...
Forgot to change the format for both mappings in 73aa0e9752
("vim:keys: Use RFC 3339 when converting unix times").
2022-10-13 18:29:30 +02:00
3b86618541
vim:keys: Map :{,B}Commits in other modes too
...
They support a range to show only commits that track the range.
2022-10-13 18:29:29 +02:00
a02fbd4403
vim:keys: Swap behaviour of ]] and ][
...
Swap the behaviour of `[[` `[]`. This way the first bracket indicates
the direction of the motion and the second the target (i.e. open or
closed brace).
I assume that the reason behind these mappings is to be able to easily
change the direction of the move by 'inverting' the keys (e.g. `]]` ->
`[[`). I understand that, but find the new way more intuitive.
2022-10-13 18:29:29 +02:00
1d2cdf7aea
vim:keys: Use word boundaries with <leader>*
...
Ripgrep supports word boundaries, may as well use them to act closer to
`*` (:h star).
2022-10-12 12:37:17 +02:00
f7c43d5044
zsh:keys: Use ^s for vi-pound-insert
...
Change the binding from `^3` to `^s` and use vi-pound-insert as that one
does not accept the line.
2022-10-11 00:43:27 +02:00
faddf9dbb1
zsh:funcs: Add pyhelp to display python help pages
2022-10-10 20:30:40 +02:00
eb160de09b
zsh: Remove nvim-man and use neovim as MANPAGER
...
`:Man` wraps to the window width if `$MANWIDTH` is not set, making
`nvim-man` as man wrapper obsolete.
2022-10-09 19:51:03 +02:00
50640bc294
vim:ftplugin: Remove zsh.vim
...
zshOption has improved a lot and isn't even called like that anymore.
2022-10-09 19:51:03 +02:00
dc25c88fe7
zsh:alias: Add --full --list-full to pgrep
2022-10-09 19:51:03 +02:00
c0a741889b
zsh:funcs:psgrep: Pass regex directly
...
If a pattern is passed that starts with a special character, the
`[]`-"quoting" would possible lead to errors or change it's meaning.
To prevent that, pass the argument directly to grep if it looks like a
regex (i.e. contains a special character).
2022-10-09 19:51:03 +02:00
b398375020
zsh:funcs:psgrep: Print column info
2022-10-09 19:51:03 +02:00
6a1537eda8
zsh:funcs: Rename pgrep to psgrep
...
Instead of replacing pgrep, have this function under a slightly
different name.
Also add support for multiple arguments as the function does not aim to
be called under the same name now.
2022-10-09 19:51:03 +02:00
32109b5bab
i3: Restart polybar after executing monitor-setup
2022-10-09 19:51:03 +02:00
91a06e6796
monitor-setup: Do not discard error message
2022-10-09 19:51:03 +02:00
9e477ff5a4
monitor-setup: Put redundant arguments in fzf_args
...
# Conflicts:
# .local/bin/monitor-setup
2022-10-09 19:51:03 +02:00
cfec9334ef
monitor-setup: Support resolution and refresh rate
...
Also place multiple monitors side-by-side.
2022-10-09 19:51:03 +02:00
e0c0119a36
monitor-setup: Rewrite
2022-10-09 19:50:56 +02:00
e25a0d29a7
vim:keys: Add binding for Signed-off-by trailer
2022-10-06 18:50:50 +02:00