speedie
5745b52bc9
Add work in progress support for images on Wayland
...
This commit also adds MASSIVE speed improvements to image drawing, due
to code cleanup. There are still a *few* issues to resolve, one is
X11 related, and one is caused by alpha/blending.
2023-06-08 19:40:30 +02:00
speedie
a9ee831159
add X11 toggle, so now Xlib, Xinerama and Xrender aren't dependencies if
...
you only use Wayland
2023-06-05 17:16:26 +02:00
speedie
692e3abc68
Add experimental native Wayland support
2023-06-02 18:37:51 +02:00
speedie
12b69656a7
add support for marking items (ie. multi selection)
2023-05-16 18:54:26 +02:00
speedie
8c9d33d01f
add LICENSE notice to all code
2023-05-14 00:21:16 +02:00
speedie
15141c230d
add the ability to full screen an image + code cleanup
...
images are drawn quite slowly, something needs to be done about that
soon
2023-05-14 00:10:24 +02:00
speedie
a537d6a178
some keybind changes
2023-05-10 09:18:45 +02:00
speedie
5efe236380
indent lots of code using vim gg=G
2023-05-08 23:00:45 +02:00
speedie
844186af06
use slightly nicer modifier names
2023-04-29 23:03:42 +02:00
speedie
c3b9687e21
add comments to config file for keybinds
2023-04-29 22:53:00 +02:00
speedie
5b2cbc0c7e
fix keybind for setprofile, fix mac support
2023-04-26 10:01:11 +02:00
speedie
46f87587ab
rewrite the way the profile script running works
2023-04-23 20:08:34 +02:00
speedie
c0611034aa
add a keybind for toggling highlighting
2023-04-21 12:10:02 +02:00
speedie
cf43599ccf
add keybinds for faster line/column changing
2023-04-20 19:26:16 +02:00
speedie
6e74d78ff8
add a keybind
2023-04-09 00:03:32 +02:00
speedie
f1313697dc
add Mouse array, allowing mouse binds to be easily changed similar to
...
the Key binds
2023-04-02 16:10:13 +02:00
speedie
909828f49c
allow switching profile in any mode
2023-04-02 00:54:06 +02:00
speedie
0607f9f607
add support for profiles
2023-03-29 23:45:54 +02:00
speedie
78138025d2
some minor changes, new bind
2023-03-28 19:49:05 +02:00
speedie
fa82afad48
add function for clear that also puts you in insert mode
2023-03-26 20:34:41 +02:00
speedie
316000a4fc
some cleanup
2023-03-24 03:20:12 +01:00
speedie
606d3e0773
remove duplicate keybindings
2023-03-24 03:17:53 +01:00
speedie
b59f851fdc
Rewrite the way moving around works
...
It seemed like a good thing at first to combine all the movement stuff
in a single function, however as soon as you want to move multiple lines
at once it becomes very difficult to do that, especially if you aren't
familiar with C.
This commit splits it into 4 separate functions, where the argument
(arg->i) is how many times we move. This means it is now possible to
choose how many lines to move without even editing the function itself,
just through keybinds. This also makes the "fastmove" keybindings
redundant.
Note that calcoffsets() and drawmenu() after that must be called AFTER the for loop added with this commit, otherwise
you can see the selection moving from each line to the next which is
rather ugly.
2023-03-20 18:05:53 +01:00
speedie
13d6ba9065
add keybind for navigating items quickly
2023-03-20 16:33:23 +01:00
speedie
cca8ca373c
add ability to delete word, some other small changes to previous commit
2023-03-20 15:59:41 +01:00
speedie
ba5af9883b
add moving left/right in input using arrow keys
2023-03-20 15:59:41 +01:00
speedie
7242be1738
change keybind for viewing history to prevent some issues
2023-03-19 17:16:51 +01:00
speedie
71090e7aa3
add keybinds for setting line/columns
2023-03-13 22:45:04 +01:00
speedie
5126beae4a
some small fixes
2023-03-09 15:02:40 +01:00
speedie
a0659d2fd7
oops seems like i changed the toggleimage keybind by accident
2023-03-08 20:16:11 +01:00
speedie
b798d12c69
add image gap keybind
2023-03-08 20:13:39 +01:00
speedie
3d9b58b9e7
add keybind for changing image position
2023-03-08 19:41:59 +01:00
speedie
5bdcc45829
move these keybinds to any mode rather than just insert mode
2023-03-08 13:59:02 +01:00
speedie
7b5f582902
change keybind for resetting image size
2023-03-06 21:20:14 +01:00
speedie
ce214e0e1a
merge the two flipimage functions into a single flipimg function with arguments
2023-03-06 19:23:37 +01:00
speedie
0b0cfa5d36
add support for keybinds that work in any mode
2023-03-06 19:13:38 +01:00
speedie
7e98a40c02
add more comments to keybinds.h
2023-03-06 17:00:36 +01:00
speedie
0449ccb797
change the way keybinds work
2023-03-06 14:15:01 +01:00
speedie
cc231b8df8
add support for flipping and rotating images
2023-03-04 14:37:14 +01:00
speedie
3d4fc5247a
don't allow scaling too far up/down, also add wip default image size keybind
2023-03-03 21:18:25 +01:00
speedie
fbfdfe2583
Fix toggle keybind
2023-03-02 16:22:59 +01:00
speedie
629bc3d685
forgot to add everything
2023-03-02 16:06:11 +01:00
speedie
2b08cf6a0a
declare functions
2023-03-02 14:05:07 +01:00
speedie
8c9de3be16
add keybind for increasing/decreasing image size
2023-03-01 00:05:22 +01:00
speedie
a009d77d90
Add autocomplete key to insert mode
2023-02-26 16:12:11 +01:00
speedie
dc012dc704
rename keys array
2023-02-26 06:18:56 +01:00
speedie
e88b499d7c
add vim like modes
2023-02-25 17:44:52 +01:00
speedie
8f8002716b
speedwm-like keybind array replacing the previously hardcoded list of
...
keybinds.
2023-01-21 22:12:58 +01:00