vim-commentary icon indicating copy to clipboard operation
vim-commentary copied to clipboard

Does not work

Open rokokol opened this issue 3 years ago • 1 comments

When I type gcc nothing happens. I have restarted vim, but it does not help

.vimrc:

call plug#begin()
Plug 'pope/vim-sensible'
call plug#end()
call plug#begin()
Plug 'tpope/vim-surround'
call plug#end()
call plug#begin()
Plug 'tpope/vim-commentary'
call plug#end()
call plug#begin()
Plug 'vim-airline/vim-airline'
call plug#end()
set hlsearch
set showcmd
nmap <silent> <C-k>:wincmd k <CR>
nmap <silent> <C-l>:wincmd l <CR>
nmap <silent> <C-h>:wincmd h <CR>
nmap <silent> <C-j>:wincmd j <CR>
map <F2> <Esc>:w<CR>
map <F3> <Esc>:q<CR>
map <F4> <Esc>:wq<CR>
set number
map <silent> <F8> <Esc>:set cursorline <CR>:set cursorcolumn<CR>
set nowrap
set history=1000
 

rokokol avatar Jun 24 '23 13:06 rokokol

Sorry, I had a bad .vimrc I have fixed that: call plug#begin() Plug 'pope/vim-sensible' Plug 'tpope/vim-surround' Plug 'tpope/vim-commentary' Plug 'vim-airline/vim-airline' Plug 'morhetz/gruvbox' call plug#end() set hlsearch set showcmd nmap <silent> <C-k>:wincmd k <CR> nmap <silent> <C-l>:wincmd l <CR> nmap <silent> <C-h>:wincmd h <CR> nmap <silent> <C-j>:wincmd j <CR> map <F2> <Esc>:w<CR> map <F3> <Esc>:q<CR> map <F4> <Esc>:wq<CR> set number map <silent> <F8> <Esc>:set cursorline <CR>:set cursorcolumn<CR> set nowrap set history=1000

rokokol avatar Jun 24 '23 14:06 rokokol