!mOrxkIlHIqXFyatoms:matrix.org

SpaceVim

2888 Members
A modular Vim/Neovim configuration https://spacevim.org/23 Servers

Load older messages


SenderMessageTime
10 Jun 2024
@wsdjeg:mozilla.orgEric Wong
In reply to @_discord_234975212754567170:t2bot.io
sent an image.
Ok, I can reproduce it.
10:17:09
@wsdjeg:mozilla.orgEric Wongfixed, please update spacevim.10:51:10
@wsdjeg:mozilla.orgEric Wongimage.png
Download image.png
10:51:13
@_discord_234975212754567170:t2bot.iomixman68 Yeah it is working 11:22:29
@_discord_234975212754567170:t2bot.iomixman68 set a profile picture.11:22:29
@_discord_234975212754567170:t2bot.iomixman68 Many thanks 11:30:16
11 Jun 2024
@aswin.raja:matrix.orgaswin.raja joined the room.16:09:10
12 Jun 2024
@telegram_76847256:t2bot.ioD V joined the room.21:10:02
@hardy_tom:matrix.orgThomas Hardy joined the room.22:33:25
14 Jun 2024
@artem1313:matrix.org@artem1313:matrix.org joined the room.06:32:57
@artem1313:matrix.org@artem1313:matrix.org left the room.06:33:18
@heirenton:matrix.orgheirenton joined the room.09:03:55
@_discord_1010582762798972980:t2bot.iowakaka6773 joined the room.14:16:43
@emi788:matrix.orgemi joined the room.23:18:42
16 Jun 2024
@vladosix:matrix.org\/£@∆ joined the room.13:07:13
17 Jun 2024
@_discord_758162455938596884:t2bot.iojaosnos4017 joined the room.02:53:06
@_slack_spacevim_U078W7Q4Y01:matrix.orgPatrick Tao joined the room.20:47:33
@_slack_spacevim_U078W7Q4Y01:matrix.orgPatrick Tao changed their display name from _slack_spacevim_U078W7Q4Y01 to Patrick Tao.20:48:46
@_slack_spacevim_U078W7Q4Y01:matrix.orgPatrick Tao set a profile picture.20:48:47
@_slack_spacevim_U078W7Q4Y01:matrix.orgPatrick Tao im trying to add a custom keybind to the leader key and basically following the same idea for adding a keybind to the space bar but im getting a big error. Could anyone help with the proper syntax for function SpaceVim#custom#leader() (edited) [4:23 PM] Patrick Tao
function! myspacevim#before() abort
    call SpaceVim#custom#SPCGroupName(['G'], '+TestGroup')
    call SpaceVim#custom#SPC('nore', ['G', 't'], 'echom 1', 'echomessage 1', 1)
    call SpaceVim#custom#LeaderGroupName(['Z', 'some label')
    call SpaceVim#custom#leader('nore', ['Z','z'], ':vsplit CR ')
endfunction
(edited) Patrick Tao [4:34 PM] the call to SpaceVim#custom#LeaderGroupName is working as expected. That is hitting the leader key (backslash) will pull up the leader menu and i can see [Z] with the label ‘some label’ [4:35 PM] Patrick Tao but the error i get is: Error detected while processing VimEnter Autocommands for “*”..function SpaceVim#autocmds#VimEnter[3].. SNR 91_apply_custom_leader_keybindings[19]..SpaceVim#mapping#def line 21: E730: Using a List as a String (edited) *Patrick Tao* [4:42 PM] i feel like its a syntax issue with the call to SpaceVim#custom#leader() below is snippit from .SpaceVim/autoload/SpaceVim/custome.vim ```" The first parameter sets the type of shortcut key, " which can be `nnoremap` or `nmap`, the second parameter is a list of keys, " and the third parameter is an ex command or key binding, " depending on whether the last parameter is true. " The fourth parameter is a short description of this custom key binding. function! SpaceVim#custom#SPC(m, keys, cmd, desc, is_cmd) abort call add(g:_spacevim_mappings_space_custom, \ [a:m, a:keys, a:cmd, a:desc, a:is_cmd]) endfunction "" " Set the group name of custom SPC key bindings. function! SpaceVim#custom#SPCGroupName(keys, name) abort call add(g:_spacevim_mappings_space_custom_group_name, [a:keys, a:name]) endfunction "" " function for adding custom leader key bindings function! SpaceVim#custom#leader(type, key, value, ...) abort call add(g:_spacevim_mappings_leader_custom, \ [a:type, a:key, a:value] + a:000) endfunction "" " Set the group name of custom Leader key bindings. function! SpaceVim#custom#LeaderGroupName(keys, name) abort call add(g:_spacevim_mappings_leader_custom_group_name, [a:keys, a:name]) endfunction```
20:48:47
@memefi:matrix.orgwar joined the room.21:55:55
18 Jun 2024
@_discord_815855531838406666:t2bot.ionux_r joined the room.15:13:11
@_discord_815855531838406666:t2bot.ionux_r welp! 15:13:28
@_discord_815855531838406666:t2bot.ionux_r enter and tab is not working in neovim after installing spacevim
OS: windows 11
(Windows Terminal)
15:14:39
@_discord_815855531838406666:t2bot.ionux_r but ctrl + enter does make a new line 15:15:55
@modin:modin.iomodin nux_r: I found the same thing. You can change 'autocomplete' layer in the config file. auto_completion_return_key_behavior I set it to "smart" 16:31:25
@modin:modin.iomodin * nux_r: I found the same thing recenty. You can change 'autocomplete' layer in the config file. auto_completion_return_key_behavior I set it to "smart" 16:33:23
@modin:modin.iomodinYou get to the init file with "space f v d"16:35:13
@telegram_6608255640:t2bot.ioЕвгений Корнеев joined the room.18:31:34
19 Jun 2024
@memefi:matrix.orgwar changed their display name from memefi to war.05:27:29

There are no newer messages yet.


Back to Room ListRoom Version: 9