Re: Why my leader key is not working for y,d,p?

"'Arup Rakshit' via vim_use" <[email protected]>
Newsgroups gmane.editors.vim
Message-ID <SE1P216MB2327CB8B785B0E04D0424B8BFD252@SE1P216MB2327.KORP216.PROD.OUTLOOK.COM>
Hello,

I just tried it. Whenever I press , y, or , p or , d I get beep sound.

Some more information:

➜  ~ vim --version | grep clipboard
-clipboard         +keymap            +printer           +vertsplit
+ex_extra          +mouse_netterm     +syntax            -xterm_clipboard
➜  ~
________________________________
From: [email protected] <[email protected]> on behalf of Salman Halim <[email protected]>
Sent: Friday, November 15, 2024 21:47
To: [email protected] <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Why my leader key is not working for y,d,p?


Try setting the mapleader without the g: prefix.

Salman

On Fri, Nov 15, 2024, 23:17 'Arup Rakshit' via vim_use <[email protected]<mailto:[email protected]>> wrote:
I have some mappings define for "+y, "+p, "+d .. But none of the mappings are working. When I press leader key (,) and then press y or d or p or P, I get beep sound. Can anyone help me why is it not working? Here is my ~/.vimrc content:

 cat ~/.vimrc
call plug#begin()

" List your plugins here
Plug 'elixir-editors/vim-elixir'
Plug 'itchyny/lightline.vim'
Plug 'jaredgorski/spacecamp'

call plug#end()

colorscheme spacecamp

set showcmd
set autowriteall
set laststatus=2
set number
set list
set lcs=trail:.,lead:.

" format elixir files when saving
"augroup filetype_ex
"  autocmd!
"  autocmd BufWritePre *.ex,*.exs execute "!mix format %"
"augroup END

" syntax on
" filetype on
" set clipboard=unnamedplus

let g:mapleader = ","

nnoremap <Leader>w :w<CR>
nnoremap <Leader>q :wq<CR>

vnoremap <Leader>y "+y
vnoremap <Leader>d "+d
nnoremap <Leader>p "+p
nnoremap <Leader>P "+P
vnoremap <Leader>p "+p
vnoremap <Leader>P "+P

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/SE1P216MB232748EA88681D113A27E72EFD252%40SE1P216MB2327.KORP216.PROD.OUTLOOK.COM<https://groups.google.com/d/msgid/vim_use/SE1P216MB232748EA88681D113A27E72EFD252%40SE1P216MB2327.KORP216.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer>.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CANuxnEfWU2n5WGXruWvmKcv8shkxAk%2B7p-W094KJF8Bwv867WQ%40mail.gmail.com<https://groups.google.com/d/msgid/vim_use/CANuxnEfWU2n5WGXruWvmKcv8shkxAk%2B7p-W094KJF8Bwv867WQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_use/SE1P216MB2327CB8B785B0E04D0424B8BFD252%40SE1P216MB2327.KORP216.PROD.OUTLOOK.COM.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.