hauleth/sad.vim

Custom Mappings not working?

jwmann opened this issue · 2 comments

I'm using the suggested format for custom mappings but it doesn't seem to do anything.

screen shot 2016-12-10 at 6 45 20 pm

I can confirm the mappings using :map <Leader>c and they do show up.

screen shot 2016-12-10 at 6 48 25 pm

These mappings are actually just a test to see how the plugin is working.

Ideally I would like to fully replace the c command with this, since it is basically a glorified change command with built-in repeatability. I almost never use the repeat command with c the normal way.

Vim version 8.0 with patches 1-52

What you mean by "not working"?

I am using NeoVim:

NVIM 0.1.7
Build type: RelWithDebInfo
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim-20161128-42847-16pale9/neovim-0.1.7/build/config -I/tmp/neovim-20161128-42847-16pale9/neovim-0.1.7/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/usr/include -I/tmp/neovim-20161128-42847-16pale9/neovim-0.1.7/build/src/nvim/auto -I/tmp/neovim-20161128-42847-16pale9/neovim-0.1.7/build/include
Skompilowany przez hauleth@niuniobook

Optional features included (+) or not (-): +acl   +iconv    -jemalloc +tui      
For differences from Vim, see :help vim-differences

       vimrc systemu: "$VIM/sysinit.vim"
   odwet dla $VIM-a: "/usr/local/Cellar/neovim/0.1.7/share/nvim"

Installed via HomeBrew and my mappungs for c:

nmap c <Plug>(sad-change-forward)
xmap c <Plug>(sad-change-forward)

Are working perfectly fine.

Installed via HomeBrew and my mappungs for c:

nmap c <Plug>(sad-change-forward)
xmap c <Plug>(sad-change-forward)
Are working perfectly fine.

Ahh there's the problem.
The mappings you are using are different than the ones listed in the README

Just changed it the ones you are using and they work perfectly.