6 May 2022 |
trueauracoral | so how do I add that in without yaml-mode? | 18:00:08 |
Gavinok#4195 | I am lost. mind explaining your issue again? .yml files are not being highlighted correctly right/ | 19:45:00 |
Gavinok#4195 | * I am lost. mind explaining your issue again? .yml files are not being highlighted correctly right? | 19:45:05 |
trueauracoral | In reply to @_discord_461980943729688616:t2bot.io I am lost. mind explaining your issue again? .yml files are not being highlighted correctly right? yes | 19:54:39 |
trueauracoral | so what is the action I need to take to solve this | 19:54:44 |
trueauracoral | yaml-mode seems to work but I wonder if there are other options or something like that | 19:55:04 |
8 May 2022 |
Gavin Freeborn | Ya if you just install the package that should be enough. | 00:42:42 |
trueauracoral | ok | 00:45:48 |
| Borg-mode joined the room. | 02:55:37 |
| dem#3631 changed their profile picture. | 11:13:03 |
| bhanuka#5636 joined the room. | 11:31:28 |
bhanuka#5636 | does anyone one how to get C-v and M-v in emacs to behave more like C-d and C-u in vim? (for scroll up and down) or is there an alternative scroll up down which behaves more like vim C-d and C-u, this is of course without evil mode | 11:31:28 |
thiccbonkus | Redacted or Malformed Event | 14:41:18 |
Gavinok#4195 | (global-set-key [remap scroll-up-command] #'viper-scroll-down)
(global-set-key [remap scroll-down-command] #'viper-scroll-up) | 17:56:50 |
Gavinok#4195 | Luckily emacs actually comes with an existing vi-emulation mode. Just make sure you (require 'viper) | 17:57:33 |
bhanuka#5636 | wow, this is really nice! thanks Gavin Freeborn | 18:04:51 |
Gavinok#4195 | np | 18:11:21 |
13 May 2022 |
| Mr. UNIX joined the room. | 18:37:04 |
14 May 2022 |
| Jackojc#5426 changed their profile picture. | 01:19:19 |
15 May 2022 |
| Gyro (ds) changed their display name from Gyro (ds) to Gyro#6190. | 13:39:53 |
| Gyro (ds) changed their display name from Gyro#6190 to Gyro (ds). | 13:39:59 |
16 May 2022 |
| @idahotokens:matrix.org joined the room. | 11:22:34 |
| davidbe joined the room. | 11:52:23 |
| @idahotokens:matrix.org left the room. | 16:37:51 |
uver | Oh what?? That sounds really nice. I’ve been using these snippets lol:
(defun window-half-height ()
(max 1 (/ (1- (window-height (selected-window))) 2)))
(defun uver-scroll-down-half ()
(interactive)
(uver-deactivate-mark)
(scroll-up (window-half-height)))
(defun uver-scroll-up-half ()
(interactive)
(uver-deactivate-mark)
(scroll-down (window-half-height)))
| 23:28:30 |
Gavinok#4195 | I use
(defun my/scroll-down (arg)
"Move cursor down half a screen ARG times."
(interactive "p")
(let ((dist (/ (window-height) 2)))
(next-line dist)))
(defun my/scroll-up (arg)
"Move cursor up half a screen ARG times."
(interactive "p")
(let ((dist (/ (window-height) 2)))
(previous-line dist)))
(global-set-key [remap scroll-up-command] #'my/scroll-down)
(global-set-key [remap scroll-down-command] #'my/scroll-up)
myself since I prefer that method of scrolling over og vim scrolling. | 23:54:10 |
17 May 2022 |
| dem#3631 changed their profile picture. | 01:02:55 |
uver | Yeah, I tried the viper thing but it doesn’t feel quite right. I modified yours because it’s a bit cleaner | 01:26:55 |
| --nerevar joined the room. | 12:55:09 |
--nerevar | Heya, I cannot seem to get corfu to have completions from in lisp - with sly installed. Running M-x completion-at-point gives me some completions, but corfu does not. Corfu is enabled globally and works in other buffers (ie elisp). Any thoughts? | 12:57:51 |