From 9b6d1e3281082ec941d71f115c3995a3b210560e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 20 Oct 2020 21:26:25 +0200 Subject: Fix --- .config/nvim/bindings.vim | 1 + .config/nvim/settings.vim | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to '.config') diff --git a/.config/nvim/bindings.vim b/.config/nvim/bindings.vim index 0165d7a..dbea3af 100644 --- a/.config/nvim/bindings.vim +++ b/.config/nvim/bindings.vim @@ -18,6 +18,7 @@ nnoremap g :G nnoremap d :Vifm nnoremap e :Files nnoremap b :Buffers +nnoremap p :CocList -A --normal yank nnoremap s :w nnoremap w :w:bp:bd # nnoremap x :w:bp:bd # diff --git a/.config/nvim/settings.vim b/.config/nvim/settings.vim index 6e977c6..c04aeeb 100644 --- a/.config/nvim/settings.vim +++ b/.config/nvim/settings.vim @@ -24,5 +24,3 @@ let mapleader="\\" let maplocalleader="\\" " Disables automatic commenting on newline: autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o -" Reopen Startify on close -autocmd BufEnter * if line2byte('.') == -1 && len(tabpagebuflist()) == 1 | Startify | endif -- cgit v1.2.3