!QxDLpbzfemZdWAmPyb:matrix.org

LunarVim

854 Members
lunarvim19 Servers

Load older messages


SenderMessageTime
7 Dec 2022
@_discord_1050027083226677289:t2bot.ioEVEREST#9704 joined the room.20:17:03
@_discord_1050027083226677289:t2bot.ioEVEREST#9704Redacted or Malformed Event20:17:04
@sleep1337:matrix.orgsleep joined the room.20:52:30
@sleep1337:matrix.orgsleephow to map CTRL+ALT+char to ALTGR+char for insert mode? essentially i want CTRL+ALT+4 to print "$", just like ALTGR+4 do you need 10 different binds for all the numbers (0-9) or is there an elegant solution?21:39:21
@sleep1337:matrix.orgsleepimage.png
Download image.png
22:10:20
@sleep1337:matrix.orgsleepthe first line should work, BUT lunarvim opens the terminal, so i followed the "unbind default key" section, but it still opens the terminal... even in normal mode, which is set to false. what am i doing wrong?22:12:13
@westrom:matrix.orgwestrom joined the room.22:32:37
@westrom:matrix.orgwestromHey guys, I'm coming from Spacemacs. How do you guys open a terminal from within lvim?22:40:56
@sleep1337:matrix.orgsleep
In reply to @westrom:matrix.org
Hey guys, I'm coming from Spacemacs.
How do you guys open a terminal from within lvim?
ctrl+alt+4. im trying to do the opposite of you lol, i dont want that keybind
22:41:41
@westrom:matrix.orgwestromI see. I'm so used to opening a terminal with SPC-" or SPC-' if I want it in my editor.22:43:02
@sleep1337:matrix.orgsleepthat should be possible. <Leader> is space, so <Leader>- maybe? 22:49:42
@sleep1337:matrix.orgsleepoh i found a shortcut22:53:20
@sleep1337:matrix.orgsleep ctrl+\ 22:53:45
@westrom:matrix.orgwestrom
In reply to @sleep1337:matrix.org
ctrl+\
Ok cool, this seems to open a terminal right in the middle of the window. How might I move it to a side-panel?
23:00:17
@sleep1337:matrix.orgsleepfound out where the keymap is at least23:07:00
@sleep1337:matrix.orgsleepimage.png
Download image.png
23:07:04
@sleep1337:matrix.orgsleep.local/share/lunarvim/lvim/lua/lvim/core23:07:18
@sleep1337:matrix.orgsleepterminal.lua23:07:25
@sleep1337:matrix.orgsleepimage.png
Download image.png
23:08:48
@sleep1337:matrix.orgsleepfound something here. 23:08:51
@westrom:matrix.orgwestromSweet!23:09:03
@westrom:matrix.orgwestrom

Ok, this is good.

lvim.builtin.terminal.active = true
lvim.builtin.terminal.direction = "vertical"
23:10:50
@sleep1337:matrix.orgsleepcool. did <Leader>- work too?23:12:07
@westrom:matrix.orgwestrom I didn't try that. I'm still using C-\. I'll figure out how to add <Leader>" later 23:13:08
@sleep1337:matrix.orgsleepaight. do you know how to disable default lunarvim keymaps? still trying to figure out how to disable ctrl+alt+4 and make it insert "$" instead.23:15:37
@lucas:matrix.lucasf.devLucas changed their display name from lucas to Lucas.23:22:04
@westrom:matrix.orgwestromI guess this doesn't work? https://www.lunarvim.org/docs/configuration/keybindings#remove-a-binding23:22:50
@westrom:matrix.orgwestrom

Config snippet in case anybody wants it.

-- Terminal Stuff
-- I possibly only want it like this when I'm in a Rust project.
lvim.builtin.terminal.active = true
lvim.builtin.terminal.direction = "vertical"
-- I wish I open the terminal to a percentage of the buffer
lvim.builtin.terminal.size = 80
lvim.builtin.terminal.open_mapping = "<Leader>\""
23:41:21
8 Dec 2022
@westrom:matrix.orgwestrom
In reply to @sleep1337:matrix.org
aight. do you know how to disable default lunarvim keymaps? still trying to figure out how to disable ctrl+alt+4 and make it insert "$" instead.
Having trouble testing this as ctrl+alt+4 just switches me to another tty
00:06:09
@westrom:matrix.orgwestromHow do you get LSP to show docs or more info? I'm doing Rust and I'd like to see the type of whatever I'm hovering over.00:12:45

There are no newer messages yet.


Back to Room List