1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-14 13:59:02 -08:00
Commit graph

463 commits

Author SHA1 Message Date
9116e418cf make F8 reload the current file instead of whatever 2022-03-05 17:39:11 -08:00
dd1bb981fb don't run tmux from alacritty (for now) 2022-01-08 21:20:07 -08:00
69a23ab128 fix lack of sorting in unused alias 2022-01-08 21:15:26 -08:00
1bf2b18fc7 don't restore cursor (use farmergreg/vim-lastplace instead) 2022-01-08 21:13:55 -08:00
6ff5afb9dc kuroko stuff for vim 2022-01-08 21:13:21 -08:00
803a77d27b add WHEE global alias for C++ flags 2021-12-02 13:06:05 -08:00
ba907e97fa improve shebang detection with regex 2021-10-31 07:34:21 +01:00
a2ae5a212d rename ~/.-shrc to ~/.shrc
the reason for the hyphen is that i was originally concerned
about random shells executing the file when i didn't want them to.
back then, i was only targetting zsh and bash, and therefore
`~/.-shrc` was not yet suitable for any other shells.
nowadays, `~/.-shrc` is has better shell compatibility,
and i'm not actually aware of any shells that would execute
`~/.shrc` by default -- `$ENV` is typically required to be set.
2021-10-29 15:44:31 +02:00
a7a62695f9 add a Colour command to load GUI colorschemes nicely 2021-10-29 15:07:29 +02:00
cf51cc62b0 add ~/.prep to do tasks like /etc/profile 2021-10-29 15:04:47 +02:00
c501458371 experiment without search wraparound in tmux 2021-10-29 12:27:23 +02:00
0fe48b0526 superficial indentation change 2021-10-29 12:24:44 +02:00
74feaab252 add a couple aliases that i might rename later 2021-10-29 12:23:23 +02:00
cb7428f4cd allow tmux in terminals that don't use pseudo-ttys 2021-10-29 12:23:07 +02:00
13149ff607 fix fzy check for real this time 2021-10-21 17:01:23 +02:00
c773c244fc experiment with some vim settings 2021-10-21 16:49:01 +02:00
1ad81ff42d avoid a pipe and grep invocation in ADDPATH 2021-10-20 21:01:09 +02:00
5c3dce9aa5 add another alias for curl 2021-10-20 20:58:58 +02:00
360c2d4992 kill vim9 comments with an after/ instead of an autogroup
it's more reliable.
2021-10-19 15:15:25 +02:00
fade7c76ea more superficial changes 2021-10-19 11:56:42 +02:00
48023d9b7b remove comment characters from joined comment lines 2021-10-19 09:11:31 +02:00
3fc9ed4355 detect shebangs for stdin as well 2021-10-19 09:11:13 +02:00
d13858e420 some superficial changes 2021-10-19 09:10:51 +02:00
62611cb854 update vim wildignores 2021-10-19 09:10:11 +02:00
49f3e1c634 update a comment 2021-10-18 21:46:25 -07:00
2569499233 add python highlighting from polyglot, pre-configured 2021-10-18 21:42:06 -07:00
e2521466aa fix this nonsense 2021-10-18 21:34:46 -07:00
2debcff660 hold focus of tmux windows when moving with binds
like firefox tabs
2021-10-18 17:50:01 -07:00
3220e10862 add an exec vim bind to tmux
this should help me avoid process-suspension hell.
2021-10-18 17:49:48 -07:00
b04c717608 fix detecting fzy in dirview 2021-10-18 17:45:46 -07:00
66fc590e90 don't touch ~/.lol so vim doesn't complain 2021-10-18 17:34:10 -07:00
447695ba19 add some notes to self 2021-10-14 14:10:18 -07:00
51f4d241b2 ignore backup and completion files in few places 2021-10-14 14:10:02 -07:00
444c34f98e rename has to have; has is now silent
i'm not sure why i was overengineering this function so much,
but the code i deleted might still come in handy someday.
2021-10-14 13:58:55 -07:00
9a168298c9 update bash $TERM checks 2021-10-14 00:08:47 -07:00
e0c3005f50 mark a couple more tools for renaming 2021-10-13 23:52:25 -07:00
129caebde2 fix bash not seeing anything in ~/sh on Linux hosts 2021-10-13 21:13:47 -07:00
ee1b2b752b sort some exports 2021-10-13 21:08:31 -07:00
2417352229 distinguish names from flags in has 2021-10-13 20:22:10 -07:00
e522d065bf support hyphens in command names passed to has 2021-10-13 19:58:52 -07:00
fdcae6182f allow executables in ~/sh to begin with hyphens 2021-10-13 19:58:35 -07:00
716d74ade2 prefer yt-dlp over youtube-dl and work around throttling 2021-10-12 20:25:03 -07:00
fe7dff6403 ignore backup files when sourcing from zsh 2021-10-12 20:23:16 -07:00
c0586e4442 rename an autocmd group 2021-10-09 09:07:40 -07:00
dc777c3c54 use / instead of _ for tmux substitute command
this wasn't working on ubuntu 18.04, so i had to change it.
honestly, i'm not entirely convinced that this will fix it.
2021-10-08 20:38:16 -07:00
fd8b6d55ee move some compinit-related comments 2021-10-07 12:31:39 -07:00
75b41b6f78 setopt to remove duplicates from histfile 2021-10-07 12:31:06 -07:00
ba43bc0bf5 add and redo some vim binds 2021-10-07 12:30:41 -07:00
831fd91862 add autocmds for oldschool forth "screen" files 2021-10-07 12:30:00 -07:00
44af28ca58 add custom hashbang-handling autocmd for my own sanity 2021-10-07 12:29:19 -07:00
efd4ab0f0c lift some handy vim functions 2021-10-07 12:28:40 -07:00
26c2863dde move tmux stuff further up 2021-10-07 12:28:06 -07:00
9f3301aa95 superficial style tweak 2021-10-07 12:27:19 -07:00
f7c85ae9e5 add gdp command to diff a single commit 2021-10-07 12:26:41 -07:00
7befe5065a fix escape sequence for shift+del 2021-10-06 19:26:20 -07:00
6d1523035a add descriptions for picky/unused 2021-10-06 19:24:52 -07:00
8afc44fb74 add -c to less flags
so that output begins at the top of the terminal instead of just anywhere.
2021-10-05 18:12:25 -07:00
fa91b04bdd experiment with not using compinit 2021-10-01 06:04:30 -07:00
223f3a329c update LS_COLORS 2021-10-01 06:03:57 -07:00
7e6e48f82d rename _REMOTE_ to EA_ 2021-10-01 04:13:49 -07:00
4f915fc802 misc cleanup 2021-09-30 08:47:00 -07:00
5382da0605 always use local var= instead of local var
blame zsh
2021-09-30 08:43:40 -07:00
a9b8f311a3 check for lr instead of just guessing 2021-09-30 08:31:58 -07:00
1196225de8 rewrite 'has' function 2021-09-30 08:29:28 -07:00
1bd6f41be5 make this a proper switch-case 2021-09-27 19:22:10 -07:00
d87a81e147 make this a proper local variable 2021-09-27 19:20:06 -07:00
ad6df3012f prepend nocorrect/noglob to existing alises 2021-09-25 19:09:30 -07:00
7dcead233f rewrite picky and unused 2021-09-25 18:48:35 -07:00
78404d2614 remember more commands and use tabs for .gitconfig 2021-09-25 04:19:56 -07:00
ee14017d06 give -shrc some much-needed lovin'
also source ~/.lol from bashrc
2021-09-25 04:09:34 -07:00
6af14909fb superficial tweaks 2021-09-25 00:33:25 -07:00
a7ba31454c use a plain prompt with ash 2021-09-25 00:33:11 -07:00
6e0b1029f9 fix bash syntax errors 2021-09-23 07:37:47 -07:00
30ae57a1e0 enable hist_reduce_blanks 2021-09-23 06:49:54 -07:00
9dc69caebd enable tmux history and add nonzero exit command 2021-09-23 06:45:17 -07:00
75887e610d add some overdue binds and fix dummy binds 2021-09-22 20:12:28 -07:00
2ca1189470 trim Windows-style paths in tmux window names 2021-09-21 21:38:54 -07:00
aafacd2a28 update minttyrc 2021-09-18 17:26:30 -07:00
0517d9b6a1 start using site-local stuff (called "lol" for now) 2021-09-15 22:43:45 -07:00
17dfc77fba allow Windows-style absolute paths with ADDPATH 2021-09-10 09:30:31 -07:00
a00a4a057f add some much-needed comments about .sh 2021-09-10 09:26:32 -07:00
dce4a25f12 make sortip its own script 2021-08-23 04:51:42 -07:00
15ab667b7d keep one-line docstrings in their own paragraph 2021-08-06 08:18:18 -07:00
7ae8c5681d overhaul script sourcing and dependency system 2021-08-02 13:48:46 -07:00
752dc2a605 attempt to deal with netrw's absurdity, also add more binds 2021-08-02 13:43:52 -07:00
9a6ff26e1c update documentation, especially overridden names 2021-08-02 06:50:45 -07:00
d6300c4578 make rot13 its own function, document 2021-08-01 19:34:45 -07:00
c295d2b495 allow invocation of shell functions from vim 2021-08-01 11:31:05 -07:00
3728a9d448 rewrite ea 2021-08-01 10:29:38 -07:00
db0b029d0f don't cut sha1 file 2021-08-01 01:37:59 -07:00
44f3854256 disable bells in bash
long time coming
2021-07-31 20:47:11 -07:00
1941e3253d improve ash compatiblity
surprisingly, [:space:] isn't supported, so just use plain spaces.
2021-07-31 16:10:25 -07:00
74ec57f2fa use fancier document syntax here 2021-07-30 18:14:05 -07:00
fd83d41ab2 add and restore some docstrings 2021-07-30 17:58:07 -07:00
04e5cce6dd set -shrc's hashbang to false 2021-07-30 12:37:31 -07:00
56a5724160 use in-place arithmetic where applicable 2021-07-29 10:40:15 -07:00
aaa15067b8 remove trace comments from rc files 2021-07-29 07:42:50 -07:00
7e5b09b6c7 remove debug echoes from rc files 2021-07-29 07:39:19 -07:00
1c562ad0f9 automatically source compatible scripts in bash 2021-07-29 07:26:45 -07:00
5eaf74401e overhaul 2021-07-29 00:37:35 -07:00