Commit graph

532 commits

Author SHA1 Message Date
Dmytro Meleshko
4b54ae7f02 [zsh] move zcompdump into ~/.cache 2021-04-28 17:50:31 +03:00
Dmytro Meleshko
be46fba566 [scripts/copy-crosscode-emoji-url] add an option for allowing nsfw emotes 2021-04-26 15:42:56 +03:00
Dmytro Meleshko
c12afbc6ff [nvim] move the flake8 config to an external file 2021-04-26 10:25:01 +03:00
Dmytro Meleshko
f8c01686ee reformat all remaining Python scripts 2021-04-26 10:20:57 +03:00
Dmytro Meleshko
dbd76019c8 at long last, reformat all Python code with 2 space indents 2021-04-26 10:11:02 +03:00
Dmytro Meleshko
74e978d78e [nvim] use Yapf with a modified config for formatting 2021-04-26 10:07:31 +03:00
Dmytro Meleshko
2c6193a487 [nvim] collapse the set and setlocal commands because the Vimscript syntax allows it 2021-04-25 21:21:32 +03:00
Dmytro Meleshko
8198c861f4 [nvim] disable automatic folds in the fugitive window because they break the UI 2021-04-25 21:18:23 +03:00
Dmytro Meleshko
70acf70f0b [nvim] entirely get rid of the CtrlSF plugin 2021-04-25 21:02:00 +03:00
Dmytro Meleshko
436fffdd6d [nvim] add a comment textobject in continuation to 4d42627b83
You may be wondering why I have exchanged a single simple plugin for two
arguably more complex ones. Well, vim-commentary couldn't put comments
on blank lines, so there. And also tcomment.vim was mentioned in the
README of the former plugin.
2021-04-24 14:06:43 +03:00
Dmytro Meleshko
660316fb14 [scripts/leveldb-dump] support setting separate key and value encodings 2021-04-23 21:38:37 +03:00
Dmytro Meleshko
44ba053b7c [nvim] correctly highlight class names in declarations 2021-04-23 21:17:50 +03:00
Dmytro Meleshko
4d42627b83 [nvim] use tcomment.vim instead of vim-commentary 2021-04-23 17:41:41 +03:00
Dmytro Meleshko
0221e6c08c [nvim] add a binding for my other favorite git command 2021-04-23 01:26:10 +03:00
Dmytro Meleshko
be265eac7c [nvim] minor fixes to typescript syntax highlighting 2021-04-22 20:11:56 +03:00
Dmytro Meleshko
bff7aeb006 [scripts] add leveldb-dump 2021-04-22 18:34:18 +03:00
Dmytro Meleshko
5585f9c693 begin adding types to the Python scripts 2021-04-18 18:06:47 +03:00
Dmytro Meleshko
fa2406e572 [common_script_utils] add support for using fzf as a chooser
Among other things this means that the emote copier is finally supported
on Android.
2021-04-18 17:59:35 +03:00
Dmytro Meleshko
855538c921 [scripts] fix a bug in run_chooser when no search results are found 2021-04-12 00:54:57 +03:00
Dmytro Meleshko
661aa1785c clarify some things in the README 2021-04-10 14:39:49 +03:00
Dmytro Meleshko
2f8b3a5fa2 [crosscode] add an icon for the Arch mod 2021-04-09 10:21:00 +03:00
Dmytro Meleshko
8dfc96c910 import scripts from dmitmel/factorio-tools@8f8f9725e5 written on 2020-05-25 2021-04-02 21:53:36 +03:00
Dmytro Meleshko
a90b41a8cc fix "module not found" errors when importing Python code from script-resources 2021-04-02 21:50:17 +03:00
Dmytro Meleshko
5ebbadb45d [zsh] carefully rewrite all prints to not produce escape sequences 2021-03-30 15:16:24 +03:00
Dmytro Meleshko
3d34200ac6 [nvim] apparently usage of l: inside functions is entirely optional 2021-03-30 01:24:37 +03:00
Dmytro Meleshko
f9127d6ce2 [git] remove the "unstage" alias in favor of "grst" in zsh 2021-03-27 13:12:16 +02:00
Dmytro Meleshko
7d7a4b106b [scripts/playerctl-simple-menu] sort players which are currently playing something higher 2021-03-26 22:29:08 +02:00
Dmytro Meleshko
e2d21d085c [nvim] fix highlighting of class names in SCSS 2021-03-26 01:15:15 +02:00
Dmytro Meleshko
4b0865b150 [scripts/pycalc] add a simple as a rock quadratic equation solver 2021-03-26 01:11:48 +02:00
Dmytro Meleshko
570307f0bc [nvim] fix highlighting of CSS pseudo-classes 2021-03-26 01:11:05 +02:00
Dmytro Meleshko
6a12867ee0 fixup! [nvim] fix syntax syncing for JS/TS after a vim-polyglot update (this made opening crosscode/assets/js/game.compiled.js insanely slow) 2021-03-25 23:13:46 +02:00
Dmytro Meleshko
e93033fd69 [nvim] disable the custom folding algorithm for Haskell 2021-03-25 01:41:24 +02:00
Dmytro Meleshko
f24c8e5131 [nvim] add nvim-treesitter (READ COMMIT NOTES)
The thing is currently unstable, requires the nightly branch of neovim,
and the highlighting groups need a lot of tweaking (obviously, :HLT
doesn't work, making this even harder). I just put the configuration
into the repo in case I need it in the future.
2021-03-21 15:13:42 +02:00
Dmytro Meleshko
e4c2a87015 [zsh] install fasd if it's not present, also change the database path 2021-03-21 12:17:57 +02:00
Dmytro Meleshko
d129ba7563 [nvim] make the U mapping respect vim-repeat 2021-03-20 23:14:48 +02:00
Dmytro Meleshko
42b4c58377 [crosscode] add a fallback manifest for the mod 2021-03-20 02:30:53 +02:00
Dmytro Meleshko
a848343e94 [zsh] add the new Rubygems location to PATH 2021-03-20 02:04:17 +02:00
Dmytro Meleshko
173bf5851e [scripts] rewrite Python scripts to not use the requests module 2021-03-18 20:25:15 +02:00
Dmytro Meleshko
35b1e9446e [nvim] add a binding for my favorite git feature 2021-03-17 19:56:07 +02:00
Dmytro Meleshko
7177de926a [nvim] fix ranger on Android 2021-03-12 13:39:16 +02:00
Dmytro Meleshko
dfb049f52f [nvim] add a quick keymap switcher 2021-03-12 13:28:08 +02:00
Dmytro Meleshko
0a3c9b7424 [nvim] add an indentation block motion 2021-03-07 15:24:42 +02:00
Dmytro Meleshko
b60438f49b [zsh] add library paths of all installed Rust toolchains 2021-03-07 14:59:48 +02:00
Dmytro Meleshko
aecef017f9 [zsh] inline the fasd plugin from OMZ and remove the useless one called 'extract' 2021-03-07 13:06:14 +02:00
Dmytro Meleshko
b467ed4d63 [nvim] switch from coc-python to coc-pyright 2021-03-05 14:59:59 +02:00
Dmytro Meleshko
d2eb84c663
Merge pull request #7 from dmitmel/dependabot/npm_and_yarn/script-resources/markdown2htmldoc/prismjs-1.23.0
Bump prismjs from 1.21.0 to 1.23.0 in /script-resources/markdown2htmldoc
2021-03-01 22:57:41 +02:00
dependabot[bot]
97d8246877
Bump prismjs from 1.21.0 to 1.23.0 in /script-resources/markdown2htmldoc
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.21.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.21.0...v1.23.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 20:56:44 +00:00
Dmytro Meleshko
8d525337fc [nvim] add mappings for quick horizontal scrolling 2021-02-27 14:38:31 +02:00
Dmytro Meleshko
a7d57f2fd8 [nvim] very specific fix of highlighting with termguicolors enabled 2021-02-22 11:16:11 +02:00
Dmytro Meleshko
d597858cce [zsh] stop adding the 'bin' directory of Rustup toolchains to the PATH, this broke per-directory overrides because those rely on toolchain executables being symlinked to the rustup exe itself 2021-02-20 13:46:27 +02:00