-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<C-space> not toggling box on line #2
Comments
Hey @thecarlhall glad to hear you like it! That's no good if it's not working. Can you give me a minimally failing snippet I can debug with? |
Some context: microsoft/terminal#2865 I've also remapped to something else and it works fine. |
For context, I'm on Mac using Alacritty w/ tmux and tested with Terminal w/o tmux. Minimal failing snippet:
There's a lot of folks on the internet calling out this keybinding in many places. One fix I've just found from vimwiki was to add this to .vimrc: |
Hmm, @thecarlhall I use Alacritty on Mac w/tmux coincidentally too, I tried on every single character in that string and it worked fine. Any suggestions on what to try? |
Ha! I haven't yet found anything else trapping this key sequence. Adding the nmap above fixed this on 2 machines (macOS 11 & 12). I cleaned out my .vimrc to the below text for testing, but still couldn't get set nocompatible
filetype plugin indent on
call plug#begin('~/.vim/bundle')
Plug 'dewyze/vim-tada'
call plug#end() |
Extra data point: I see the issue in Alacritty, Terminal, and now Kitty. I'm starting to wonder if this is deeper than the terminal emulator, or in a custom setting I can't/haven't found. |
Alright, so the issue is I am using Neovim, but you are talking about vim. I found that vim doesn't have the let g:tada_map_box = '<C-@>` |
If that works for you, I'll see if I can add to the config to detect vim or neovim and set it accordingly. |
Nailed it! You're also correct in that I'm using Vim (8.2) rather than NeoVim. Thanks for helping me nail this down. |
@thecarlhall I think this should fix it, let me know: bcf07ac |
Works great! I removed |
I've tried using
<C-space>
to toggle a checkbox but it doesn't do anything for me. Checking:map
showsn <C-Space> *@:TadaBox<CR>
as the only mapping for ctrl-space. When I run:TadaBox
it works fine. When I add,nmap <silent> <leader>r :TadaBox<CR>
to .vimrc, this works fine. Any suggestions of what else I should test? Love the plugin!The text was updated successfully, but these errors were encountered: