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

493 commits

Author SHA1 Message Date
87f2774fae disable expansion of ! characters 2024-02-23 22:29:55 -08:00
b5641b7cc4 more ripgrep aliases 2023-07-06 02:23:18 -07:00
170d644989 use 2 space indentation for HTML/CSS, also sort this crap 2023-07-06 02:22:54 -07:00
ccd6a11286 finally i can read diff files like your mom intended 2023-07-06 02:21:26 -07:00
021aa8c0ba rewrite ADDPATH to handle more stuff 2022-10-09 14:52:44 -07:00
49f05a058d fix soft tabs in 2-space mode 2022-10-08 23:39:59 -07:00
cb705df268 use cursed code style 2022-09-30 17:17:20 -07:00
438e2db20b refine bashrc 2022-09-30 16:47:21 -07:00
6e5c315427 make join2 and unwrap their own scripts 2022-09-30 16:34:35 -07:00
d98a5779c0 merge lines 2022-09-08 06:04:18 -07:00
1dbc497547 add binds for quickly calling TabXXX functions 2022-09-08 00:19:19 -07:00
fa8bb220cf use new macros to sort wildignores 2022-09-08 00:17:58 -07:00
07057d6966 add macros for a common split-sort-join task 2022-09-08 00:15:50 -07:00
a1427571e5 tweak comments 2022-09-08 00:08:25 -07:00
db457e3d11 remove vimrc hacks i haven't needed in a decade 2022-09-08 00:07:57 -07:00
b7a9d7803d disable autoindent 2022-09-06 01:46:56 -07:00
4e1ed7d0d8 check for Actually Portable lr.com as a fallback 2022-09-01 18:28:56 -07:00
1d0667c52b make grop its own shell script 2022-09-01 18:28:14 -07:00
8c218457e8 add an esoteric function to rotate PATHs 2022-08-29 22:08:21 -07:00
7a769e3853 add grop alias for grep -oP 2022-08-29 22:04:24 -07:00
810f21c60d use 2 space indentation for seed7 files 2022-08-29 22:04:08 -07:00
25d8782f4e ignore .tgz files too 2022-08-29 22:03:42 -07:00
f78727c96a ignore bmp files in vim 2022-08-04 18:35:30 -07:00
1797c9e040 add SynStack function for investigating highlighting 2022-07-23 10:47:43 -07:00
d3d0f54b1c use two-space indentation for bass source code 2022-07-23 10:44:47 -07:00
372408b530 disable fo-j in vim
this was deleting random characters when using any syntax more esoteric than C.
2022-06-18 10:58:48 +02:00
dae356d559 enable modelines in vim 2022-06-18 07:30:32 +02:00
07d572f85b use C syntax for shader files (for now) 2022-05-28 03:14:07 +02:00
11aca3f544 don't use tmux on spectre at all 2022-04-12 04:15:15 -07:00
a5fb64d762 remove ancient db alias and known_hosts exclusion 2022-04-12 03:29:33 -07:00
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